Qt-on-PlaybookOS: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Add "cleanup" tag)
(Convert ExpressionEngine links)
Line 7: Line 7:
[toc align_right="yes" depth="2"]
[toc align_right="yes" depth="2"]


The PlayBook tablet products are older and PlayBook OS does not include a Qt installation. An ealier version of Qt is integrated in "the PlayBook NDK (Native Development Kit)":https://developer.BlackBerry.com/native/download/ only.
The PlayBook tablet products are older and PlayBook OS does not include a Qt installation. An ealier version of Qt is integrated in [https://developer.BlackBerry.com/native/download/ the PlayBook NDK (Native Development Kit)] only.


Lets get started using Qt4.8 to develop your apps.
Lets get started using Qt4.8 to develop your apps.
Line 13: Line 13:
The basic process is:
The basic process is:
# '''Make sure''' that your PlayBook is running the latest 2.x version of the firmware by going to '''''Settings->Software Updates->Check for Updates'''''.
# '''Make sure''' that your PlayBook is running the latest 2.x version of the firmware by going to '''''Settings->Software Updates->Check for Updates'''''.
# Install the "BlackBerry NDK":https://developer.BlackBerry.com/native/download/ and set it up for the use with Qt.
# Install the [https://developer.BlackBerry.com/native/download/ BlackBerry NDK] and set it up for the use with Qt.
# "Build Qt 4.8.3":http://wiki.qt.io/Building-Qt4-for-BlackBerry
# [http://wiki.qt.io/Building-Qt4-for-BlackBerry Build Qt 4.8.3]
# Configure your infrastructure for signing and deploying your applications:
# Configure your infrastructure for signing and deploying your applications:
## Get your signing keys from: https://www.BlackBerry.com/SignedKeys/codesigning.html
## Get your signing keys from: https://www.BlackBerry.com/SignedKeys/codesigning.html
Line 30: Line 30:
# Build and deploy your application and required Qt libraries to the PlayBook, test
# Build and deploy your application and required Qt libraries to the PlayBook, test
## The BlackBerry Playbook does not include the Qt libraries, so you need to package them to your application. [[Deploy_Qt4_based_app_to_BB_PB_usingQtCreator]]
## The BlackBerry Playbook does not include the Qt libraries, so you need to package them to your application. [[Deploy_Qt4_based_app_to_BB_PB_usingQtCreator]]
# Submit your application to the "BlackBerry AppWorld":http://appworld.BlackBerry.com/
# Submit your application to the [http://appworld.BlackBerry.com/ BlackBerry AppWorld]


For more detailed instructions please take a look at
For more detailed instructions please take a look at


* "Setting up the BlackBerry NDK for Qt on PlayBook":http://kevinboone.net/qt_blackberry.html
* [http://kevinboone.net/qt_blackberry.html Setting up the BlackBerry NDK for Qt on PlayBook]
* "How to build Qt4 with BlackBerry NDKs":http://wiki.qt.io/Building-Qt4-for-BlackBerry
* [http://wiki.qt.io/Building-Qt4-for-BlackBerry How to build Qt4 with BlackBerry NDKs]


Please note that 4.8.3 is the last Qt version supporting PlayBook OS 2.x. Qt 4.8.4 and later and Qt5 are only supported on BlackBerry 10.
Please note that 4.8.3 is the last Qt version supporting PlayBook OS 2.x. Qt 4.8.4 and later and Qt5 are only supported on BlackBerry 10.


=== Tooling ===
=== Tooling ===

Revision as of 15:21, 4 March 2015

This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine.
Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean.

Qt on PlayBook OS

[toc align_right="yes" depth="2"]

The PlayBook tablet products are older and PlayBook OS does not include a Qt installation. An ealier version of Qt is integrated in the PlayBook NDK (Native Development Kit) only.

Lets get started using Qt4.8 to develop your apps.

The basic process is:

  1. Make sure that your PlayBook is running the latest 2.x version of the firmware by going to Settings->Software Updates->Check for Updates.
  2. Install the BlackBerry NDK and set it up for the use with Qt.
  3. Build Qt 4.8.3
  4. Configure your infrastructure for signing and deploying your applications:
    1. Get your signing keys from: https://www.BlackBerry.com/SignedKeys/codesigning.html
    2. Open up a BlackBerry NDK enviroment command prompt (on Linux run source bbndk-env.sh in a terminal emulator)
    3. Register your signing keys:
[code]BlackBerry-signer -register -csjpin 123456 -storepass 123456 client-RDK-1234567.csj client-PBDT-1234567.csj[/code]
It's important to note that one of the files generated (the author.p12) is referred to in the tools as the store and the password you typed in the previous line is called the storepass. Do not lose the storepass!
    1. Request a debug token (replace the your_pin with your device pin code which can be found at Settings -> About-> Hardware -> PIN):
[code]BlackBerry-debugtokenrequest -storepass 123456 -devicepin <your_pin> debug_token.bar[/code]
    1. Install your debug token:
[code]BlackBerry-deploy -installDebugToken BlackBerry/debug_token.bar -device 192.168.0.99 -password [your_pin][/code]
    1. You can check your token state at Settings -> Security-> Development mode
  1. Do not forget to enable Developer Mode. Go to Settings -> Security and Privacy-> Development Mode and toggle the switch to turn it on.
  2. Develop your application
  3. Build and deploy your application and required Qt libraries to the PlayBook, test
    1. The BlackBerry Playbook does not include the Qt libraries, so you need to package them to your application. Deploy_Qt4_based_app_to_BB_PB_usingQtCreator
  4. Submit your application to the BlackBerry AppWorld

For more detailed instructions please take a look at

Please note that 4.8.3 is the last Qt version supporting PlayBook OS 2.x. Qt 4.8.4 and later and Qt5 are only supported on BlackBerry 10.

Tooling