problems compiling with Qt

Tarjei Knapstad tarjei.knapstad at predichem.com
Wed Mar 31 12:59:38 UTC 2004


On Thu, 2004-03-25 at 17:46, John Thompson wrote:
> For some reason I am unable to compile anything that uses Qt.  It always fails thus:
> 
> 
>   checking for Qt... configure: error: Qt (>= Qt 3.0.3) (library qt-mt)
>   not 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!
> 
> Now, libqt-mt *does* exist:
> 
>   [root at starfleet root]# ls /usr/lib/qt3/lib/libqt-mt*
>   /usr/lib/qt3/lib/libqt-mt.so    /usr/lib/qt3/lib/libqt-mt.so.3.1
>   /usr/lib/qt3/lib/libqt-mt.so.0  /usr/lib/qt3/lib/libqt-mt.so.3.1.2
>   /usr/lib/qt3/lib/libqt-mt.so.3
> 
> So what's the problem?
> 

Uhm, did you install qt-devel? The test app can't compile (and thus not
link with qt-mt) if you don't have the Qt headers.

And /usr/lib/qt-3.3/lib should be in you /etc/ld.so.conf file allready
if you installed things correctly.

Basically, if you want to compile your own stuff, make sure you have the
various -develop packages installed as well.

--
Tarjei





More information about the users mailing list