This file is indexed.

/usr/share/qt5/doc/qtdoc/blackberrygs.html is in qt5-doc-html 5.3.2-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- blackberry.qdoc -->
  <title>Getting Started with Qt for BlackBerry 10 | QtDoc 5.3</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
    <div class="main">
    <div class="main-rounded">
        <div class="navigationbar">
        <ul>
<li><a href="index.html">Qt 5.3</a></li>
<li>Getting Started with Qt for BlackBerry 10</li>
<li id="buildversion">
Qt 5.3.2 Reference Documentation</li>
    </ul>
    </div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#development-with-qt-for-blackberry-10">Development with Qt for BlackBerry 10</a></li>
<li class="level1"><a href="#initial-preparation">Initial Preparation</a></li>
<li class="level2"><a href="#get-a-blackberry-id">Get a BlackBerry ID</a></li>
<li class="level2"><a href="#get-the-momentics-ide">Get the Momentics IDE</a></li>
<li class="level1"><a href="#setup">Setup</a></li>
<li class="level2"><a href="#enable-the-development-mode-on-the-device">Enable the Development Mode on the Device</a></li>
<li class="level2"><a href="#install-momentics">Install Momentics</a></li>
<li class="level1"><a href="#verify-your-setup-with-a-sample-app">Verify Your Setup with a Sample App</a></li>
<li class="level2"><a href="#in-the-momentics-ide">In the Momentics IDE</a></li>
<li class="level2"><a href="#in-qt-creator">In Qt Creator</a></li>
<li class="level1"><a href="#simulator">Simulator</a></li>
</ul>
</div>
<h1 class="title">Getting Started with Qt for BlackBerry 10</h1>
<span class="subtitle"></span>
<!-- $$$blackberrygs.html-description -->
<div class="descr"> <a name="details"></a>
<a name="development-with-qt-for-blackberry-10"></a>
<h2>Development with Qt for BlackBerry 10</h2>
<p>Development of Qt applications for the BlackBerry 10 platform is possible using the <a href="https://developer.blackberry.com/native/">BlackBerry Native Development Kit</a>. First versions of NDK contained both, the Momentics IDE as well as the NDK itself. In recent releases, developers have to download the <a href="https://developer.blackberry.com/native/downloads/">Momentics IDE</a> first, which then installs the NDK and simulator packages. Every NDK package includes a cross compiler toolchain, plus packaging and deployment tools, basically all you need for development.</p>
<a name="initial-preparation"></a>
<h2>Initial Preparation</h2>
<a name="get-a-blackberry-id"></a>
<h3>Get a BlackBerry ID</h3>
<p>The BlackBerry ID is used as an identity reference and is necessary to register as a developer and use the device in developer mode. You can <a href="https://blackberryid.blackberry.com">create a BlackBerry ID online</a>. If you already use a BlackBerry device, you should have a BlackBerry ID, as well. It is the same ID used in BBM or to download apps from BlackBerry World. If you have such an ID you can use it to get a BlackBerry ID token for development.</p>
<a name="get-the-momentics-ide"></a>
<h3>Get the Momentics IDE</h3>
<p>First <a href="https://developer.blackberry.com/native/downloads/">download the Momentics IDE</a>, set it up and download an NDK with appropriate API level, see this <a href="https://developer.blackberry.com/native/documentation/cascades/getting_started/setting_up.html">article</a> for more details.</p>
<a name="setup"></a>
<h2>Setup</h2>
<a name="enable-the-development-mode-on-the-device"></a>
<h3>Enable the Development Mode on the Device</h3>
<p>Make sure your device is connected to your computer. Switch on <b>Development Mode</b> in <i>Settings -&gt; Security and Privacy -&gt; Development Mode</i>.</p>
<a name="install-momentics"></a>
<h3>Install Momentics</h3>
<p>Install the Momentics IDE by executing</p>
<pre class="cpp">cd <span class="operator">~</span><span class="operator">/</span>Downloads<span class="operator">/</span>
chmod <span class="operator">+</span>x momentics<span class="operator">-</span><span class="operator">&lt;</span>your<span class="operator">-</span>version<span class="operator">&gt;</span><span class="operator">.</span>bin
<span class="operator">.</span><span class="operator">/</span>momentics<span class="operator">-</span><span class="operator">&lt;</span>your<span class="operator">-</span>version<span class="operator">&gt;</span><span class="operator">.</span>bin</pre>
<p>Install the suggested API level. Other API levels can be added <a href="http://developer.blackberry.com/native/documentation/core/com.qnx.doc.ide.userguide/topic/update_ndk_ide.html">later</a>. Select <i>Manage Devices</i> from the <i>Devices</i> drop-down menu. Create and Download the BlackBerry ID token needed for deployment and testing. Enter your company name and choose a password. Log in with your Black Berry ID and password in the pop-up window. Click <i>Next</i> and <i>Finish</i> to generate a debug token and deploy it to your device.</p>
<p>Qt Creator 3.0 and later support the BlackBerry ID token and debug token management as well.</p>
<a name="verify-your-setup-with-a-sample-app"></a>
<h2>Verify Your Setup with a Sample App</h2>
<a name="in-the-momentics-ide"></a>
<h3>In the Momentics IDE</h3>
<p>Select a sample application in the Momentics IDE and click Download and Import. This will download the sample and create a new project. Hit the green play button in Momentics to run the application on your BlackBerry 10 device. The application will now start on your BlackBerry 10 device.</p>
<a name="in-qt-creator"></a>
<h3>In Qt Creator</h3>
<p>See the <a href="http://qt-project.org/wiki/Qt-Creator-with-BlackBerry-10">article</a> Qt Creator with BlackBerry 10. Qt Creator 2.7 and later contain a plug-in which integrates the BlackBerry 10 NDK and its tools into the development process as it is know to Qt Creator users.</p>
<a name="simulator"></a>
<h2>Simulator</h2>
<p>You can download the Simulator from the Momentics IDE via the <b>Devices</b> menu. Select <b>Manage devices</b> from the main toolbar in Momentics and switch to the Simulator tab. The Simulator is available as separate download. For more details, see the this <a href="https://developer.blackberry.com/devzone/develop/simulator/">article</a> on the developer page. Installing the Simulator is optional. You most probably will test and deploy applications on a BlackBerry 10 device directly, but sometimes using the Simulator is more convenient. It also allows testing of your app on a configuration of a device which you do not have.</p>
<p>If you work on the command line and use Qt 5.2 or later you have change the CPUVARDIR environment variable to switch to Simulator as target:</p>
<pre class="cpp"><span class="keyword">export</span> CPUVARDIR<span class="operator">=</span>x86</pre>
<p>Going back to the device target:</p>
<pre class="cpp"><span class="keyword">export</span> CPUVARDIR<span class="operator">=</span>armle<span class="operator">-</span>v7</pre>
<p>Certainly you have to re-run qmake each time you change CPUVARDIR.</p>
<p>Note: You need to have VMware Player installed on your machine to run BlackBerry 10 Simulator.</p>
</div>
<!-- @@@blackberrygs.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2014 Digia Plc and/or its
   subsidiaries. Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Digia, Qt and their respective logos are trademarks of Digia Plc     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>