QT Libraries Not Found
Eugene Jansen
E.JANSEN at ee.surrey.ac.uk
Thu Nov 4 08:53:38 GMT 1999
I have to agree with Owen, this seems to be quite a problem for many people
starting out - not a good thing. I hope this will be resolved in future
when EVERYTHING has been moved to qt-2.x.
But for the time being we have to solve this particular problem on a per
user basis. It seems as if a different solution works for different people
although ./configure breaks in the same way i.e. qt libs not found.
It will be very helpful if people could send more details on where the
./configure script fails - the best thing to do is to include the bottom
part of your config.log file. What could be VERY informative is the last
compiler options before the script broke e.g. -L/usr/lib/qt/lib will tell
you that it expects your qt libs to reside in /usr/lib/qt/lib and the same
goes for -I where its looking for your qt header files.
With that information in hand you can confirm if indeed YOUR idea and
./configure's idea of the lib's and includes location are the same. The
next step is to make sure you have the *correct* qt libs at that location -
qt-1.4x
If all this is ok you can start looking into other possibilities like
upgrade your compiler etc.
Regards,
Eugene
> -----Original Message-----
> From: OS [SMTP:owensavill at compuserve.com]
> Sent: Wednesday, November 03, 1999 9:07 PM
> To: kdevelop at barney.cs.uni-potsdam.de
> Subject: Re: QT Libraries Not Found
>
> Hmmmm ! This old chestnut !
>
> I had / periodically get this problem. The problem is that the people at
> 'k',
> who have kevelop working ok, don't seem to to beleive that this problem is
> real
> ;)
>
> You can keep trying QTDIR for ever and it will not result in kdevelop
> finding
> qt !
>
> Some time ago I replied to someone called Dmitriy with following :
>
> I also had big problems getting pased the qt configure stage !!
>
> I can confirm that you need qt 1.42 (or 1.44 etc) NOT qt 2.
>
> However this is not the only problem !
>
> Kdevelop seems very flakey when it comes to having certain libraries
> installed.
> I received numerous e-mail replies relating to setting the QTDIR
> environment
> parameter (export QTDIR=/usr/include/qt) and other similar environment
> parameters (LD_LIBRARY_PATH=/usr/lib/qt/lib and
> CPLUS_INCLUDE_PATH=/usr/include/qt). None of these ideas worked !
>
> Eventually Mandrake released a new version of gcc (which included a file
> called
> gcc-cpp which replaced cpp) and a new version of libstdc++ which I
> installed.
>
> Kdevelop suddenly started working, and I was STILL using the same qt !!!!
> -
> therefore qt may have ABSOLUTELY NOTHING to do with the problem you are
> experiencing ! Please persist in your search, but think laterally.
>
> I hope this works for you as it did for me, I never heard back from
> Dmitriy so
> maybe it worked for him as well ???
>
> Regards,
> Owen
>
> On Wed, 03 Nov 1999, you wrote:
> > Thanks for your suggestion!
> >
> > But QTDIR is set for me. (Not RedHat, Slackware 4.)
> > Do you know what the script is checking for?
> > I try to read my way through the configure
> > script but it is very complicated. I can't even
> > find the lines that check for QT...
> >
> > Now if I'd know how the script determines
> > if QT is present, the problem is halfway to
> > being solved.
> >
> > >
> > > --
> > > email 1: delta_x at linuxCoding.de
> > > email 2: delta_x at gmx.net
> > > home : HTTP://WWW.LinuxCoding.DE
> > >
> > > this problem got many of users with red hat etc. !
> > >
> > > you must define the systemenv $QTDIR !
> > > type
> > > set <enter>
> > > if you dont see any line with QTDIR than you found your problem !
More information about the KDevelop
mailing list