Cannot start app in simulator when linking with mobility API
-
Hi,
I am developing an application using Nokia SDK 1.0 on Windows 7 platform.
I passed all the challenges, until now when I added mobility libraries to my application:CONFIG += mobility
MOBILITY = systeminfoNow when I try to start application ( debug or release ) in Symbian simulator I it gives me the following error:
".._build\debug\testa.exe exited with code -1073741515" and I can not stop the debugger until I restart the creator. The debug button stays grayed as when debugging is in progress even when I try to stop it. When I close the QtCreator I receive a message that a debugging session is in progress and option to terminate it.
Same issue when I try to launch in release mode.
If I remove mobility APIs from the pro file simulator is working fine as it should.
On device debugging is working fine with mobility libraries so is clear that the simulator cannot find the mobility APIs. I observed that it creates an empty folder on C: named QtSystemInfo with an empty directory inside.
[Update]
In "Creator->Options->Qt4->Qt Versions->config list":- When I hover mouse on the "Simulator for MinGW4.4 ( Nokia Qt SDK )" item form the "config list" it displays a bunch of settings for the selected configuration.
- QT_INSTALL_LIBS has value: "C:/NokiaQtSDK/Simulator/Qt/mingw/libs"
- I found that Mobility libraries are located in "C:\NokiaQtSDK\Simulator\QtMobility\mingw\lib".
- I see this as a possible issue but I do not know how to add the mobility library path to the QT_INSTALL_LIBS configuration variable.
[Update]
In "C:\NokiaQtSDK\Simulator\QtMobility\mingw\mobility.prf.template" file I found this line "simulator: qtAddLibrary(QtMobilitySimulator)" which I think is responsible with the above issue.Thank you!
-
I tried with the new SDK but same issue: "During startup program exited with code 0x0000135"
This error confirm missing libraries. I think I need a special setup to include the mobility libraries in the emulator. But the info on this is weak so I did not found how to do it.