problems compiling with Qt

John Thompson JohnThompson at new.rr.com
Sat Apr 3 02:20:36 UTC 2004


On Wed, 31 Mar 2004 14:59:38 +0200
Tarjei Knapstad <tarjei.knapstad at 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
> >   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.

qt-devel is installed:

[john at starfleet john]$ rpm -qa |grep qt-
qt-designer-3.1.2-14
qt-3.1.2-14
qt-devel-3.1.2-14

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

It's there:

[john at starfleet john]$ grep qt /etc/ld.so.conf
/usr/lib/qt-3.1/lib
[john at starfleet john]$ ls -l /usr/lib/qt-3.1
total 32
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?

-- 

-John (JohnThompson at new.rr.com)





More information about the fedora-list mailing list