Bug 92022 - Problems with multiple installed Qt libraries (qt and qt-mt)
Summary: Problems with multiple installed Qt libraries (qt and qt-mt)
Status: RESOLVED DUPLICATE of bug 91573
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-24 19:05 UTC by Manuel Nickschas
Modified: 2004-11-10 18:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Nickschas 2004-10-24 19:05:31 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc (GCC) 3.4.2  (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1, pie-8.7.6.5) 
OS:                Linux

On my Linux system, there are symbolic links from libqt to libqt-mt, in order to make older problems work that don't know about qt-mt. This causes problems when I try to build kdebindings:

Making all in python
make[2]: Entering directory `/usr/src/kdecvs/build/kdebindings/python'
cd sip && export QTDIR=/usr/qt/3/ && /usr/bin/python configure.py -b /usr/kde/newcvs/bin -d /usr/lib/python2.3/site-packages
-e `echo -I/usr/include/python2.3 | sed s/-I//` -v /usr/kde/newcvs/share/sip/
Error: These Qt libraries were found: qt qt-mt. Use the -l argument to
explicitly specify which you want to use.
This is SIP 4.0.1 for Python 2.3.4 on linux2.
make[2]: *** [sipdone] Error 1
make[2]: Leaving directory `/usr/src/kdecvs/build/kdebindings/python'

Now I can work around that by changing the kdebindings/python/Makefile to include the option -lqt-mt in the following line:

sipdone:
        cd sip && export QTDIR=${qt_dir} && /usr/bin/python configure.py -b ${exec_prefix}/bin -d ${site_packages} -e ${pytho
n_inc_dir} -v ${sip_dir}

But this manual intervention breaks automatic build systems such as Gentoo's portage or kdecvs-build.

Would there be a way to automate this, or fix the configuration system such that it will recognize libqt and libqt-mt are the same files, or maybe just prefer the threaded version anyway if both are found?
Comment 1 Manuel Nickschas 2004-10-24 19:08:37 UTC
I'm sorry that went to kdevelop instead of kdebindings. For some reasons bugzilla did not seem to know kdebindings, and I chose python support instead (since it was the only choice) without noticing that that implied kdevelop.

Maybe somebody can reassign that to the appropriate devel guys? 

Thanks.
Comment 2 Eric Sandall 2004-11-10 18:11:57 UTC
This is the same as http://bugs.kde.org/show_bug.cgi?id=91573.
Comment 3 Amilcar do Carmo Lucas 2004-11-10 18:18:12 UTC

*** This bug has been marked as a duplicate of 91573 ***