Reply
Thread Tools
Posts: 16 | Thanked: 3 times | Joined on May 2009 @ Orléans, France
#1
Hi,

I'm trying to run the sensor_explorer example from http://qt.gitorious.org/qt-mobility/...ensor_explorer using Nokia Qt SDK, on the Qt Simulator.

It compiles fine and is launched correctly but it cannot detect any sensors. In fact that's exactly the same behavior with all the sensors example: no sensor is detected.

Are the sensors supported in the Qt Simulator? I guess so since you can simulate the changes of the accelerometers values, orientation values, etc... So how do we activate them?

Has anybody managed to use QtMobility APIs to connect to the sensors (the accelerometer more specifically) in the Qt simulator?

Thanks
 
Posts: 9 | Thanked: 1 time | Joined on Mar 2010 @ Germany
#2
Here is somebody, who wrote an Tutorial, how to use the mobility-api (in this case the accelerometers) to control a opgengl-es-3d-model (:

http://www.mobileqt.de/wiki/daten_de...kt_verknuepfen


Unfortunately, it's german, but if you have any problems, I'll translate it (or pieces of it). (I'm from Germany)


Here is a video of his program in action:

http://www.youtube.com/watch?v=uJpw0yeHJl8


But I can not answer, if the sensors are simulated in the n900-simulater of the new qt-sdk. Sry.


nearlyNERD
 
Posts: 16 | Thanked: 3 times | Joined on May 2009 @ Orléans, France
#3
Thanks.
I have indeed found that but what I would like is to run that kind of app/demo/example on the simulator.
I'm pretty sure that it will work on the N900 (once PR1.2 is available), but right now, I only have the simulator available to develop...
I've asked the same question on forum nokia but I guess nobody, or nearly, tested that part...
 
Posts: 16 | Thanked: 3 times | Joined on May 2009 @ Orléans, France
#4
To answer myself: it seems to work when I run the SDK on Linux...
Maybe I should reinstall the Windows SDK and check again...
 
Posts: 12 | Thanked: 12 times | Joined on Apr 2010 @ Berlin
#5
@dart45

It seems like a bug slipped into the final release for the sensors part. There are troubles loading the simulator backend, which is currently worked on. For reference see http://bugreports.qt.nokia.com/browse/QTSIM-17
 
Posts: 16 | Thanked: 3 times | Joined on May 2009 @ Orléans, France
#6
ok... too bad... Will have to wait for beta2 I guess...
Thanks for your reply anyway.
 
Posts: 12 | Thanked: 12 times | Joined on Apr 2010 @ Berlin
#7
@dart45:
You won't need to wait for the next release, but rather until the next update cycle. This is one of the advantages of the Nokia Qt SDK to have shorter turn-around cycles between bug-fixes and availability.
 
Reply


 
Forum Jump


All times are GMT. The time now is 05:10.