Skip to content

Qt on BlackBerry and QNX

Qt on BlackBerry and QNX
103 Topics 587 Posts
  • [Solved, Fixed] QML app in BB10 simulator

    9
    0 Votes
    9 Posts
    4k Views
    D

    Thank you, wbremer. That's good news.

  • Payment Service with Qt

    2
    0 Votes
    2 Posts
    2k Views
    D

    I have "solved" problem myself. Instead of using native solution I have based my code on https://github.com/blackberry/Cascades-Samples/tree/master/paymentservice and it works very nice. Actually I like it better because I have to write less code and "bb::platform" code does not look cascades specific (I hope it will remain so). Just as help to others here what you should take into account by adopting this cascades solution for Qt app:

    Don't forget to add some extra "using namespace bb::platform" or use "bb::platform::" before specific functions.

    Add following line to pro file: LIBS += -lbbplatform

    If you are writing QtQuick app here is how you should set Window Group id (it works for me so I guess that's correct way):

    @QPlatformNativeInterface * const nativeInterface = QApplication::platformNativeInterface();

    const QString windowGroupId = static_cast<const char *>(nativeInterface->nativeResourceForWidget("windowGroup", QApplication::topLevelWidgets().first()));

    m_paymentManager->setWindowGroupId(windowGroupId);@

    If someone from RIM team is reading and has to add any corrections please do it. While it is working (for me) I don't want incorrect solution to float around.

  • 0 Votes
    14 Posts
    10k Views
    Z

    Finally it works... Thank you! But can you use the debugger now? Every time when I start it it just crashes, says that is has timed out or that it cannot connect, etc.

    The app does get packaged and uploaded to the simulator and works though.

  • QtCreator 2.6 code completion doesn't work

    9
    0 Votes
    9 Posts
    6k Views
    Z

    I do use Windows. So far I have absolutely no success with the debugger on the simulator.

    Is that applicable to Qt Creator/BB10 on Windows?

    Anyway... Does anyone have an idea what are the future plans for Qt Quick and Qt Creator on BB10? Will they be officially supported and improved or they are just a byproduct of the Cascades UI development???

  • 0 Votes
    3 Posts
    4k Views
    G

    No I checked those two options even though it did'nt worked .

    I have a device too .

    How to configure with the device .

    where is the development mode option in security options in ne BB phones.

  • Compatibility

    2
    0 Votes
    2 Posts
    2k Views
    S

    If you're creating a new app from scratch, BB recommends to use Cascades, which is QML, except you can't mix the usual QML components with the Cascades ones. Qt QML/C++ work just as you'd expect.

    You can port your QML/C++ app very quickly. Most of the time spent would be in setting up compilers, keys, devices, simulators and all that stuff, rather than porting code.

  • Social Connect

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • The new sdk (10)

    2
    0 Votes
    2 Posts
    2k Views
    M

    Blackberry will release the gold version of the BlackBerry 10 SDK's on December 11th 2012... wow.. :-)
    Thanks for the Link.. :-)

    Thanks & Regards

  • 0 Votes
    2 Posts
    5k Views
    M

    I have managed tio get it working in the following way:

    Turn off the shadow building or move your bar-descriptor.xml by hand to the shadow build folder.

    I needed to add the following to my project file
    [code]
    package.target = $${TARGET}.bar
    package.depends = $$TARGET
    package.commands = blackberry-nativepackager
    -devMode -debugToken /home/mm/Dokumentumok/blackberry/debug_token.bar
    -package $${TARGET}.bar -arg -platform -arg blackberry
    bar-descriptor.xml $$TARGET
    -e $$[QT_INSTALL_LIBS]/libQtCore.so.4 lib/libQtCore.so.4
    -e $$[QT_INSTALL_LIBS]/libQtGui.so.4 lib/libQtGui.so.4
    -e $$[QT_INSTALL_LIBS]/libQtOpenGL.so.4 lib/libQtOpenGL.so.4
    -e $$[QT_INSTALL_LIBS]/libQtNetwork.so.4 lib/libQtNetwork.so.4
    -e $$[QT_INSTALL_PLUGINS]/platforms/libblackberry.so plugins/platforms/libblackberry.so
    [/code]

    And I needed to modify the Project's Run settings (sidebar -> Projects, and select the Run under the project):

    Remove the "Create packages" step
    Add a new deploy step with the Add Deploy step:

    Choose custom process step. Command: make Arguments: [your target app name].bar
    (move it above the Deploy packages step)

    Hit run...
    Wait...
    And be happy :)

    Unfortunatelly this method packs the used Qt libraries to the bar file, which causing some overhead, but I have not been able to figure ut better method.

  • 0 Votes
    4 Posts
    3k Views
    E

    I got solution:
    [code]<arg>-platform</arg>
    <arg>qnx</arg>[/code]
    instead platform "blackberry" in bar-descriptor.xml

  • Qt issues on BB10

    6
    0 Votes
    6 Posts
    4k Views
    B

    Hello,
    Just a few things. QClipboard is working (with certain limitations) and only in pure Qt applications. For cascades apps there is a separate library. Also settings should work just fine. The QtMobility stuff is currently being implemented. I know that a lot of the Qt mobility parts are still missing, but it is getting there. And help is always appreciated: http://gitorious.org/+kdab-developers/qt-mobility/qnx-qt-mobility

    @helex: Are you talking about a QtQuick ListView or a Cascades ListView

  • 0 Votes
    4 Posts
    2k Views
    sierdzioS

    If you consider this to be a bug, please report it on JIRA - Digia is preparing 4.8.4 right now, libs are currently in RC state, so they probably need this info asap.

  • 2 Free Tickets for Meeting C++!

    2
    0 Votes
    2 Posts
    2k Views
    R

    more at http://meetingcpp.com/

  • QtCreator and BlackBerry

    5
    0 Votes
    5 Posts
    3k Views
    C

    Regarding the RAD Editor for QML, I always found them useless, in QtCreator and in Momentics.
    But I write mostly pure QML without Widgets for my apps.

  • Issues with 4.8.3 libs and Qt Creator

    5
    0 Votes
    5 Posts
    3k Views
    B

    My question is related to Qt 4.8.3 libs for PlayBook. I've exchanged these binaries with those from NDK 10 and now compile/build works.

  • Qt on QNX: no QtFeedback?

    5
    0 Votes
    5 Posts
    2k Views
    C

    Ofc the BB10 Simulator, I would not be posting here otherwise ;)

  • Toolchain issue: Missing mkspecs

    9
    0 Votes
    9 Posts
    5k Views
    C

    Nice! :)

  • 0 Votes
    2 Posts
    3k Views
    Z

    We received some reports that NEON support has some issues on the PlayBook so the recommendation is to disable NEON support when building for this device. Please feel free to enable it and provide feedback as to your experiences. Other BB devices should work fine with NEON.

  • 0 Votes
    3 Posts
    2k Views
    Z

    Hi and welcome. The launch page for all things Blackberry and Qt related is here http://qt-project.org/wiki/Blackberry

    Please feel free to improve these.

  • BlackBerry components

    10
    0 Votes
    10 Posts
    4k Views
    D

    Thank you trollixx, it sounds like a nice project :)