Reply
Thread Tools
Posts: 45 | Thanked: 15 times | Joined on Nov 2009 @ Barcelona, Spain
#1
Hi

I'm coding an application for N900 that uses the Maemo5 Qt extensions, e.g. QMaemo5ValueButton.

On the new Nokia SDK I can compile it and run it on the device, but I'm having trouble with the simulator. When I try to compile it for the simulator I get an error message saying that does not understand the .pro clause that include those extensions: QT += maemo5

>Running build steps for project weight...
Starting: "c:/nokiaqtsdk/simulator/qt/mingw/bin/qmake.exe" C:/Users/carlos/Documents/home-git-weight/weight.pro -r -spec win32-g++
Project MESSAGE: Warning: unknown QT: maemo5
Is possible to use those expensions in the simulator?

best regards

Carlos
 
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#2
Originally Posted by cnavarro View Post
Hi

I'm coding an application for N900 that uses the Maemo5 Qt extensions, e.g. QMaemo5ValueButton.

On the new Nokia SDK I can compile it and run it on the device, but I'm having trouble with the simulator. When I try to compile it for the simulator I get an error message saying that does not understand the .pro clause that include those extensions: QT += maemo5

The simulator compiles the sources natively, so no support for maemo5 classes. The focus is more on simulating the mobility API's and so on. For testing please use the real device or alternatively the emulator.

Daniel
 

The Following User Says Thank You to danielwilms For This Useful Post:
Posts: 45 | Thanked: 15 times | Joined on Nov 2009 @ Barcelona, Spain
#3
thanks Daniel

what emulator do you refer to? The one in the linux based Maemo SDK?

Carlos
 
Posts: 432 | Thanked: 645 times | Joined on Mar 2009
#4
Originally Posted by cnavarro View Post
thanks Daniel

what emulator do you refer to? The one in the linux based Maemo SDK?

Carlos
No, there is an emulator, which is part of MADDE, which is included in the Nokia Qt SDK. You should be able to start it in the down-left corner of the SDK or alternatively out of the MADDE terminal.

After you have started the qemu runtime, configure it in the SDK:

1) tools -> options -> projects -> maemo device runtime

2) choose maemo emulator

3) set in the projects the runtime you have just created

4) start the application as you would do on a remote device.

Hope that helps. Let me know if you have problems. But in my opinion the easiest way is still the device itself. If you have that option I would recommend that.

Daniel
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:53.