Connecting Mobile Devices | Qt Creator Manual

Qt Creator Manual | Connecting Mobile Devices

Qt Creator Manual 4.3.0

Deploying Applications to QNX Neutrino Devices ◦ Connecting Android Devices

# Connecting Mobile Devices

You can connect mobile devices to the development PC to run, debug, and analyze applications built for them from Qt Creator. When you install Qt for a target platform, such as Android or QNX, the build and run settings for the development targets might be set up automatically in Qt Creator.

You can connect the device to the development PC using a USB connection. Additionally, you can connect Linux-based devices by using a WLAN connection.

- Connecting Android Devices

  Qt applications for Android are compiled as `shared objects` that are loaded by a Java launcher that is part of Qt. This is totally transparent to users. As Qt is composed of libraries referencing each other, Qt 4 applications are only supported on Android version 1.6, or later, and Qt 5 applications on version 2.3.3, or later. You must install a Qt version targeting Android and the Android SDK and NDK to develop for Android devices.

- Connecting Bare Metal Devices

  You can connect bare metal devices to the development PC and use Qt Creator to debug applications on them with GDB or a hardware debugger.

- Connecting Embedded Linux Devices

  If you have a tool chain for building applications for embedded Linux devices installed on the development PC, you can add it and the device to Qt Creator.

- Connecting iOS Devices

  You use the tools delivered with Xcode to connect devices to Qt Creator. Qt Creator detects the tools and configured devices automatically and uses the tools to build, deploy, and run applications.

- Connecting QNX Devices

  You can connect QNX devices to the development PC to deploy, run and debug applications on them from within Qt Creator. This is currently only supported for QNX Neutrino devices, and requires the QNX SDK to be installed on the development PC.

- Connecting Windows Runtime Devices

  You can build Windows Store Apps and run them on Windows Phones, the Windows Phone Emulator, or the Windows computer in Modern UI mode. You can install the necessary tool chains as part of Qt 5.3.

Deploying Applications to QNX Neutrino Devices ◦ Connecting Android Devices