[PyKDE] problem importing qt
Markus Jais
markusjais at yahoo.de
Thu Dec 5 06:44:00 GMT 2002
On Thu, 2002-12-05 at 02:51, Ulrich Berning wrote:
> Markus Jais wrote:
>
> >hello
> >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.
> >
> >
> >>>>import qt
> >>>>
> >>>>
> >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
> >ImportError: /usr/local/lib/python2.2/site-packages/libqtcmodule.so:
> >undefined symbol: metaObject__C16QAssistantClient
> >
> >
> >
> >any idea where something went wrong ?
> >
> >markus
> >
> >
> >
> >__________________________________________________________________
> >
> >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
> >http://mats.gmd.de/mailman/listinfo/pykde
> >
> >
> >
> Hi,
>
> I had the same problen. I guess you have configured Qt-3.1.0 with a
> prefix and
> 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.
thanks for the advice.
I am no QT wizard or C++ wizard. where do I find these unstripped
archive libraries ??
after calling make ??
in which directory ??
I copied QT 3.1.0 to
/usr/local
and unpacked it there and called
./configure and then
make install
sorry, if this is a stupid question.
markus
>
> Ulli
>
>
__________________________________________________________________
Gesendet von Yahoo! Mail - http://mail.yahoo.de
Weihnachts-Einkäufe ohne Stress! http://shopping.yahoo.de
More information about the PyQt
mailing list