On Wed, 31 Mar 2004 14:59:38 +0200
Tarjei Knapstad <tarjei.knapstad(a)predichem.com> wrote:
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
> Now, libqt-mt *does* exist:
> [root@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
> So what's the problem?
Uhm, did you install qt-devel? The test app can't compile (and
not link with qt-mt) if you don't have the Qt headers.
qt-devel is installed:
[john@starfleet john]$ rpm -qa |grep qt-
And /usr/lib/qt-3.3/lib should be in you /etc/ld.so.conf file
if you installed things correctly.
[john@starfleet john]$ grep qt /etc/ld.so.conf
[john@starfleet john]$ ls -l /usr/lib/qt-3.1
drwxr-xr-x 2 root root 4096 Feb 23 14:52 bin
lrwxrwxrwx 1 root root 30 Feb 23 14:52 doc ->
../../share/doc/qt-devel-3.1.2drwxr-xr-x 3 root root 4096 Feb 18 16:54 etc
drwxr-xr-x 3 root root 8192 Feb 23 14:52 include
drwxr-xr-x 2 root root 4096 Mar 25 10:43 lib
drwxr-sr-x 53 root root 4096 Feb 23 14:52 mkspecs
drwxr-sr-x 4 root root 4096 Feb 23 14:36 plugins
drwxr-xr-x 2 root root 4096 Feb 23 14:52 translations
Basically, if you want to compile your own stuff, make sure you have
the various -develop packages installed as well.
Ok. It all seems to be there, but it still doesn't work. What now?