Quote:
Originally Posted by cemzafer
I have installed that packages as you mentioned,
but I got the same error.
Something I missed about the QTDIR or something different.
Also what is your QTDIR environment variable value?
|
Well, I hope that by installing libqt, it doesn't touch my environment (if you are talking of export variables defined even out of the makefile).
So you should edit your configure file and look for QTDIR.
A clean config would use pkg-config --libs qt-mt
QTDIR should be /usr/lib . To be more precise the qt libs are /usr/lib, so depending on how the configure script works (edit it and search for when QTDIR is checked or look at ./configure --help to use ./configure --qtdir=/usr/lib), it could be either /usr/lib or lib, in case they check for /usr/$QTDIR
as a general advice:
install apt-file (apt-get install apt-file)
then apt-file list libqt3-mt-dev will give you the lists of files included in this package (even if you don't have this package installed yet. dlocate does the same quicker but for installed one only)
from the list, you find either the .so (dynamic libraries) or the .a (static librairies) and then you have the path.