[Qt-creator] g++ and madde

"Antonio Cano Gómez" antonio.cano.gomez at ovi.com
Thu Aug 26 21:08:13 CEST 2010


Hello I was receiving an error while using Nokia SDK on linux so I decided to do it my self with mad:

After a llittle of research I found that the next instruction:

mad g++ -c -pipe -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wall -W -D_REENTRANT \
 -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024 -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED \
-I/home/opt/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/share/qt4/mkspecs/linux-g++-maemo5 
-I../soccer2010 -I/home/opt/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtCore 
-I/home/opt/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtGui 
-I/home/opt/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtSql 
-I/home/opt/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include -I/usr/include -I. -I. -I../soccer2010 -I. -o main.o ../soccer2010/main.cpp

Makes the error:

../soccer2010/main.cpp:1:30: error: QtGui/QApplication: No such file or directory
../soccer2010/main.cpp:2:17: error: QtSql: No such file or directory

I cheched the directories
/home/opt/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtGui 
and
/home/opt/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/QtSql 

and both are correct.

Please could some one help me.

Thanks in advance!

--------------------------------------------------------------
Ovi Mail: Making email access easy
http://mail.ovi.com





More information about the Qt-creator-old mailing list