[kde-solaris] qt on solaris
Gerhard Franke
gerhard.franke at mni.fh-giessen.de
Wed Nov 23 08:20:23 CET 2005
李先波 schrieb:
> hi,thanks to Lars Tunkrans <lars.tunkrans at bredband.net> ,Stefan Teleman,Sergio and Narendra Kumar.S.S.
> First i try to use gcc to replace cc in .profile,but still failed, maybe to modify ./configure can do .
> I download sunstduio11 and I comfiled qt 3.3.4 successfully, and this is my profile setting:
> PATH=$PATH:/opt/csw/bin:/opt/csw/kde-gcc/bin:/opt/csw/kde-gcc/include:/opt/csw/kde-gcc/lib:/opt/csw/gcc3/bin:/usr/ccs/bin:/usr/ucb/
> export PATH
> QTDIR=/opt/csw/qt3.4.4/qt-x11-free-3.3.4
^ typo?
> PATH=$QTDIR/bin:$PATH
> MANPATH=$QTDIR/doc/man:$MANPATH
> LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
> export QTDIR PATH MANPATH LD_LIBRARY_PATH
[...]
> # ./configure
[...]
> checking for kde-config... /opt/csw/kde-gcc/bin/kde-config
> checking where to install... /opt/csw/kde-gcc (as returned by kde-config)
> checking for style of include used by make... GNU
> checking for gcc... gcc
[...]
> checking for g++... g++
[...] ^^^
> checking for Qt... configure: error: Qt (>= Qt 3.2 and < 4.0) (library qt-mt) no t found. Please check your installation!
> For more details about this problem, look at the end of config.log.
> Make sure that you have compiled Qt with thread support!
> what's the matter?how can i compile qt with thread support?
If you have built QT with SunStudio CC you also have to build all
of the KDE-apps with SunStudio CC.
This is because the C++ ABI of GNU g++ is different from that of
SunStudio CC.
To build a QT-library with thread support you have to add -thread to the
list of options for configure.
Gerhard
More information about the kde-solaris
mailing list