Qt-on-PlaybookOS: Difference between revisions

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


= Qt on PlayBook OS =
= 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)":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.


The basic process is:<br /># '''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'''''.<br /># Install the &quot;BlackBerry NDK&amp;quot;:https://developer.BlackBerry.com/native/download/ and set it up for the use with Qt.<br /># &quot;Build Qt 4.8.3&amp;quot;:http://wiki.qt.io/Building-Qt4-for-BlackBerry<br /># Configure your infrastructure for signing and deploying your applications:<br />## Get your signing keys from: https://www.BlackBerry.com/SignedKeys/codesigning.html<br />## Open up a BlackBerry NDK enviroment command prompt (on Linux run ''source bbndk-env.sh'' in a terminal emulator)<br />## Register your signing keys:<br /> [code]BlackBerry-signer -register -csjpin 123456 -storepass 123456 client-RDK-1234567.csj client-PBDT-1234567.csj[/code]<br /> 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!'''<br />## Request a debug token (replace the your_pin with your device pin code which can be found at '''''Settings <s>&gt; About</s>&gt; Hardware -&gt; PIN'''''):<br /> [code]BlackBerry-debugtokenrequest -storepass 123456 -devicepin &lt;your_pin&amp;gt; debug_token.bar[/code]<br />## Install your debug token:<br /> [code]BlackBerry-deploy -installDebugToken BlackBerry/debug_token.bar -device 192.168.0.99 -password [your_pin][/code]<br />## You can check your token state at '''''Settings <s>&gt; Security</s>&gt; Development mode'''''<br /># Do not forget to enable Developer Mode. Go to '''''Settings <s>&gt; Security and Privacy</s>&gt; Development Mode''''' and toggle the switch to turn it on.<br /># Develop your application<br /># Build and deploy your application and required Qt libraries to the PlayBook, test<br />## 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]]<br /># Submit your application to the &quot;BlackBerry AppWorld&amp;quot;:http://appworld.BlackBerry.com/
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'''''.
# Install the [https://developer.BlackBerry.com/native/download/ BlackBerry NDK] and set it up for the use with Qt.
# [http://wiki.qt.io/Building-Qt4-for-BlackBerry Build Qt 4.8.3]
# Configure your infrastructure for signing and deploying your applications:
## Get your signing keys from: https://www.BlackBerry.com/SignedKeys/codesigning.html
## Open up a BlackBerry NDK enviroment command prompt (on Linux run ''source bbndk-env.sh'' in a terminal emulator)
## 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!'''
## 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:
[code]BlackBerry-deploy -installDebugToken BlackBerry/debug_token.bar -device 192.168.0.99 -password [your_pin][/code]
## 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
# 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]]
# 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


* &quot;Setting up the BlackBerry NDK for Qt on PlayBook&amp;quot;:http://kevinboone.net/qt_blackberry.html
* [http://kevinboone.net/qt_blackberry.html Setting up the BlackBerry NDK for Qt on PlayBook]
* &quot;How to build Qt4 with BlackBerry NDKs&amp;quot;: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 ===

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