[Qt-creator] QSystemInfo Error

Niels Weber niels.2.weber at nokia.com
Thu Aug 19 14:21:23 CEST 2010


Am Donnerstag, den 19.08.2010, 14:02 +0200 schrieb ext dhk:
> When I run qmake the Makefile is created and then make has the problem.
> 
> ~/NokiaQtSDK/Dev/QuickStart $ make
> g++ -c -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB
> -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
> -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore
> -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4
> -I. -I. -o main.o main.cpp
> main.cpp:5:29: error: QSystemInfo: No such file or directory
> main.cpp:9: error: expected constructor, destructor, or type conversion
> before ‘int’
> make: *** [main.o] Error 1

You are not using the Qt from the Nokia Qt SDK but the Qt that is
provided by your OS. That Qt doesn't contain Mobility. You need to
select a different Qt version for your project.

Niels




More information about the Qt-creator-old mailing list