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.

相关推荐
寻星探路4 小时前
【深度长文】万字攻克网络原理:从 HTTP 报文解构到 HTTPS 终极加密逻辑
java·开发语言·网络·python·http·ai·https
lly2024066 小时前
Bootstrap 警告框
开发语言
2601_949146536 小时前
C语言语音通知接口接入教程:如何使用C语言直接调用语音预警API
c语言·开发语言
曹牧7 小时前
Spring Boot:如何测试Java Controller中的POST请求?
java·开发语言
KYGALYX7 小时前
服务异步通信
开发语言·后端·微服务·ruby
zmzb01037 小时前
C++课后习题训练记录Day98
开发语言·c++
猫头虎8 小时前
如何排查并解决项目启动时报错Error encountered while processing: java.io.IOException: closed 的问题
java·开发语言·jvm·spring boot·python·开源·maven
YUJIANYUE8 小时前
PHP纹路验证码
开发语言·php
仟濹8 小时前
【Java基础】多态 | 打卡day2
java·开发语言
孞㐑¥8 小时前
算法——BFS
开发语言·c++·经验分享·笔记·算法