09-04-2013 03:21 AM - edited 09-04-2013 04:07 AM
I installed BlackBerry NDK including IDE and downloaded the SDK. Now i already set up Qt-Creator 2.8.1, 2.8.0, 2.6.2... In every version there is another problem with the build settings. The most progress was with 2.6.2 and manually setting up the BB10 integration.
BB10 NDK Version: 10.1 for Target 10.1.0.4633 armv7le-v7
Creator is always started with bbnk-env.bat called before.
Compiler set to GCC with custom-arm-linux-generic-elf-32bit as proposed by https://developer.blackberry.com/native/documentat
QT-Version provided by Blackberry NDK, Qt 4.8.5 within BBNDK\host_10_1_0_238\win32\x86\usr\bin\qmake.exe.
Devices: BBZ10 is connected and accessible. QTCreator successfully connects and can use the debugToken.
Now the problem is within the Kits: Created a kit for BBZ10, having the bbZ10 Device, bbndk\target_10_1_0_4633\qnx6\armle-v7 as sysroot, compiler (set for linux), gdb to ntoarm-gdb.exe, QT-Version to configured 4.8.5. I can now try any mkspec it always gives me the error (translated from german)
No mkspec found for given QT Version
Für diese QT Version wurde keine mkspec gefunden I think the mkspecs are set to compile to unix-target, while the 4.5qt supplied with the sdk requires to be linux target (where in reality target is QNX)
Somehow i can compile with this version, but first i am not sure if this creates a correct executable, even more i cannot deploy the executable, since QT-Creator does not create the bar-descriptor.xml file...
Using the same setup as in 2.6 (after having 2.6 QT Version configured) i am able to get to the same error. Using the "new" configuration system under "BlackBerry" page in settings i cannot correctly set up NDK Path. Will always tell me (translated from german)
Following problems were encountered during BB10 configuration:
No QT-Version found
No GCC compiler found
No GDB Debugger for BB10 Comiler found
No GDB Debugger for BB10 Simulator found
Has anyone successfully configured bb10 ndk to use with qt-creator (2.6/2.8.1) and encountered similar trouble? How can i solve this issue?
As an alternative solution, how can i use a QT-App developed for Android/iOS in QtCreator to be used in QNX Momentics IDE?
Solved! Go to Solution.
09-04-2013 04:06 AM - edited 09-04-2013 04:17 AM
After 24 hours trying, installing, reinstalling, editing, crying... I reinstalled complete NDK and QtCreator 2.8 and edited bbndk-env_10_1_0_4633.bat.
I removed every Variable from batch file and set it to corresponding values, e.g. replace every %BASE_DIR% with your acutal base-dir (i.e. D:\bbndk).
For conveniance usage i craeted another batchfile, calling the bbndk-env batch and starting qt-creator.
Set Compiler, Qt-Version, Kits in Creator-Settings as described in https://developer.blackberry.com/native/documentat
Keep mkspecs line under Kits-tab empty
09-06-2013 07:21 PM
I'm having the exact same problems but I'm on a Mac OS X 10.8.4 (Mountain Lion) and I'm using the just releasead QT 5.1.1 with Qt Creator 2.8.1. I'm trying to use the latest Native SDK 10.2 Gold
I followed your instructions and the links but I get the similar errors. Once Qt Creators starts I get:
Could not read qmake configuration file /Applications/Momentics.app/target_10_2_0_1155/qnx
And the ABI settings of the Compiler (qcc) aways reset. They never remain on custom-arm-generic-elf-32bit.
Can anybody help?