[PyKDE] problem importing qt
berning at teuto.de
Thu Dec 5 02:47:01 GMT 2002
Markus Jais wrote:
>I have successfully (at least I think so) installed the latest
>snapshot (29th of November).
>I also have the latest sip snapshot, Qt 3.1.0, python 2.2.2
>on RedHat 7.3
>now my error:
>Python 2.2.2 (#1, Nov 22 2002, 23:34:23)
>[GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-110)] on linux2
>Type "help", "copyright", "credits" or "license" for more information.
>Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/usr/local/lib/python2.2/site-packages/qt.py", line 39, in ?
> import libqtc
>undefined symbol: metaObject__C16QAssistantClient
>any idea where something went wrong ?
>Gesendet von Yahoo! Mail - http://mail.yahoo.de
>Weihnachts-Einkäufe ohne Stress! http://shopping.yahoo.de
>PyKDE mailing list PyKDE at mats.gmd.de
I had the same problen. I guess you have configured Qt-3.1.0 with a
called 'make install' after building.
Installing Qt this way strips not only the executables and shared
libraries, it also strips
the archive libraries (qmake is very buggy on install targets, it also
strips html files and
other types of files).
This results in the unresolved symbol when linking.
The solution is to copy the (unstripped) archive libraries from the
build directory to the
target directory by hand after installing.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt