aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/qnx/creator-deployment-bb10.qdoc
blob: 224aa40ec49e085c79f0e7030fb05b5f62f6cd9f (plain)
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
/****************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (C) 2011 - 2014 Research In Motion
**
** 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 {Qt Creator Manual}
    \previouspage creator-deploying-android.html
    \page creator-deployment-bb10.html
    \nextpage creator-deployment-embedded-linux.html

    \title Deploying Applications to BlackBerry 10 Devices

    To deploy Qt applications to BlackBerry 10 devices:

    \list 1
        \li Select \uicontrol File > \uicontrol {New File or Project}
            > \uicontrol {Application} to create a
            \uicontrol {Qt Quick Application}, \uicontrol {Qt Widgets
            Application}, or \uicontrol {BlackBerry Cascades Application}.
        \li Select a BlackBerry 10 \l{glossary-buildandrun-kit}{kit} for either device or simulator. For more information about adding kits, see \l{Connecting BlackBerry 10 Devices}.
        \li When \QC prompts you to generate a BAR descriptor file, answer
            \uicontrol Yes to generate the file and enable the packaging
            process.
        \li You can use the BAR descriptor editor to customize the appearance and behavior of the application.
        \li You can specify which Qt libraries your application should link to
            in the \uicontrol {Create Packages} deployment step,
            \uicontrol {Package in development mode} option, if you create a
            package in development mode:
        \list
            \li Select \uicontrol {Use Pre-installed Qt} to use Qt libraries
                shipped with the device.
            \li Select \uicontrol{Bundle Qt in Package} to package and use the
                Qt version from the active BlackBerry kit.
            This will significantly increase the size of your package.
            \li To use a deployed Qt version in the device, select
                \uicontrol{Use Deployed Qt} and set the path under
                /accounts/devuser/ where Qt is deployed. To deploy a Qt version
                select \uicontrol {Deploy Now}.
            \image qtcreator-blackberry-deployQt.png "Use deployed Qt."
        \endlist
    \endlist

    The BAR application descriptor file in your project will serve as a template to generate the actual BAR application descriptor file in the build directory
    that is used for packaging. The final BAR application descriptor file
    depends on the options you specify in the \uicontrol {Create Packages}
    deployment step.

    If you have an existing Cascades project created by QNX Momentics IDE, you can import it to \QC:

    \list 1
        \li Select \uicontrol File > \uicontrol {New File or Project} >
            \uicontrol {Import Project} > \uicontrol {Momentics Cascades
            Project} > \uicontrol Choose.
        \li Specify an existing Cascades project created by QNX Momentics IDE.
        \li Specify a location for the newly created \QC project.
    \endlist

    A project import report is generated into import.log file located in your project.

    \note \uicontrol {BlackBerry Cascades Application} and \uicontrol {Momentics
    Cascades Project} projects are available in the \uicontrol {All Templates}
    filter, so you need to set this filter in the top-right corner of the
    \uicontrol {New} dialog to enable those templates.

    \note Currently, the BlackBerry 10 devices and Simulator have Qt 4.8 libraries preinstalled. To use Qt 5 features, you must compile the Qt libraries for BlackBerry 10 yourself. For more information, see \l {http://wiki.qt.io/Building_Qt5_for_Blackberry}{Building Qt5 for BlackBerry}.

    For more details please refer to the Qt-Project wiki page: \l {http://wiki.qt.io/BlackBerry}{Qt for BlackBerry}.
*/