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

Bob Tanner tanner at real-time.com
Fri Aug 24 01:06:28 BST 2007


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

The post below states it's a QScintilla issue.

http://www.mail-archive.com/eric@riverbankcomputing.com/msg00204.html

The author of that post states, 'from PyQt4 import Qsci', if that fails,
contact QScintilla project.

$ python
Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04)
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt4 import Qsci
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError:
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



More information about the QScintilla mailing list