[Qt-creator] g++ and madde
Christian Kandeler
christian.kandeler at nokia.com
Fri Aug 27 09:30:44 CEST 2010
On 08/26/2010 09:08 PM, ext Antonio Cano Gómez wrote:
> Hello I was receiving an error while using Nokia SDK on linuQtx 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
Does this command come from mad make?
> 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
Does this also occur when you compile from Qt Creator?
> 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
What does your main.cpp look like (especially the #include directives)?
Christian
More information about the Qt-creator-old
mailing list