forked from qt-creator/qt-creator
Device type + tool chain + other settings -> Kit
We called that "Target" before Change-Id: Ie0d673c643947c26ac2706907f6250fc1739388a Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
This commit is contained in:
@@ -54,8 +54,8 @@
|
||||
|
||||
\image qtcreator-embedded-linux-deployment.png "Deploy to embedded Linux"
|
||||
|
||||
When you run the application on the \gui {Embedded Linux} target, \QC
|
||||
deploys the application as specified by the deploy steps. By default,
|
||||
When you run the application on the \gui {Embedded Linux} device,
|
||||
\QC deploys the application as specified by the deploy steps. By default,
|
||||
\QC copies the application files to the device by using the SSH file
|
||||
transfer protocol (SFTP), as specified by the \gui {Upload files via SFTP}
|
||||
step.
|
||||
@@ -91,7 +91,7 @@
|
||||
|
||||
\section1 Creating Debian Installation Packages
|
||||
|
||||
When you run the application on the \gui{Maemo5} or \gui Harmattan target,
|
||||
When you run the application on the \gui{Maemo5} or \gui Harmattan device,
|
||||
\QC generates a Debian installation package in the build directory by
|
||||
default. You can deliver the installation package to users for installation
|
||||
on devices that are of the same type and run the same firmware as the
|
||||
@@ -117,8 +117,9 @@
|
||||
\note \QC automates this process for you.
|
||||
|
||||
\QC provides templates for a set of files that must be included in Debian
|
||||
packages. When you create a \gui Maemo5 or \gui Harmattan target for a
|
||||
project, \QC asks whether packaging files are to be added to the project and
|
||||
packages. When you start using a \l{glossary-buildandrun-kit}{kit} with
|
||||
\gui Maemo5 or \gui Harmattan device type
|
||||
for a project, \QC asks whether packaging files are to be added to the project and
|
||||
to version control. If you plan to edit the packaging files, add them to
|
||||
version control.
|
||||
|
||||
|
||||
@@ -57,9 +57,10 @@
|
||||
\section1 Starting the Emulator
|
||||
|
||||
The \gui {Start MeeGo Emulator} button is visible if you have a project
|
||||
open in \QC for which you have added the Maemo or MeeGo Harmattan
|
||||
build target. It starts the Maemo or MeeGo Harmattan emulator, depending
|
||||
on the selected target.
|
||||
open in \QC for which you have added a \l{glossary-buildandrun-kit}{kit}
|
||||
with Maemo or MeeGo Harmattan device type.
|
||||
It starts the Maemo or MeeGo Harmattan emulator, depending
|
||||
on the selected kit.
|
||||
|
||||
To start the emulator, click
|
||||
\inlineimage qtcreator-maemo-emulator-button.png "Start MeeGo Emulator button"
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
\section2 Specifying Run Settings for Linux-Based Devices
|
||||
|
||||
To run an application on a Linux-based device target (embedded Linux, MeeGo
|
||||
Harmattan, or Maemo), create and select a device configuration in the run
|
||||
settings for the project.
|
||||
To run an application on a Linux-based device (embedded Linux, MeeGo
|
||||
Harmattan, or Maemo), create and select a device configuration in the
|
||||
\l{glossary-buildandrun-kit}{kit} that is used for building and running the project and set its
|
||||
device type correspondingly.
|
||||
You can also pass command line arguments to your application.
|
||||
|
||||
\image qtcreator-screenshot-run-settings-maemo.png "Run settings for Linux-based devices"
|
||||
@@ -16,7 +17,7 @@
|
||||
|
||||
When you run the application, \QC copies the files to the connected device.
|
||||
|
||||
For MeeGo Harmattan and Maemo targets, \QC also generates an
|
||||
For MeeGo Harmattan and Maemo device types, \QC also generates an
|
||||
installation package in the build directory by default. You can deliver the
|
||||
installation package to users for installation
|
||||
on devices that are of the same type and run the same firmware as the
|
||||
|
||||
@@ -61,7 +61,8 @@
|
||||
|
||||
\list 1
|
||||
|
||||
\o Select the \gui {Maemo5} build target for your project.
|
||||
\o Select the \l{glossary-buildandrun-kit}{kit} with \gui {Maemo5} device type
|
||||
for your project.
|
||||
|
||||
\o Choose \gui {Build > Publish Project}.
|
||||
|
||||
|
||||
@@ -31,17 +31,17 @@
|
||||
|
||||
If you have a tool chain for building applications for embedded Linux
|
||||
devices (with no MADDE support) installed on the development PC, you can add
|
||||
it to \QC. You can then select the \gui {Embedded Linux} target to
|
||||
run applications on embedded Linux devices.
|
||||
it to \QC. You can then select a \l{glossary-buildandrun-kit}{kit}
|
||||
with \gui {Embedded Linux} device type to
|
||||
build and run applications on embedded Linux devices.
|
||||
|
||||
To be able to run and debug applications on embedded Linux devices, you must
|
||||
create device configurations and select them in the \QC run
|
||||
settings.
|
||||
create device configurations and select them in the \QC \l{glossary-buildandrun-kit}{kit}
|
||||
|
||||
You use a wizard to create the connections. You can edit the settings later
|
||||
in \gui {Tools > Options > Linux Devices > Device Configurations}.
|
||||
in \gui {Tools > Options > Devices > Devices}.
|
||||
|
||||
\image qtcreator-linux-device-configurations.png "Device Configurations dialog"
|
||||
\image qtcreator-linux-device-configurations.png "Devices dialog"
|
||||
|
||||
You can protect the connections between \QC and a device by using
|
||||
either a password or an SSH key. If you do not have an SSH key, you can
|
||||
@@ -67,8 +67,8 @@
|
||||
|
||||
\list 1
|
||||
|
||||
\o Select \gui {Tools > Options > Linux Devices > Device
|
||||
Configurations > Add > Generic Linux Device > Start Wizard}.
|
||||
\o Select \gui {Tools > Options > Linux Devices > Devices > Add
|
||||
> Generic Linux Device > Start Wizard}.
|
||||
|
||||
\image qtcreator-screenshot-devconf-linux.png "Connection Data wizard"
|
||||
|
||||
@@ -91,9 +91,10 @@
|
||||
|
||||
\endlist
|
||||
|
||||
\o Select \gui Tools > \gui Options > \gui {Build & Run} > \gui Targets
|
||||
> \gui Add to add a target for building for the device. Select the
|
||||
Qt version, compiler, and device that you added above.
|
||||
\o Select \gui Tools > \gui Options > \gui {Build & Run} > \gui Kits
|
||||
> \gui Add to add a kit for building for the device. Select the
|
||||
Qt version, compiler, and device that you added above, and choose
|
||||
\gui {Generic Linux Device} for the device type.
|
||||
|
||||
\o To specify build settings:
|
||||
|
||||
@@ -102,9 +103,9 @@
|
||||
\o Open a project for an application you want to develop for the
|
||||
device.
|
||||
|
||||
\o Select \gui {Projects > Targets > Add}.
|
||||
\o Select \gui {Projects > Build & Run Settings > Add Kit}.
|
||||
|
||||
\o Select the target that you added above.
|
||||
\o Select the kit that you added above.
|
||||
|
||||
\endlist
|
||||
|
||||
|
||||
Reference in New Issue
Block a user