[QScintilla] examples-Qt4 on OSX 10.4 link errors: multiple symbol .objc_class_name_QNS

PPK-Webprogramm ciz at ciz.ch
Fri Aug 24 08:41:15 BST 2007

Bob Tanner ha scritto:
> PPK-Webprogramm wrote:
>>  The Original   QScintilla source code can not build on mac  if  QT4 is
>> [-static -release] on MAC OSX  Tiger or ++  you must rewrite QT4.pro !...
>> OR you take a ready rewrite QScintilla staticlib from
> If I create QScintilla staticlib and I try to install eric4, I get the
> following error:
> $ sudo python ./install.py
> Password:
> Sorry, please install QScintilla2 and
> it's PyQt4 wrapper.
> Error:
> dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyQt4/Qsci.so,
> 2): Library not loaded: libqscintilla2.2.dylib
>   Referenced from:
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyQt4/Qsci.so
>   Reason: image not found



I dont know eri4 ... i suppose to build this Ide You ned dyn lib 

TARGET = qscintilla2
CONFIG += qt warn_off release dll thread
INCLUDEPATH = . ./Qsci ../include ../src

on dir 
 QScintilla-1.72-gpl-2-snapshot-20070318 <http://www.google.com/codesearch?hl=it&q=show:I3yUi0U57j0:dqLH454ShD4&sa=N&ct=rdp&cs_p=http://ftp2.tw.freebsd.org/pub/FreeBSD/distfiles/QScintilla-1.72-gpl-2-snapshot-20070318.tar.gz&cs_f=QScintilla-1.72-gpl-2-snapshot-20070318>/Qt4 <http://www.google.com/codesearch?hl=it&q=show:Lb32y_duyDw:VD5uiNevS2s&sa=N&ct=rdp&cs_p=http://ftp2.tw.freebsd.org/pub/FreeBSD/distfiles/QScintilla-1.72-gpl-2-snapshot-20070318.tar.gz&cs_f=QScintilla-1.72-gpl-2-snapshot-20070318/Qt4>/
you find more as one pro file ....

**qscintilla.pro  make a ** dyn lib  not !static

To enable the build of dynamic lib you can use XCode on mac
or rebuild qt4 not static. 
I use http://www.barebones.com/products/textwrangler/ on mac as editor to write my C++ file...

More information about the QScintilla mailing list