Voor mn C++ applicatie maak ik gebruik van QT. Zodra ik een bestaand programma probeer te configureren dmv ./configure krijg ik onderstaande melding.
Een locate naar qglobal.h geeft aan dat deze staat in:
/usr/include/qt3/qglobal.h
/usr/local/Trolltech/Qt-4.2.1/include/Qt/qglobal.h
/usr/local/Trolltech/Qt-4.2.1/include/QtCore/qglobal.h
Maar toch kan de configureer file hem niet vinden. Heeft iemand een idee hoe dit op te lossen is.
code:
1
2
3
4
5
6
7
8
9
10
11
12
| ./configure No NVIDIA OpenGL driver found. Using regular Makefile Creating Makefiles... Creating regular Makefile Testing libraries & tools ... qttest.cpp:1:21: error: qglobal.h: No such file or directory qttest.cpp: In function ‘int main(int, char**)’: qttest.cpp:3: error: ‘QT_VERSION_STR’ was not declared in this scope qttest.cpp:4: error: ‘QT_VERSION’ was not declared in this scope ./configure: 93: a.out: not found Please upgrade your Qt installation exit: 93: Illegal number: -1 |
Een locate naar qglobal.h geeft aan dat deze staat in:
/usr/include/qt3/qglobal.h
/usr/local/Trolltech/Qt-4.2.1/include/Qt/qglobal.h
/usr/local/Trolltech/Qt-4.2.1/include/QtCore/qglobal.h
Maar toch kan de configureer file hem niet vinden. Heeft iemand een idee hoe dit op te lossen is.