Qt-on-PlaybookOS: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
(Remove non-functioning "toc" command)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=Qt on PlayBook OS=
{{Cleanup | reason=Auto-imported from ExpressionEngine.}}


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 <span class="caps">NDK</span>] ''[developer.BlackBerry.com]'' only.
[[Category:BlackBerry PlayBook OS]]
 
= Qt on PlayBook OS =
 
 
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.


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-&gt;Software Updates-&gt;Check for Updates'''''.
# Install the [https://developer.BlackBerry.com/native/download/ BlackBerry NDK] and set it up for the use with Qt.
# Install the [https://developer.BlackBerry.com/native/download/ BlackBerry <span class="caps">NDK</span>] ''[developer.BlackBerry.com]'' and set it up for the use with Qt.
# [http://wiki.qt.io/Building-Qt4-for-BlackBerry Build Qt 4.8.3]
# [[Building-Qt4-for-BlackBerry|Build Qt 4.8.3]] ''[qt.io]''
# 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
## Open up a BlackBerry <span class="caps">NDK</span> enviroment command prompt (on Linux run ''source bbndk-env.sh'' in a terminal emulator)
## Open up a BlackBerry NDK enviroment command prompt (on Linux run ''source bbndk-env.sh'' in a terminal emulator)
## Register your signing keys: 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!'''
## Register your signing keys:
## Request a debug token (replace the your_pin with your device pin code which can be found at '''''Settings -&gt; About -&gt; Hardware -&gt; <span class="caps">PIN</span>'''''):
[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!'''
## 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]
## Install your debug token:
## Install your debug token:
## You can check your token state at '''''Settings -&gt; Security -&gt; Development mode'''''
[code]BlackBerry-deploy -installDebugToken BlackBerry/debug_token.bar -device 192.168.0.99 -password [your_pin][/code]
# Do not forget to enable Developer Mode. Go to '''''Settings -&gt; Security and Privacy -&gt; Development Mode''''' and toggle the switch to turn it on.
## You can check your token state at '''''Settings -> Security-> Development mode'''''
# Do not forget to enable Developer Mode. Go to '''''Settings -> Security and Privacy-> Development Mode''''' and toggle the switch to turn it on.
# Develop your application
# Develop your application
# 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|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 [http://appworld.BlackBerry.com/ BlackBerry AppWorld] ''[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


* [http://kevinboone.net/qt_blackberry.html Setting up the BlackBerry <span class="caps">NDK</span> for Qt on PlayBook] ''[kevinboone.net]''
* [http://kevinboone.net/qt_blackberry.html Setting up the BlackBerry NDK for Qt on PlayBook]
* [[Building-Qt4-for-BlackBerry|How to build Qt4 with BlackBerry <span class="caps">NDK</span>s]] ''[qt.io]''
* [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 ===
 
* [[Building and Deploying Qt Applications to the Playbook|Building_and_Deploying_Qt_Applications_to_the_Playbook]]
 
===Categories:===
 
* [[:Category:BlackBerry-PlayBook-OS|BlackBerry PlayBook OS]]

Latest revision as of 12:33, 17 April 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

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