qt - QtCreator with BlackBerry Z10 -
i installed blackberry ndk including ide , downloaded sdk. now, set qt-creator 2.8.1, 2.8.0, 2.6.2... in every version there problem build settings. appropriate try 2.6.2 , manually setting bb10 integration.
bb10 ndk version: 10.1 target 10.1.0.4633 armv7le-v7
creator started bbnk-env.bat called before.
2.6.2:
compiler set gcc custom-arm-linux-generic-elf-32bit proposed https://developer.blackberry.com/native/documentation/core/qt_porting_tools.html (i have second compiler set unix instead of linux)
qt-version provided blackberry ndk, qt 4.8.5 within %bbndk%\host_10_1_0_238\win32\x86\usr\bin\qmake.exe.
devices: bbz10 connected , accessible. qtcreator connects , can use debugtoken.
now problem within kits: created kit bbz10, having bbz10 device, bbndk\target_10_1_0_4633\qnx6\armle-v7 sysroot, compiler (set linux), gdb ntoarm-gdb.exe, qt-version configured 4.8.5. can try any mkspec gives me error (translated german)
no mkspec found given qt version
für diese qt version wurde keine mkspec gefunden think mkspecs set compile unix-target, while 4.5qt supplied sdk requires linux target (where in reality target qnx)
somehow can compile version, first not sure if creates correct executable, more cannot deploy executable, since qt-creator not create bar-descriptor.xml file...
2.8.1:
using same setup in 2.6 (after having 2.6 qt version configured) able same error. using "new" configuration system under "blackberry" page in settings cannot correctly set ndk path. tell me (translated german)
following problems encountered during bb10 configuration:
no qt-version found
no gcc compiler found
no gdb debugger bb10 comiler found
no gdb debugger bb10 simulator found
has configured bb10 ndk use qt-creator (2.6/2.8.1) , encountered similar trouble? how can solve issue?
solved: after 24 hours trying, installing, reinstalling, editing, crying... reinstalled complete ndk , qtcreator 2.8 , edited bbndk-env_10_1_0_4633.bat.
i removed every variable batch file , set corresponding values, e.g. replace every %base_dir% acutal base-dir (i.e. d:\bbndk). conveniance usage craeted batchfile, calling bbndk-env batch , starting qt-creator.
set compiler, qt-version, kits in creator-settings described in https://developer.blackberry.com/native/documentation/core/qt_porting_tools.html
keep mkspecs line under kits-tab empty
thank you
Comments
Post a Comment