07-17-2012 06:13 AM
I am meet the trouble in use the simulator in QT Creator, when I create a new QNX device in QT, I choice "Simulator" but "Physical device", and I generate the key. When I deploy the build to simulator, the console output notice as follow:
Error: Failed to create application process: Exec format error
and I can find the logo in the simulator, if I click the logo, I crash and notice
"unable to start *** due to error 8"
some guys said that is because I send the ARM version to simulator, is that right? How can I setting the QT to generate the x86 version?
Thanks for the feedback!
07-18-2012 11:53 AM
Are you using NDK2/playbook or BB10?
I use Momentics so I don't have a direct answer for you.
confirms the interpretation of the error.
discusses how to set the target.
There are many threads on Qt Creator and Qt applications. If you find specifically how to do this, please post a reply with how to do it, because this has been asked before.
If you are still stuck, please reply and hopefully someone who uses this environment can point us in the right direction!
07-18-2012 11:06 PM
Thanks for your reply, my question is the same as the first thread, and I read the thread 2, it show how to set the device target, I know that and I done this before, but my problem is about how to set the simulator.
Do you have any idea?
And I find that they talk about QT 4.8.1, my QT version is 4.8.0, is it the difference?
07-20-2012 03:31 PM
I don't use raw Qt or Qt Creator, but I expect that connecting to the simulator should parallel connecting to the device.
Does anyone have the exact steps?
01-13-2014 11:26 AM - edited 01-13-2014 11:27 AM
Using Qt Creator 3
Choose "Projects" from the left action bar.
There you should have a "Kit" for the simulator. If you use an actual device you should have a -separate- one for that too.
You may need to add the one for simulator via "Add Kit".
Qt 4.8.5 for BlackBerry Simulator - target_10_2_0_1155
with qt mkspec set to blackberry-x86-qcc (for the simulator target)
Further down on the left side of Qt Creator is a "run" or "debug" tool button with your projects name on it.
Here you also want to make sure the correct target is selected (namely simulator in your case).
Then the build should make the x86 target for simulator (as opposed to armv7le for a physical device), and run/debug/deploy should try to run on simulator (which should previously have running (from the main menu: "tools" - "options" - "devices" "add" if simulator isnt already there)