<div>I just built QScintilla on a Mac running 10.5.2 for the first time, and the linking for libqscintilla2.dylib didn't come out right. The dylib was put in /Library/Frameworks, but Qsci.so was looking for it in /. After creating a symlink to it in /, it worked:</div>
<div><br class="webkit-block-placeholder"></div><div>/ # python -c 'from PyQt4 import Qsci'</div><div>Traceback (most recent call last):</div><div> File "<string>", line 1, in <module></div>
<div>ImportError: dlopen(/Library/Python/2.5/site-packages/PyQt4/Qsci.so, 2): Library not loaded: /libqscintilla2.dylib</div><div> Referenced from: /Library/Python/2.5/site-packages/PyQt4/Qsci.so</div><div> Reason: image not found</div>
<div>/ # ln -s /Library/Frameworks/libqscintilla2.dylib </div><div>/ # python -c 'from PyQt4 import Qsci'</div><div><br class="webkit-block-placeholder"></div><div>I compiled it by clicking the big build button in Xcode after opening the qscintilla2.xcodeproj that qmake created.<br>
</div><div><br class="webkit-block-placeholder"></div><div>Josh</div>