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.

相关推荐
qq_40170041几秒前
QStackedLayout 实现遮罩层
qt
liulilittle几秒前
俄罗斯访问欧洲国际线路优化
开发语言·网络·信息与通信·ip·通信·俄罗斯·莫斯科
陈小桔3 分钟前
logging模块-python
开发语言·python
消失的旧时光-19434 分钟前
函数指针 + 结构体 = C 语言的“对象模型”?——从 C 到 C++ / Java 的本质统一
linux·c语言·开发语言·c++·c
!停5 分钟前
C语言栈和队列的实现
开发语言·数据结构
源代码•宸6 分钟前
Golang语法进阶(定时器)
开发语言·经验分享·后端·算法·golang·timer·ticker
期待のcode7 分钟前
TransactionManager
java·开发语言·spring boot
郝学胜-神的一滴8 分钟前
Linux系统编程:深入理解读写锁的原理与应用
linux·服务器·开发语言·c++·程序人生
Larry_Yanan8 分钟前
Qt多进程(十一)Linux下socket通信
linux·开发语言·c++·qt
代码游侠17 分钟前
学习笔记——ESP8266 WiFi模块
服务器·c语言·开发语言·数据结构·算法