Qt Comes to QNX

Note: Also see this Update on Binaries and Upstreaming (ed., Feb 24 ’12)

Having been a Qt developer for many years prior to joining RIM, I am extremely excited that Qt is now available for PlayBook development. Qt brings a mature, stable application framework for developing rich 2D and 3D applications on QNX-based platforms. It is very user friendly, with an incredibly intuitive API. With Qt, you have the choice of writing your apps in QML/JavaScript, C++ or a combination of the two. This separation allows app designers and developers to work together seamlessly to create rich, user interface-centric applications. Qt is also the basis for our Cascades SDK coming later this year. Developing your apps now with Qt can provide a natural extension to incorporating Cascades in the future.

We are committed to making QNX the #1 platform for Qt development on mobile devices. As part of our commitment to Qt, we are currently optimizing the build process to make things as streamlined as possible for developers. This includes integration with standard QNX development tools as well as QtCreator so you can create your Qt apps in the Qt way and target them for QNX.

To save having to build the Qt libraries yourself, we’ve pre-built the Qt binaries for you for QNX and posted them on our downloads page at github.

Correction: The binaries are not yet there; in the meantime, use the simple instructions in the “Getting Started” document and build them from the sources (ed.)

You can also download the preview of QtCreator with the QNX plugin from the same downloads page. We expect that the QNX plugin will be officially available in the next version of QtCreator, version 2.5.

To help getting started, we’ve created a number of instructional guides for developing with Qt on QNX. Check out the getting started guide for instructions on how to get your environment up and running quickly.

Currently our Qt source is being hosted on github but we will be moving our sources into the Qt Project soon and will continue to actively contribute to Qt in general. We consider it important to not only open source the work we have done but to also continue to work in an open source fashion with the Qt community.

If you have questions related to Qt development on PlayBook, come post your questions on the BlackBerry Developer Zone Forum. You can post your questions in the NDK section and Qt experts will help you find your answers.

I encourage you to experiment by building a Qt app on PlayBook and see just how easy it is to create rich, compelling apps with this toolkit.

Look for more exciting developments coming soon!


About Matthew S.

Formerly Vice President of Torch Mobile, Matthew Staikos has over 10 years of development experience in the software industry with strong focus on WebKit development for mobile and embedded systems. He is currently the Manager of the Browser & Web Platform group at RIM where he is responsible for the development of the WebKit-based Browser and embedded Web technologies for BlackBerry and QNX devices. Matthew is based out of Toronto, Canada.
This entry was posted in Native and tagged , , . Bookmark the permalink.

13 Responses to Qt Comes to QNX

  1. Rahul Garg says:

    This is great news! I was wondering, will Qt 5 also come to QNX? And what about Qt Mobility?

    • pelegri says:

      Hi, Rahul. We are completely committed to supporting Qt going forward, but we do not have a detailed roadmap we can share at this time. Our primary focus right now is getting involved in the community and starting to contribute. When our roadmap becomes clear we will certainly share it.

  2. Is this version supposed to work with the simulator (i.e. X86 build of the sources above) ? I built QtCreator and Qt4.8 (for x86) from github, get the .bar file and even manage to deploy it on the simulator, but even though the QML hello-world application seems to start, all I get is a white rectangle, no actual content (indicative of a bad QML or lib/plugin path issues). What makes it even harder to debug is that the qDebug() et al output seems to be silently discarded…

  3. Pingback: Qt comes to QNX - BlackBerry Forums at CrackBerry.com

  4. Pingback: Qt comes to QNX | Repair Guide

  5. Got it working, but two caveats for Qt developers who have no prior experience with the Playbook/QNX:

    1. the stdout/stdin does not appear in QtCreator, you will have to ssh in and take a look at /accounts/1000/apps… for the logfiles

    2. Paths are a bit different on QNX, if you have the impression a file is not found, prefix with “app/native/” (the lack of this preifx is also why the default QML template fails)

  6. Helmuth says:

    Any update when the prebuild Qt libraries will be aviliable at git-hub?

  7. Tobias Nätterlund says:

    Thanks for the feedback! The handling of the application debug output has been improved in the meantime, it is now visible in the Application Output window, and will be available as soon as the QNX plugin is officially released.

  8. When could we expect a official release?
    I would like to convert a useful Qt project I created for MeeGo Tablet last year to BlackBerry because of the free Playbook offer. 😉
    Sadly no Linux over here, I’m creating using Windows XP. So building from source is even harder for me.

    Had no BB experience so far. But perhaps this could get a new love. Need a successor for my Nokia N9 within the next years. Official Qt support sounds great! 🙂

  9. gkochar says:

    On Ubuntu 11.10 64-bit, I was able to compile qt but not qt-creator from the download links provided in this article. First, it failed with “cannot find -ldl” error for which I had to comment LIBS += -ldl in extensionsystem.pro file. And now it’s failing while compiling Botan with error “no match for operator =” in ecc_key.cpp. I have found no solution so far.

  10. Pete Osborne says:


    I was able to get all this working reasonably well and even got an app running on my playbook. I am getting some weird crashes and I am wondering if there is some way of running in gdb and getting a traceback. I prefer the command line, I can’t seem to figure out how to launch my app from the command line. With no X server I’m not sure what is needed to start things up.

  11. Pingback: Qnx | TagHall

  12. bond1970 says:

    Well, QT Mobility is fully supported, this is not going to be of much help to developers.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s