Summary: | python binding doesn't build if multiple QT versions (eg. qt qt-mt) are available | ||
---|---|---|---|
Product: | [Developer tools] bindings | Reporter: | Valentine Sinitsyn <e_val> |
Component: | general | Assignee: | kde-bindings |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eric, sputnick |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Makefile patch |
Description
Valentine Sinitsyn
2004-10-18 07:58:40 UTC
Sorry, the correct error message is as follows: These Qt libraries were found: qt qt-mt. Use the -l argument to explicitly specify which you want to use. On Monday 18 October 2004 06:58, Valentine Sinitsyn wrote:
> I'm using Slackware Linux 10.0 with KDE 3.2.3 installed. It seems that the
> problem occurs because /usr/lib/qt/lib contain two files: libqt-mt.so
> (multithreaded version) and libqt.so, which is just the symlink to
> libqt-mt.so and SIP ask the user to specify one of them to use.
Well this is a bug in Slackware, not kdebindings! Have you tried reporting it
to the Slackware maintainers? There are no Qt configuration options to create
the symlink and KDE expects to always use -lqt-mt.
-- Richard
Yes, I was suspecting something like this, but unfortunately Slackware is not the only distro to have this symlink. At least one another distribution I use (it is ASPLinux9, based on Red Hat Linux 9) also has this symlink. If KDE expects to always use -lqt-mt, why not say so in kdebindings-3.3.1/python/Makefile.am:24 (by just adding "-l qt-mt" to the list of configure.py parameters as I did)? This will suppress this error message in "non-standard" distributions. Created attachment 8048 [details]
Makefile patch
This is the proposed patch for this problem. Applies as 'cd kdebindings-3.3.1
&& patch -p0 <kdebindings-3.3.1.patch'. It will say your sip/config.py to use
qt-mt on any system, regardless standard and non-standard symlinks this system
has
How is this a Slackware bug (or any distro's) if kdebindings doesn't follow the specified LDFLAGS and/or LIBS? *** Bug 92022 has been marked as a duplicate of this bug. *** The Makefile.am in the kdebindings python directory now explicitly requests qt-mt. Will that break systems that are trying to use qtopia or qt-embedded? BTW, kdebindings now compiles successfully with python, thanks. :) |