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.

相关推荐
Jonathan Star2 小时前
Next.js、NestJS、Nuxt.js 是 **Node.js 生态中针对不同场景的框架**
开发语言·javascript·node.js
zhangyao9403305 小时前
关于js导入Excel时,Excel的(年/月/日)日期是五位数字的问题。以及对Excel日期存在的错误的分析和处理。
开发语言·javascript·excel
骑驴看星星a5 小时前
【Three.js--manual script】4.光照
android·开发语言·javascript
星释6 小时前
Rust 练习册 :Leap与日期计算
开发语言·后端·rust
悟能不能悟8 小时前
java的java.sql.Date和java.util.Date的区别,应该怎么使用
java·开发语言
循环过三天8 小时前
3.4、Python-集合
开发语言·笔记·python·学习·算法
_院长大人_10 小时前
设计模式-工厂模式
java·开发语言·设计模式
MATLAB代码顾问10 小时前
MATLAB实现决策树数值预测
开发语言·决策树·matlab
不染尘.11 小时前
2025_11_7_刷题
开发语言·c++·vscode·算法
似水এ᭄往昔11 小时前
【C++】--stack和queue
开发语言·c++