summaryrefslogtreecommitdiffstats
path: root/src/doc/src/b2qt-post-install-setup.qdocinc
diff options
context:
space:
mode:
authorKalle Viironen <kalle.viironen@digia.com>2014-02-21 12:24:09 +0200
committerKalle Viironen <kalle.viironen@digia.com>2014-02-21 12:27:37 +0200
commit436af494659d416cfbd531b8d3ba9fc49e2fa710 (patch)
treeab5e6b48e711a3c3a2e2cd4399ce1b3d34347406 /src/doc/src/b2qt-post-install-setup.qdocinc
parenta10b8b669d357325e9f0b735bcda42758ad2b3d0 (diff)
parent4738811e35a559d238ba20703eb792fca8f5756b (diff)
Merge branch 'stable' into releaseQtEE_v2.0.0
* stable: (90 commits) Doc: Document support services for Yocto recipes doc: minor changes to customization inline code blocks Doc: Clarify which Qt Creator templates work out of the box Doc: Fix missing sudo for i.MX6 embedded Linux deployment Doc: Fixed 32bit package install command for newer ubuntu versions doc: add quide how to use b2qt_build_scripts Doc: Add instructions how to install newer VirtualBox [Wifi] Fix initialization code Doc: Explain about disabling surfaceflinger Enable internet on eAndroid emulator Doc: Add instructions for building Boot2Qt demos Doc: Troubleshooting entry for BeagleBone Black HDMI issues Don't use wifi on Emulator Doc: Document building your own embedded linux stack Update copyright year Doc: Fix the 2.0 release date Doc: ChangeLog: Remove 'black screen after exit' from bugfixes Doc: Use a global Qt documentation template Doc: Add changelog Disable QConnectivity daemon on emulator ... Change-Id: I25ba7e19677c3d91d5e78ab68291296face3c073
Diffstat (limited to 'src/doc/src/b2qt-post-install-setup.qdocinc')
-rw-r--r--src/doc/src/b2qt-post-install-setup.qdocinc100
1 files changed, 72 insertions, 28 deletions
diff --git a/src/doc/src/b2qt-post-install-setup.qdocinc b/src/doc/src/b2qt-post-install-setup.qdocinc
index 4733aa8..7fac266 100644
--- a/src/doc/src/b2qt-post-install-setup.qdocinc
+++ b/src/doc/src/b2qt-post-install-setup.qdocinc
@@ -1,52 +1,96 @@
+/****************************************************************************
+**
+** Copyright (C) 2014 Digia Plc
+** All rights reserved.
+** For any questions to Digia, please use the contact form at
+** http://qt.digia.com/
+**
+** This file is part of Qt Enterprise Embedded.
+**
+** Licensees holding valid Qt Enterprise licenses may use this file in
+** accordance with the Qt Enterprise License Agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia.
+**
+** If you have questions regarding the use of this file, please use
+** the contact form at http://qt.digia.com/
+**
+****************************************************************************/
/*!
//! [setting up usb access]
- On Ubuntu Linux you have to grant your development user access to
- plugged in devices. This is done by creating a new \e{udev} rule
- that allows access to the device via USB. First, run the following
- command in a shell:
+ On Ubuntu Linux, the development user account must have access to plugged in
+ devices. To allow the development user access to the device via USB, create
+ a new \e{udev} rule:
+
+ \list 1
+
+ \li Run the following command in a shell:
\code
- echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", TAG+="udev-acl"' | sudo tee -a /etc/udev/rules.d/70-boot2qt.rules
+ echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", TAG+="udev-acl", TAG+="uaccess"' | sudo tee -a /etc/udev/rules.d/70-boot2qt.rules
\endcode
- Now connect the running device to the development host with a USB
- cable. (If already connected, disconnect and reconnect the USB
- cable after running the command above).
+ \li Connect the running device to the development host with a USB
+ cable. If the device is already connected, disconnect and reconnect the USB
+ cable after running the command above.
- On \B2QA, you can confirm that the connection is working by running
- this shell command:
+ \li On \B2QA, you can confirm that the connection is working by running
+ the following shell command:
\code
- <SDK_INSTALL_DIR>/targets/android-utils/bin/adb devices
+ <INSTALL_DIR>/Tools/b2qt/adb devices
\endcode
- The output should be a list of connected android devices,
- identified with a serial number and a name. Note that the emulator
- may be listed as well, its serial number will be its IP and port
- number (\c{192.168.56.101:5555}). If your device is missing from
+ The output should be a list of connected Android devices,
+ identified with a serial number and a name. If your device is missing from
the list, or the serial number is \c{??????}, the connection is
- not working properly. If so, check that the device is powered up,
- and that the USB cable has been disconnected and reconnected.
+ not working properly. Check that the device is powered on, and disconnect
+ and reconnect the USB cable.
+
+ The emulator may be listed as well. Its serial number is its IP and the port
+ number: \c{192.168.56.101:5555}.
+ \endlist
The system log files \c{/var/log/udev} and \c{/var/log/syslog} may
provide relevant information in case of connection problems.
//! [setting up usb access]
//! [configuring device kit]
- After the hardware has been prepared, there is one final step required
- to set up the development tools in Qt Creator for your device.
-
- You have to configure the right device to be used for each \b{Kit}.
-
- To do so, connect your device to your computer via USB and launch
- Qt Creator (\B2Q IDE). Then,
+ After you have prepared the hardware, you must perform one final step
+ to set up the development tools in Qt Creator for your device. That is,
+ you must configure the correct device to be used for each build and run
+ \e{kit}. Connect your device to the development host via USB and launch
+ Qt Creator. In Qt Creator:
+//! [steps for device kit]
\list 1
- \li Go to \b{Tools > Options > Build & Run > Kits}
- \li Select one of the predefined Kits starting with \e{Boot2Qt...}
+ \li Select \b{Tools > Options > Build & Run > Kits}.
+ \li Select one of the predefined kits starting with \e{Boot2Qt...}
that matches the type of your device.
- \li Select the correct device in the \b{Device} combobox.
- \li Click \b{Ok}.
+ \li Select the correct device in the \b{Device} field.
+ \li Select \b{OK}.
\endlist
+//! [steps for device kit]
//! [configuring device kit]
+
+//! [configuring network device]
+ After you have prepared the hardware, you must set up the development tools
+ in Qt Creator for your device. Connect your device to the network via an
+ Ethernet cable and launch Qt Creator. In Qt Creator:
+
+ \list 1
+ \li Select \b{Tools > Options > Devices > Add}.
+ \li Select \b{Boot2Qt Device} > \b{Start Wizard}.
+ \li Enter the device name and network address. You can check the device
+ address in the \e{Launcher Settings} when the device is running the
+ \B2Q demo.
+ \li Select \b{Finish}.
+ \endlist
+
+ You also have to configure the correct device to be used for each build and
+ run \e{kit}:
+
+ \include b2qt-post-install-setup.qdocinc steps for device kit
+
+//! [configuring network device]
*/