2012-06-29 07:23:13 +02:00
|
|
|
/****************************************************************************
|
|
|
|
|
**
|
|
|
|
|
** This file is part of Qt Creator
|
|
|
|
|
**
|
2013-01-28 17:12:19 +01:00
|
|
|
** Copyright (C) 2011 - 2013 Research In Motion
|
2012-06-29 07:23:13 +02:00
|
|
|
**
|
|
|
|
|
** Contact: Research In Motion (blackberry-qt@qnx.com)
|
|
|
|
|
** Contact: KDAB (info@kdab.com)
|
|
|
|
|
**
|
|
|
|
|
**
|
|
|
|
|
** GNU Free Documentation License
|
|
|
|
|
**
|
|
|
|
|
** Alternatively, this file may be used under the terms of the GNU Free
|
|
|
|
|
** Documentation License version 1.3 as published by the Free Software
|
|
|
|
|
** Foundation and appearing in the file included in the packaging of this
|
|
|
|
|
** file.
|
|
|
|
|
**
|
|
|
|
|
**
|
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
|
|
// **********************************************************************
|
|
|
|
|
// NOTE: the sections are not ordered by their logical order to avoid
|
|
|
|
|
// reshuffling the file each time the index order changes (i.e., often).
|
|
|
|
|
// Run the fixnavi.pl script to adjust the links to the index order.
|
|
|
|
|
// **********************************************************************
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
\contentspage index.html
|
|
|
|
|
\previouspage creator-deployment-maemo.html
|
|
|
|
|
\page creator-deployment-qnx.html
|
2012-09-07 16:15:58 +02:00
|
|
|
\nextpage creator-connecting-mobile.html
|
2012-06-29 07:23:13 +02:00
|
|
|
|
|
|
|
|
\title Deploying Applications to QNX Devices
|
|
|
|
|
|
2012-09-14 12:44:57 +02:00
|
|
|
You can deploy applications to BlackBerry and QNX Neutrino devices.
|
2012-06-29 07:23:13 +02:00
|
|
|
|
2012-08-22 11:15:04 +02:00
|
|
|
\section1 Deploying to BlackBerry Devices
|
|
|
|
|
|
2012-09-14 12:44:57 +02:00
|
|
|
For BlackBerry devices, \QC generates a BAR package in the build
|
2012-08-22 11:15:04 +02:00
|
|
|
directory and installs it on the connected device. The contents of the BAR
|
|
|
|
|
package are specified in the \gui{Application Descriptor File}.
|
|
|
|
|
|
|
|
|
|
\image qtcreator-playbook-deployment.png "Deploy to device"
|
2012-06-29 07:23:13 +02:00
|
|
|
|
2012-08-22 11:15:04 +02:00
|
|
|
The name of the generated BAR package is shown in the \gui{Package}
|
2012-06-29 07:23:13 +02:00
|
|
|
setting. If the package already exists, it will be overwritten without
|
|
|
|
|
prior notification.
|
|
|
|
|
|
2012-08-22 11:15:04 +02:00
|
|
|
\section2 Application Descriptor File
|
2012-06-29 07:23:13 +02:00
|
|
|
|
|
|
|
|
The application descriptor file needs to be created manually,
|
|
|
|
|
or you can use the \gui{Application Descriptor} wizard to have a generic
|
|
|
|
|
template generated. The wizard is available in \gui {File > New File or
|
|
|
|
|
Project > BlackBerry > Application descriptor}. This wizard will also
|
|
|
|
|
include a splashscreen.png and an icon.png file which are included in the
|
|
|
|
|
application descriptor file.
|
|
|
|
|
|
|
|
|
|
To tailor your BAR packages, you will have to manually edit the application
|
|
|
|
|
descriptor file. For a full reference, see
|
2013-05-31 14:26:01 +02:00
|
|
|
\l{http://bdsc.webapps.blackberry.com/native/documentation/com.qnx.doc.native_sdk.devguide/com.qnx.doc.native_sdk.devguide/topic/r_blackberry_tablet_dtd_intro.html}
|
2012-06-29 07:23:13 +02:00
|
|
|
{Document Type Definition (DTD) for the application descriptor file}.
|
2012-08-22 11:15:04 +02:00
|
|
|
|
|
|
|
|
\section1 Deploying to QNX Neutrino Devices
|
|
|
|
|
|
2012-09-14 12:44:57 +02:00
|
|
|
Deploying applications to a QNX Neutrino device is very similar to
|
2012-08-22 11:15:04 +02:00
|
|
|
\l{Deploying Applications to Linux-Based Devices}.
|
|
|
|
|
|
|
|
|
|
\image qtcreator-qnx-deployment.png "Deploy to device"
|
|
|
|
|
|
|
|
|
|
The files to be installed are listed in the \gui {Deployment} step,
|
|
|
|
|
the \gui {Files to install for subproject} field. The \gui {Local File Path}
|
|
|
|
|
field displays the location of the file on the development PC. The
|
|
|
|
|
\gui {Remote Directory} field displays the folder where the file is
|
|
|
|
|
installed on the device. Text in red color indicates that the information is
|
|
|
|
|
missing. Edit the qmake
|
2013-03-13 10:29:46 +01:00
|
|
|
\l{http://qt-project.org/doc/qt-5.0/qtdoc/qmake-variable-reference.html#installs}
|
2012-08-22 11:15:04 +02:00
|
|
|
{INSTALLS variable} in the project .pro file to add the missing files.
|
|
|
|
|
|
|
|
|
|
When you run the application, \QC copies the necessary files to the device
|
|
|
|
|
and starts the application on it.
|
2012-06-29 07:23:13 +02:00
|
|
|
*/
|