[SOLVED] BB10 official support for Qt 5.x



  • Coming back, since I have seen Qt 4.x runtime within firmware, I was thinking of some delays on Qt 5.x

    But right now swoz told me about the ability to bundle runtime with app (so publishing on BB10 is possible), I feel good since it is still possible to work on BB10 using the new Qt 5.x



  • I'm glad I could help.



  • I wanted to add one more thing that for testing you need not to bundle Qt libs with app. using Qt Creator 3.1 beta it got too easy.
    it will copy all your libs, plugins, to /accounts/devuser folder so in bar-descriptor give the path and enjoy. http://qt-project.org/wiki/Qt-Creator-with-BlackBerry-10 may help you



  • Thanks but my question was mainly to know if it was possible to publish a Qt 5.x app on BB store



  • I'm trying to configure the Qt 5.x package under QtCreator...it's very difficult...I have tried on 3.0.1 and 3.1 beta, but nothing.
    I'am using "install new target" facilities and even it tells me installation was successfull it doesn't configure nothing!
    I am trying to install manually, but I got big problems on path of qmake.exe and similar....
    How Do I achieve this?



  • I have downloaded bb sdk 10.2 gold and QtCreator 3.01 sees the right configuration; as I replaced the original directories with overlay ones, QtCretor has not recognized the previous conf, and all was cancelled.
    Thus...?



  • It is worrying that you write you "replaced the original directories with overlay ones". You have to copy the overlay content into the original folders, and not replace them.

    Moreover, QtCreator 3.0.x is will not recognize the additional content provided by the overlay as long the NDK is not deactivated and activated again. If 10.2 Gold is the only NDK you have, you should download and install one more version of the NDK to do the activation trick, since it is not possible to deactivate a single NDK instance. This will be improved in the upcoming 3.1. This and the previous point are mentioned in the README of the overlay, BTW.

    If you continue experience problems please file an issue as noted on wiki and in the README.

    Regarding your question "if it is possible to publish a Qt 5.x app on BB store". There are multiple Qt5 apps in the store since a long time. Some of them are even based on Qt 5.0.



  • Hi...thank you I got mistake on that.
    In fact, I had sensations of some leaks of programs when trying to configure under QtCreator since I wasn't able to find compiler and so on...that's fantastic!
    I am giving a try...



  • Wow...thank you!
    It's incredible how easy was to install BB Qt 5.2.1 under Qtcreator 3.1
    Fantastic that was the wiki I was searching for a long time



  • I have configured all and seems correct, but when I deploy just a starter BB project, after compilation, QtCreator shows me:

    @
    Error: Failed to create application process: Exec format error
    @

    target is qnx6 and I am trying to deploy to well-configured BB z10



  • The qnx6 target actually consists of two different ones: arm (device) and x86 (simulator). You probably managed to deploy an x86 binary on Z10.



  • Hi,
    I think the problem was that I have created a project for both android and BB that seems not compatible giving that error...starting a new project just for BB seems to work.



  • ah, one more thing. Watch if a qmake and a compile run is restarted after you had switched from one target to another. I remember the were cases that QtCreator did not notice a change in the kit and did not restart qmake and build accordingly.



  • No, you should be able to have one project configured for multiple platforms (cross-platform, you know :-) ) and producing correct artifacts. The possible issue is the one I've just noted with QtCreator not getting the change in the kits.



  • Ah ok I have understood so it can be just a QtCreator bug (since I am using a 3.1 snapshot).



  • yes. I just was talking to somebody else and it looks like it is a real bug which is not related to BB10. QtCreator should generally initiate a full rebuild if a user switches kits. We will create an issue on this



  • Yes I think is the case to do it.
    I am trying android qt port of my softair on BB...I hope it works well!



  • As I told you, I am trying my android qt port of softair...android is used to have "assets:/" for file and so on: how can I deal that on BB10?

    I mean, when my app start it copies a file in local dir, on android I use as source path "assets:/DB/file"; on BB10 how I can specify that path?

    (DB/file is copied using DEPLOYMENTFOLDERS)



  • There is a bug, I don't if in QtCreator or BB Qt, but when I deploy a package to a device, no one delete *.bar file instead its final size is append to the old one!
    When I wasn't aware of that, my bar file was about 626mb!!!


Log in to reply