Qt not found on creating project

Pascal A. Niklaus Pascal.Niklaus at unibas.ch
Thu Aug 16 05:19:35 BST 2001


 >I has exactly same problem with KDevelop 1.2 (also on RH7.0).  I really 
hope to
 >get an solution to
 >the problem.
 >
 >Shouldn't the KDevelop setup set the QT library path properly? Could you 
go into
 >some details?
 >
 >Many thanks.
 >
 >Yan

I think it is really that the path is not correctly set...

Unfortunately, I have no system at hand right now because I'll recompile 
KDE2.2 over night ;-). But as far as I remember this message in KDevelop 
1.4 was associated either with the path not being correctly set in the 
dialog, or with $QTDIR and $KDEDIR not being correctly set.

In bash you need something like (put that in the login script)

export KDEDIR=/usr/local/kde2
export QTDIR=/usr/local/qt

If you don't compile yourself, it will probably be /opt/kde2 or something 
like that.

In KDevelop, you need to set the path to the libraries. This could be 
/usr/local/qt or /usr/local/qt/lib, I can't remember... use the 'locate' 
command to find the library and try both. In your case, it won't be local 
but maybe /usr/lib/qt

The documentation path for KDE is the one where you have the sources for 
the KDE libs; it is certainly not simply /usr as mentioned in a previous 
mail. In my case, it is /home/pascal/KDE22/kdelibs. I don't know where it 
is with red hat 7. You'll probably need the corresponding rpm installed, 
something like kde-devel.rpm and qt-devel.rpm. But I don't run Red Hat and 
usually compile KDE from source, so I'm really guessing.

Anyway, I strongly recommend you update qt and KDE, it will pay back 
quickly in terms of productivity!

Pascal


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list