Re: problems compiling with Qt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 31 Mar 2004 14:59:38 +0200
Tarjei Knapstad <tarjei.knapstad@xxxxxxxxxxxxx> 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@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@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@starfleet john]$ grep qt /etc/ld.so.conf
/usr/lib/qt-3.1/lib
[john@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@xxxxxxxxxx)



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux