Qt-5.14.2 example

官方历程很丰富,modbus、串口、chart图表、3D、视频

共享方便使用

Building and Running an Example

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 Connecting Android Devices and Connecting iOS Devices.

To run an example application on an embedded 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 in the Qt for Device Creation documentation.

In the Welcome mode, select Examples (1).

If no examples are listed, check that a Qt version is installed and configured.

Select an example in the list of examples.

You can also search for examples. Enter the android or ios keyword in the search field (2) to list all the examples tested for Android or iOS. To list examples that you can run on embedded devices, enter the Boot2Qt keyword in the search field (commercial only).

To check that the application code can be compiled and linked for a device, click the Kit Selector and select a kit for the device.

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.

Click  (Run) to build and run the application.

To see the compilation progress, press Alt+4 to open the Compile Output pane.

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 Build progress bar on the toolbar turns green when the project is successfully built. The application opens on the device.

相关推荐
JAVA面经实录9171 分钟前
集合框架 (六)
java·开发语言
xzlAwin7 分钟前
Go语言多版本管理器g工具命令
开发语言·golang
少控科技10 分钟前
农场设备管理代码(2)
开发语言·c#
周GZ40 分钟前
简单讲解Java中静态方法与 实例方法
java·开发语言
大白同学4212 小时前
初识Qt——创建第一个Qt项目
开发语言·qt
祈禾2 小时前
计算机组成原理之编译、汇编、链接、解释
开发语言·汇编·笔记·学习
吴声子夜歌2 小时前
正则指引——Ruby
开发语言·正则表达式·ruby
nnerddboy2 小时前
Rust教程06:ESP32-rust环境搭建
开发语言·后端·rust
nnerddboy3 小时前
Rust教程03:函数,控制流与所有权
开发语言·后端·rust
linux修理工3 小时前
内存占用 99% 且 Java 程序较多的优化建议
java·开发语言