[Kde-bindings] [Bug 91573] New: python binding doesn't build if multiple QT versions (eg. qt qt-mt) are available
Valentine Sinitsyn
e_val at inbox.ru
Mon Oct 18 05:58:42 UTC 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=91573
Summary: python binding doesn't build if multiple QT versions
(eg. qt qt-mt) are available
Product: bindings
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kde-bindings mail kde org
ReportedBy: e_val inbox ru
Version: (using KDE KDE 3.3.1)
Installed from: Compiled From Sources
Compiler: gcc-3.3.4 Standard GCC compiler from Slackware Linux 0.0
OS: Linux
When I tried to compile kdebindings-3.3.1, I received the following error message from Python (SIP generator):
Error: qt and qt-mt libraries are both available. Choose one by -l switch
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. Unfortunately, I have found no ways to do this except hacking into generated Makefile in python directory and putting "configure.py -lqt-mt" there. I expected LIBS variable to do this job, but it's not the case.
Steps to reproduce:
1. Grab & unpack kdebindings-3.3.1
2. cd kdebindings-3.3.1; ./configure --prefix=/whatever/you/want
3. make
Expected results:
All bindings are built smoothly
Actual results:
Compiling SIP fails with abovementionaed message
More information about the Kde-bindings
mailing list