including Qt libs

W. Tasin tasin at
Fri Jun 16 13:06:21 BST 2000

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 following
> > message:
> >
> > configure: error: Qt (>= 1.42 and < 2.0) (libraries) not found. Please
> > check your installation!

What does the config.log in your project´s directory say?
There you should find the command which causes configure to break.
Is it a missing -L flag??

Looking at the of a qt-project created by KDevelop
qt_incdirs="$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 $
test -n "$QTDIR" && qt_incdirs="$QTDIR/include $QTDIR $qt_incdirs"
qt_incdirs="$ac_qt_includes $qt_incdirs"

AC_FIND_FILE($kde_qt_header, $qt_incdirs, qt_incdir)

qt_libdirs="$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="$QTDIR/lib $QTDIR $qt_libdirs"
if test ! "$ac_qt_libraries" = "NO"; then

for dir in $qt_libdirs; do
  try="ls -1 $dir/libqt.*"
  if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else
echo "tried
 $dir" >&AC_FD_CC ; fi


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
so this would be found first.

If this wouldn´t be the problem I need further informations, like

> >
> > 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´s kde_datadir subdir (e.g.

> > And I'm using Debian 2.1
> >
> > Thanks,
> >
> >       Mario Lemos


  The KDevelop project: tasin at -
oohhh sveglia.... il mondo e' ammalato, ma x colpa di chi.........
:-------W. Tasin, FB
<Key-Fingerprint: 1610 835F 0080 32F4 6140  6CF7 A7D0 44CD 7961A645>

More information about the KDevelop mailing list