BlackBerry Qt Gui Application



  • Hello, I have an app for Symbian (originally). Now works in Android (thanks to Qt Necessitas). My idea is port the app to BlackBerry 10.

    I installed the latest versions necessary:

    • installer-bbndk-bb10_0_09-win32-1673-201212072306-201212091625
    • BlackBerry10Simulator-Installer-BB10_0_10-261-Win-201301271908
    • VMware-player-5.0.2-1031769
    • qt-creator-windows-opensource-2.7.0

    Entire environment works, but when I want to create an app that uses QWidget, the app don't run on BlackBerry 10 Simulator.
    What I do is:
    (Qt Creator)
    File->New File or Proyect->BlackBerry Qt Gui Application.
    Then install the app on BlackBerry 10 Simulator:
    (Qt Creator)
    Build->run qmake
    Build->Rebuild all
    Build->Deploy all

    The app is installed without problem (I can see the icon of the app), but the app don't run.
    If I change the type of project:
    (Qt Creator)
    File->New File or Proyect->BlackBerry Cascades Application...
    the app runs perfectly.

    I need to change anything else in the project?

    Thanks for your help.

    Note: I do not speak English, sorry!



  • Hi ,

    maybe this could help ..

    "Porting Qt applications":http://developer.blackberry.com/native/documentation/bb10/porting_qt_apps.html



  • Hi. I saw the link, does not work for me (many errors after build). My idea is create a new project in Qt Creator for Blackberry 10, then copy-paste the source code.I did that to porting Symbian->Android.



  • I ported my symbian app to BB10 out of the box. I didnt create a new projetc I ported my existent one an it did work. What error do you have ?



  • Hi,

    I guess you have already set the NDK Path and generated the two BlackBerry 10 Kits ( one for Device and the other for Simulator)
    http://qt-project.org/wiki/Setting-up-Qt-Creator-for-BlackBerry-and-QNXhttp://qt-project.org/wiki/Setting-up-Qt-Creator-for-BlackBerry-and-QNX

    It seems like you built your app for device(armvle7) and you try to run it on the Simulator (x86). Make sure you have cleaned the projects and when building and deploying make sure you set the right kit (Simulator).



  • I opened the original project on qt creator 2.7.0, after build: errors, missing many libraries, then delete the functions (functions using libraries lost).
    Finally the proyect compiled-deployed but not run.
    Maybe I need to install any library in blackberry Emulator



  • Did you set your NDK path and generated BB 10 Kits? When you select a BB10 a bar-descriptor should be added to your projects. If you set correclty your environemnt you should'nt have any errors message.



  • Coldpeace, I did what you said (cleaned the projects, set the right kit). It works (only with new proyects). My proyect (symbian) don't works. Now I will copy-paste the source code, look for the error. Thank you very much to all.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.