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.

相关推荐
爱滑雪的码农9 分钟前
Java基础十一 流(Stream)、文件(File)和IO
java·开发语言·python
叶小鸡12 分钟前
Java 篇-项目实战-天机学堂(从0到1)-day11
java·开发语言
格林威12 分钟前
线阵工业相机:线阵图像出现“波浪纹”,是机械振动还是编码器问题?
开发语言·人工智能·数码相机·计算机视觉·视觉检测·工业相机·线阵相机
liliangcsdn22 分钟前
LLM如何辅助RAG从大量文档中筛选目标文档
开发语言·人工智能
无忧.芙桃27 分钟前
C++IO库的超详细讲解
开发语言·c++
朗迹 - 张伟35 分钟前
用AI开发QT——Qt与Trae开发环境搭建
开发语言·qt·策略模式
雨辰AI38 分钟前
从 MySQL 迁移至人大金仓 V9 完整改造指南|分页 / 函数 / 语法兼容全部解决
java·开发语言·数据库·后端·mysql·政务
MATLAB代码顾问44 分钟前
改进鲸鱼优化算法(IWOA)求解柔性作业车间调度问题(FJSP)——附MATLAB代码
开发语言·算法·matlab
爱看书的小沐1 小时前
【小沐学GIS】基于C++渲染三维飞行仿真Flight Simulation(OpenGL )第十三期
c++·qt·webgl·opengl·飞行仿真·flight