连接设备

You can connect 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, QNX, or Universal Windows Platform (UWP), 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.

The experimental WebAssembly plugin enables you to build your applications in WebAssembly format, to deploy them, and to run them in a web browser.

  • 连接 Android 设备

    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 4.1 (API level 16), or later. You must install a Qt version targeting Android and the Android SDK and NDK to develop for Android 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.

  • 连接一般远程 Linux 设备

    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.

  • 连接 iOS 设备

    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.

  • 连接 MCU

    You can connect MCU boards to a development host to deploy, run, and debug applications on them from Qt Creator.

  • 连接 QNX 设备

    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.