You can test that your Qt installation is successful by opening an existing example application project.
To run an example application on an Android or iOS device, you must set up the development environment for Android or iOS. For more information, see 连接 Android 设备 and 连接 iOS 设备 .
To run an example application on a Boot2Qt device, you must set up Qt for Device Creation on the development host and create connections between the host and devices. For more information, see the Installation Guide 在 Qt for Device Creation 文档编制。
If no examples are listed, check that a Qt version (2) is installed and configured. If you select a Qt for Android or iOS, only the examples tested for Android or iOS are listed.
You can also use tags (3) to filter examples. For instance, enter the Boot2Qt tag (commercial only) in the search field (4) to list examples that you can run on Boot2Qt devices.
If you installed Qt Creator as part of a Qt installation, it should have automatically detected the installed kit. If no kits are available, see Adding Kits .
(
运行
) to build and run the application.
If build errors occur, check that a Qt version and compiler are installed and configured and that the necessary kits are configured. If you are building for an Android device or iOS device , check that the development environment has been set up correctly.
The 构建 progress bar on the toolbar turns green when the project is successfully built. The application opens on the device.