Qt-on-PlaybookOS: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
=Qt on PlayBook OS=
[[Category:BlackBerry 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 <span class="caps">NDK</span>] ''[developer.BlackBerry.com]'' only.
= Qt on PlayBook OS =
 
[toc align_right=&quot;yes&amp;quot; depth=&quot;2&amp;quot;]
 
The PlayBook tablet products are older and PlayBook OS does not include a Qt installation. An ealier version of Qt is integrated in &quot;the PlayBook NDK (Native Development Kit)&quot;:https://developer.BlackBerry.com/native/download/ 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:<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/
 
# '''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 <span class="caps">NDK</span>] ''[developer.BlackBerry.com]'' and set it up for the use with Qt.
# [[Building-Qt4-for-BlackBerry|Build Qt 4.8.3]] ''[qt.io]''
# 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 <span class="caps">NDK</span> 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!'''
## 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>'''''):
## Install your debug token:
## You can check your token state at '''''Settings -&gt; Security -&gt; Development mode'''''
# 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.
# 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|Deploy_Qt4_based_app_to_BB_PB_usingQtCreator]]
# Submit your application to the [http://appworld.BlackBerry.com/ BlackBerry AppWorld] ''[appworld.BlackBerry.com]''


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]''
* &quot;Setting up the BlackBerry NDK for Qt on PlayBook&amp;quot;:http://kevinboone.net/qt_blackberry.html
* [[Building-Qt4-for-BlackBerry|How to build Qt4 with BlackBerry <span class="caps">NDK</span>s]] ''[qt.io]''
* &quot;How to build Qt4 with BlackBerry NDKs&amp;quot;:http://wiki.qt.io/Building-Qt4-for-BlackBerry


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]]

Revision as of 10:16, 24 February 2015


Qt on PlayBook OS

[toc align_right="yes&quot; depth="2&quot;]

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.

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

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 "BlackBerry NDK&quot;:https://developer.BlackBerry.com/native/download/ and set it up for the use with Qt.
# "Build Qt 4.8.3&quot;:http://wiki.qt.io/Building-Qt4-for-BlackBerry
# 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&gt; 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 "BlackBerry AppWorld&quot;:http://appworld.BlackBerry.com/

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