From kdevelop Fri Jun 16 12:06:21 2000 From: "W. Tasin" Date: Fri, 16 Jun 2000 12:06:21 +0000 To: kdevelop Subject: Re: including Qt libs X-MARC-Message: https://marc.info/?l=kdevelop&m=96115741711257 OS wrote: > = > ...and yet ANOTHER "cannot find Qt library" problem !!!!!!!! > = > This is getting tedious (and I don't mean me going on about it !) > = > On Thu, 15 Jun 2000, you wrote: > > I have instaled kdevelop 1.2, but when I try to create a new project = that > > requires tthe Qt libraries (eg: a normal Qt project), I get the follo= wing > > message: > > > > configure: error: Qt (>=3D 1.42 and < 2.0) (libraries) not found. Ple= ase > > check your installation! What does the config.log in your project=B4s directory say? There you should find the command which causes configure to break. Is it a missing -L flag?? Looking at the acinclude.m4.in of a qt-project created by KDevelop shows: -------------------- qt_incdirs=3D"$QTINC /usr/lib/qt/include /usr/local/qt/include /usr/include/qt /us r/include /usr/lib/qt2/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt $ x_includes" test -n "$QTDIR" && qt_incdirs=3D"$QTDIR/include $QTDIR $qt_incdirs" qt_incdirs=3D"$ac_qt_includes $qt_incdirs" AC_FIND_FILE($kde_qt_header, $qt_incdirs, qt_incdir) ac_qt_includes=3D"$qt_incdir" qt_libdirs=3D"$QTLIB /usr/lib/qt/lib /usr/X11R6/lib /usr/lib /usr/local/qt/lib /us r/lib/qt /usr/lib/qt2/lib $x_libraries" test -n "$QTDIR" && qt_libdirs=3D"$QTDIR/lib $QTDIR $qt_libdirs" if test ! "$ac_qt_libraries" =3D "NO"; then test=3DNONE qt_libdir=3DNONE for dir in $qt_libdirs; do try=3D"ls -1 $dir/libqt.*" if test -n "`$try 2> /dev/null`"; then qt_libdir=3D$dir; break; else echo "tried $dir" >&AC_FD_CC ; fi done ac_qt_libraries=3D"$qt_libdir" -------------------- So the libraries should be searched also inside /usr/local/qt/lib (without any $QTDIR).... but if you have qt-2-lib in either $QTDIR/lib or $QTDIR or $QTLIB or /usr/lib/qt/lib or /usr/X11R6/lib or /usr/lib = so this would be found first. If this wouldn=B4t be the problem I need further informations, like config.log. = > > > > I have the Qt-lib qt-1.44 installed in /usr/local/qt, but what is the= > > command to inform kdevelop where he can find the libs?! > > > > kdk is in /usr/local/kdk-1.2 > > kdevelop is in /usr/local/kdk-1.2/kdevelop Hmmm what do you mean with... kdk is in /usr/local/kdk-1.2?? If you install the applications of KDK these are installed into kde_bindir (e.g. /usr/kde/bin) directory, all project-templates of KDevelop are in a application=B4s kde_datadir subdir (e.g. /usr/kde/share/apps/kdevelop/templates)? > > And I'm using Debian 2.1 > > > > Thanks, > > > > Mario Lemos Ciao Walter -- The KDevelop project: tasin@kdevelop.de - http://www.kdevelop.org -- oohhh sveglia.... il mondo e' ammalato, ma x colpa di chi......... (Zucchero) :-------W. Tasin, FB 04,FHM-------------------PGP-KeyID:0x7961A645----------: