LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   QT not showing up as installed (https://www.linuxquestions.org/questions/linux-general-1/qt-not-showing-up-as-installed-276257/)

jordban 01-10-2005 04:59 PM

QT not showing up as installed
 
Hello,
I have QT installed version 3.3 and its stored in /usr/lib/qt-3.3/
I am trying to compile a new kernel and i need to use the xconfig so i compile it by typing
make xconfig
but i get the following error

*
* Unable to find the QT installation. Please make sure that the
* QT development package is correctly installed and the QTDIR
* environment variable is set to the correct location.
*
make[1]: *** [scripts/kconfig/.tmp_qtcheck] Error 1
make: *** [xconfig] Error 2


so i set the QTDIR variable
export QTDIR=/usr/lib/qt-3.3/

but i still get the same error when i try and run
make xconfig

Anyone know what im doing wrong?

Thanks.
Jordan

ps. i noticed it said the QT development package, so i installed that too and it still doesnt work

reddazz 01-10-2005 05:36 PM

You need to install the development package as well, it should be named "qt-devel".

jordban 01-10-2005 07:44 PM

Re: QT not showing up as installed
 
Quote:

Originally posted by jordban
ps. i noticed it said the QT development package, so i installed that too and it still doesnt work
Thanks for the help though!

Dark_Helmet 01-10-2005 10:55 PM

One possibility:
Did you remember to run (as root) ldconfig after installing the libraries?

Although, I pulled open the kernel's makefile, and that seems unlikely to be the answer. You should probably do it anyway as a safeguard. The kernel is checking for a specific file when it prints that message. Specifically, it's looking for qconfig.h. It looks for (in this order):

Code:

$QTDIR/include/qconfig.h
/usr/share/qt*/include/qconfig.h
/usr/lib/qt*/include/qconfig.h

You need to verify that file exists. If it doesn't, then qt-devel is not properly installed, or at least, not in one of the paths the kernel is looking for. Also, since your QTDIR is simply repeating one of the default search paths, you don't need to use it (unless the qconfig.h is in a different spot). If you do need to set QTDIR, it would be easier and cleaner to do something like this:
make xconfig QTDIR=/usr/lib/qt-3.3

jordban 01-14-2005 07:30 AM

alright thanks for the help, i got it to work by adding the exports to .bashrc


All times are GMT -5. The time now is 08:29 AM.