Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
11-30-2012 09:11 AM
I have installed Qt Creator 2.6 and then BB10 NDK. Then I congiured everything according to:
When I build and deploy to the simulator. An icon appears in the simulator but the app doesn't run. All I get is:
Error: Failed to create application process: Exec format error
Am I doing something wrong? These are my settings:
I have a .bat file to start Qt Creator 2.6 on Windows, which contains:
set QNX_TARGET=C:/bbndk/target_10_0_9_1101/qnx6 set QNX_HOST=C:/bbndk/host_10_0_9_284/win32/x86 set QNX_CONFIGURATION=C:\Users\Hristo\AppData\Local\Re
search In Motion\BlackBerry Native SDK set MAKEFLAGS=-I%QNX_TARGET%/usr/include set PATH=%QNX_HOST%\usr\bin;%QNX_CONFIGURATION%\bin;C: \bbndk\ide\win32\x86\eclipse\jre\bin;%PATH% set PYTHONPATH= set QDE=C:\bbndk\ide\win32\x86 REM set CPUVARDIR=armle-v7 set CPUVARDIR=x86 C:\Qt\qtcreator-2.6.0\bin\qtcreator.exe
Then I have created a compiler
BB10 QCC (x86) C:\bbndk\host_10_0_9_284\win32\x86\usr\bin\qcc.exe ABI: custom - x86 - linux - generic - elf - 32bit
Qt version seem to be properly set as:
Qt 4.8.4 (System) qmake location: C:\bbndk\host_10_0_9_284\win32\x86\usr\bin\qmake.e
xe BlackBerry Native SDK: c:\bbndk Qt version 4.8.4 for BlackBerry ARMle-v7 Helpers: None available ---- Name: Qt 4.8.4 (System) ABI: x86-linux-generic-elf-32bit Source: C:\bbndk mkspec: default qmake: C:\bbndk\host_10_0_9_284\win32\x86\usr\bin\qmake.e xe Version: 4.8.4 QMAKE_VERSION 2.01a QT_HOST_BINS C:\bbndk\host_10_0_9_284\win32\x86\usr\bin QT_HOST_DATA C:\bbndk\target_10_0_9_1101\qnx6\usr\share\qt4 QT_HOST_PREFIX C:\bbndk QT_INSTALL_BINS C:\bbndk\host_10_0_9_284\win32\x86\usr\bin QT_INSTALL_CONFIGURATION C:\bbndk QT_INSTALL_DATA C:\bbndk\target_10_0_9_1101\qnx6\usr\share\qt4 QT_INSTALL_DEMOS C:\bbndk QT_INSTALL_DOCS C:\bbndk\doc QT_INSTALL_EXAMPLES C:\bbndk QT_INSTALL_HEADERS C:\bbndk\target_10_0_9_1101\qnx6\usr\include\qt4 QT_INSTALL_IMPORTS C:\bbndk\target_10_0_9_1101\qnx6\x86\usr\lib\qt4\i mports QT_INSTALL_LIBS C:\bbndk\target_10_0_9_1101\qnx6\x86\usr\lib\qt4\l ib QT_INSTALL_PLUGINS C:\bbndk\target_10_0_9_1101\qnx6\x86\usr\lib\qt4\p lugins QT_INSTALL_PREFIX C:\bbndk QT_INSTALL_TRANSLATIONS C:\bbndk\translations QT_VERSION 4.8.4
Then I have a kit
Name: BB10 Simulator Device type: BlackBerry Device Device: BlackBerry 10 Simulator Sysroot: C:\bbndk\target_10_0_9_1101\qnx6\x86 Compiler: BB10 QCC (x86) Debugger: GDB Engine using "C:\bbndk\host_10_0_9_284\win32\x86\usr\bin\ntox86
-gdb.exe" Qt version: Qt 4.8.4 (System) Qt mkspec:
And I also have a BlackBerry Device as Simulator.
12-11-2012 10:55 AM - edited 12-11-2012 02:57 PM
to Qt mkspec...
Yeah, finally it works... sortof. Although it displays the warning sign next to the Kit with error message: Mkspec not found for Qt version which may eventually prevent the BB10 templates from showing up in the Qt Creator. And
QMAKE_CXXFLAGS += -Wc,-std=c++0x
causes compilation errors.
Also the debugger behaves erraticly, it keeps on crashing and crashing.... Does your debugger work? I guess I should be using ntox86-gdb.exe
Thank you so much