[maemo-developers] problems compiling with madde

From: rahul.nimbalkar at nokia.com rahul.nimbalkar at nokia.com
Date: Sun Jul 18 03:20:07 EEST 2010
Hi,

I guess its just the qmake problem. I have used the SDK and its compiling fine with Madde.

I would suggest (if haven't done already) to clean and do qmake when you change the targets or rebuild project when target is changed. 
As far as you are using Qt objects Madde has to and it does compile.

Hope that helps.

Regards,

Rahul

-----Original Message-----
From: maemo-developers-bounces at maemo.org [mailto:maemo-developers-bounces at maemo.org] On Behalf Of ext acano at dsic.upv.es
Sent: Saturday, July 17, 2010 12:19 PM
To: maemo-developers at maemo.org
Subject: problems compiling with madde

Hi,

I am now working with Nokia SDK 1.0. And when trying to create an application. It works fine when compiling as a Desktop application buy when I try to compile for Maemo I have problems. After looking for the exact problem I found that madde does not compile good the next command.

toni:/home/maemo/proyectos/soccer/20100717/soccer2010-build-maemo # 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
../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 In file included from ../soccer2010/main.cpp:11:
../soccer2010/mainwindow.h:4:23: error: QMainWindow: No such file or directory
../soccer2010/mainwindow.h:5:17: error: QtGui: No such file or directory
../soccer2010/mainwindow.h:6:25: error: QStateMachine: No such file or directory

I checked it but I think that all is fine there.

Please, someone is able to see something wrong there?

Thanks,

A. Cano

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

_______________________________________________
maemo-developers mailing list
maemo-developers at maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers
More information about the maemo-developers mailing list