Skip to content

Qt on BlackBerry and QNX

Qt on BlackBerry and QNX
103 Topics 587 Posts
QtWS25 Last Chance
  • 0 Votes
    4 Posts
    3k Views
    I went back and re-read the notes on building Qt for Blackberry. It does mention that it is targeting Blackberry 10 and not so much the playbook. It also recommends using 4.8.x From what I have found version 4.8.3 is the latest Qt version that you can use if your target is a playbook (version 2.1). Every version higher has some really strange issues (maybe unsolvable at the application level).
  • 0 Votes
    22 Posts
    11k Views
    I submited mine in 21, just checked it's still in draft statuts. Is there any way to see the approval on going process, like in Ovi ?
  • [Solved] Saving settings to a file

    31 Jan 2013, 02:40
    0 Votes
    8 Posts
    4k Views
    read this "link":http://developer.blackberry.com/native/documentation/bb10/com.qnx.doc.native_sdk.devguide/com.qnx.doc.native_sdk.devguide/topic/accessible_folders.html for more info regarding filesystem access permissions in BB10 it is also recommended to use absolute file paths, instead of relative paths
  • ShowEvent not working

    19 Jan 2013, 00:32
    0 Votes
    6 Posts
    7k Views
    Just to add more information on this subject, I notice other widgets, like labels, are updated on the showevent(). Not sure if this behavior could be considered a bug, I always tought that showevent() was suposed to be used in this kind of situation of updating widgets. Anyway it's "fixed" with singleshot()
  • Accessing QML object in C++

    23 Jan 2013, 15:32
    0 Votes
    7 Posts
    4k Views
    Could you explain a little further please Andre?
  • [Solved] Error creating the package

    21 Jan 2013, 17:46
    0 Votes
    4 Posts
    3k Views
    I got it working like you said. @joao@joao-EasyNote-TM86:~/qtBlackBerryProjects/MathGraphicaOpenGL-build-Blackberry-Release$ ./../../bbndk/host_10_0_9_404/linux/x86/usr/bin/blackberry-nativepackager -package MathGraphica.bar bar-descriptor.xml@ Thank you very much.
  • Object similar to phonon to play sound

    17 Jan 2013, 10:13
    0 Votes
    12 Posts
    5k Views
    Is there any player in example / demo in que Qt that you can try porting out of the box to bb10 to see if it plays sound ? I was having a OpenGL problem in BB10, I solve it by using the cube example and comparing with my code.
  • 0 Votes
    54 Posts
    34k Views
    I ported redak libre text editor to qnx/bb10 cascades, I wanted to test it on playbook how can this be done ? app is under review at bbw
  • Qt Porting Guide now LIVE !!!

    18 Jan 2013, 19:46
    0 Votes
    2 Posts
    2k Views
  • Qt Widget app in BB10

    22 Nov 2012, 16:17
    0 Votes
    9 Posts
    6k Views
    Thank very much, I'll try this.
  • 0 Votes
    3 Posts
    4k Views
    Hm, thats interesting. Have to test that on a device as soon as I got one :)
  • 0 Votes
    6 Posts
    4k Views
    Well, it works on Windows.
  • 0 Votes
    2 Posts
    2k Views
    this is a known issue: https://bugreports.qt-project.org/browse/QTBUG-28890
  • 0 Votes
    13 Posts
    7k Views
    Uninstall QtCreator, re-install. Delete all kits/qt versions and re-add again. Now works, Solved :)
  • 0 Votes
    4 Posts
    4k Views
    I will not reject possibility that simulator has some problems getting correct DPI while showing text when its font size is given in points. How size of your rectangle is calculated? Is it calculated in pixels or points? If in points where from have you got points?
  • 0 Votes
    5 Posts
    3k Views
    If you're using Symbian Qt Components, this could help you: http://kodira.de/2012/12/qt-components-on-blackberry-10/
  • BB Dev Alpha B and QtCreator problem

    28 Dec 2012, 09:00
    0 Votes
    12 Posts
    5k Views
    OK. I have successfully launched app from QtCreator. Previously I had used QtCreator with simulator and that ended with following error: Info: Sending request: Launch Info: Action: Launch Info: Launching lt.sandbox.todoteriaplus.testDev_doteriaplus50989c0_... Error: Failed to create application process: Exec format error Launching application failed This error indicated that I must change sysroot to armle-v7 and remove Qt mkspec I have used in this dialog (screenshot shamelessly taken from http://qt-project.org/wiki/Qt-Creator-with-BlackBerry-10 ): !https://raw.github.com/blackberry/Qt/codedrop_20120109/screenshots/BB10KitConfiguration.png! After that everything just went through. My advice for you would be to run sample app http://qt-project.org/wiki/Qt-Creator-with-BlackBerry-10#9502a243840645c318c087ca6b94d95d . It is quite simple and should you give basic idea how to run simple Qml app. If you still have questions - ask. I will be happy to help.
  • 0 Votes
    4 Posts
    3k Views
    OK. Your code looks good. What does not work for you? Do you get any error message? The only thing that you must be aware about: each import creates independent space (or at least that's my impression). It is better to use properties for keeping global state.
  • 0 Votes
    5 Posts
    4k Views
    Well I have the same question. I think due to this I am unable to build any BB 10 Qt project and getting below error. Anybody knows how to solve this issue? cant develop becuz of this. Build Error: Symbolic links not supported: disabling -L. Compile Output: 00:17:02: Running steps for project untitled25... 00:17:03: Starting: "G:\bbndk\host_10_0_9_404\win32\x86\usr\bin\qmake.exe" C:\QtSDK\Workspace\untitled25\untitled25.pro -r -spec default "CONFIG+=debug" "CONFIG+=declarative_debug" 00:17:03: The process "G:\bbndk\host_10_0_9_404\win32\x86\usr\bin\qmake.exe" exited normally. 00:17:03: Starting: "G:\bbndk\host_10_0_9_404\win32\x86\usr\bin\make.exe" make: Symbolic links not supported: disabling -L. qcc -Vgcc_ntoarmv7le -c -Wno-psabi -lang-c++ -fstack-protector-strong -mcpu=cortex-a9 -g -Wall -W -D_REENTRANT -DQT_NO_IMPORT_QT47_QML -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/default -I../untitled25 -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include/qt4/QtCore -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include/qt4/QtGui -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include/qt4/QtDeclarative -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include/qt4 -I../untitled25/qmlapplicationviewer -I. -I../untitled25 -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include/freetype2 -I. -o qmlapplicationviewer.o ../untitled25/qmlapplicationviewer/qmlapplicationviewer.cpp qcc -Vgcc_ntoarmv7le -c -Wno-psabi -lang-c++ -fstack-protector-strong -mcpu=cortex-a9 -g -Wall -W -D_REENTRANT -DQT_NO_IMPORT_QT47_QML -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/default -I../untitled25 -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include/qt4/QtCore -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include/qt4/QtGui -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include/qt4/QtDeclarative -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include/qt4 -I../untitled25/qmlapplicationviewer -I. -I../untitled25 -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include/freetype2 -I. -o main.o ../untitled25/main.cpp G:/bbndk/host_10_0_9_404/win32/x86/usr/bin/moc.exe -DQT_NO_IMPORT_QT47_QML -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/default -I../untitled25 -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include/qt4/QtCore -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include/qt4/QtGui -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include/qt4/QtDeclarative -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include/qt4 -I../untitled25/qmlapplicationviewer -I. -I../untitled25 -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include/freetype2 -I. -D__QNXNTO__ ../untitled25/qmlapplicationviewer/qmlapplicationviewer.h -o moc_qmlapplicationviewer.cpp qcc -Vgcc_ntoarmv7le -c -Wno-psabi -lang-c++ -fstack-protector-strong -mcpu=cortex-a9 -g -Wall -W -D_REENTRANT -DQT_NO_IMPORT_QT47_QML -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/default -I../untitled25 -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include/qt4/QtCore -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include/qt4/QtGui -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include/qt4/QtDeclarative -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include/qt4 -I../untitled25/qmlapplicationviewer -I. -I../untitled25 -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include -Ig:/bbndk/target_10_0_9_1673/qnx6/usr/include/freetype2 -I. -o moc_qmlapplicationviewer.o moc_qmlapplicationviewer.cpp qcc -Vgcc_ntoarmv7le -lang-c++ -Wl,-rpath-link,G:/bbndk/target_10_0_9_1673/qnx6/armle-v7/lib -Wl,-rpath-link,G:/bbndk/target_10_0_9_1673/qnx6/armle-v7/usr/lib -o untitled25 qmlapplicationviewer.o main.o moc_qmlapplicationviewer.o -LG:/bbndk/target_10_0_9_1673/qnx6/armle-v7/lib -LG:/bbndk/target_10_0_9_1673/qnx6/armle-v7/usr/lib -LG:/bbndk/target_10_0_9_1673/qnx6/armle-v7/usr/lib/qt4/lib -LG:/bbndk/target_10_0_9_1673/qnx6/x86/usr/lib/qt4/lib -lQtDeclarative -lQtScript -lQtSvg -lQtSql -lsqlite3 -lz -lQtXmlPatterns -lQtNetwork -lsocket -lQtGui -lQtCore -lm -lbps 00:17:16: The process "G:\bbndk\host_10_0_9_404\win32\x86\usr\bin\make.exe" exited normally.
  • FTS support in SQLite engine for BB10

    9 Nov 2012, 11:46
    0 Votes
    5 Posts
    3k Views
    Thanks for all the responses looks like FTS is there built in based on all the responses I received here and on BB cascades support forum