PDA

View Full Version : how to install QT on Ubuntu?



waxwings
2nd July 2009, 15:28
Hallo,

i've been trying to install QT4.5.2 on Ubuntu9.04. after input ./configure, i got the error message


usr/local/qt/include/QtCore/../../src/corelib/global/qglobal.h:62:28: error: QtCore/qconfig.h: No such file or directory
make: *** [project.o] Error 1

has anyone an idea where the problem is? thanks.

wysota
2nd July 2009, 17:37
What exactly did you do (step by step)? It seems the errors come from compilation of a project of yours and not Qt.

lyuts
3rd July 2009, 10:34
I would guess that the configure script couldn't detect the makespec. Did you set QMAKESPEC env variable? It should be "linux-g++".