[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Qt cannot be found



Hello!

I get, after installing qt3-dev, the following message when trying to
compile a kde package: checking for Qt... configure: error: Qt (>= Qt
2.2.2) (headers and libraries) not found. Please check your
installation!  For more details about this problem, look at the end of
config.log. The interesting part of config.log should be this:

configure:5302: checking for Qt
configure: 5364: /usr/local/qt/include//qstyle.h
configure: 5364: /usr/lib/qt2/include/qstyle.h
configure: 5364: /usr/lib/qt2/qstyle.h
configure: 5364: /usr/lib/qt/include/qstyle.h
configure: 5364: /usr/lib/qt/qstyle.h
configure: 5364: /usr/local/qt/include/qstyle.h
configure: 5364: /usr/include/qt/qstyle.h
configure: 5364: /usr/include/qstyle.h
configure: 5364: /usr/X11R6/include/X11/qt/qstyle.h
configure: 5364: /usr/X11R6/include/qt/qstyle.h
configure: 5364: /usr/X11R6/include/qt2/qstyle.h
configure: 5364: /usr/X11R6/include/qstyle.h
configure:5463: rm -rf SunWS_cache; c++ -o conftest -O2 -fno-exceptions
-fno-check-new -INO -I/usr/X11R6/include   -L/usr/local/qt//lib
-L/usr/X11R6/lib  conftest.C  -lqt -lpng -lz -lm -ljpeg  -lXext -lX11
-lSM -lICE  -lresolv 1>&5
conftest.C:2:21: qglobal.h: No such file or directory
conftest.C:3:26: qapplication.h: No such file or directory
conftest.C:4:20: qevent.h: No such file or directory
conftest.C:5:21: qstring.h: No such file or directory
conftest.C:6:20: qstyle.h: No such file or directory
conftest.C:7:23: qiconview.h: No such file or directory
conftest.C:9:2: #error 1
conftest.C: In function `int main()':
conftest.C:13: `QStringList' undeclared (first use this function)
conftest.C:13: (Each undeclared identifier is reported only once for each 
   function it appears in.)
conftest.C:13: `t' undeclared (first use this function)
conftest.C:13: syntax error before `(' token
conftest.C:14: `QIconView' undeclared (first use this function)
conftest.C:15: `iv' undeclared (first use this function)
conftest.C:16: `QString' undeclared (first use this function)
conftest.C:16: syntax error before `;' token
conftest.C:17: `s' undeclared (first use this function)
conftest.C:18: `QEvent' undeclared (first use this function)
conftest.C:18: syntax error before `::' token
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qevent.h>
#include <qstring.h>
#include <qstyle.h>
#include <qiconview.h>
#if ! (QT_VERSION >= 222)
#error 1
#endif

I also tried auto-apt run ./configure (which removed the
newer qt packages for replacement with the older ones) but even that
didn't succeed.

Thanks in advance,
Moritz
-- 
please send mail to momo.beller(AT)t-online(DOT)de



Reply to: