本页内容

MCU 开发

操作指南:针对 MCU 进行开发

注意:在 开始针对 MCU 进行开发之前 ,请访问Help >About Plugins ,并确保已启用 Qt for MCUs 插件已启用。

使用 QML 和Qt Quick Controls 的子集,为由微控制器单元 (MCU) 驱动的设备创建用户界面。Qt for MCUs 拥有一个新的图形渲染引擎,该引擎内存占用低,并针对 MCU 及其他资源受限的设备进行了优化。

将 MCU 开发板连接到计算机,为它们构建应用程序。将应用程序部署到 MCU 上以运行和调试它们。

有关Qt for MCUs 参考实现的列表,请参阅Qt for MCUs - 支持的目标平台

要求

要使用Qt Creator 为MCU开发QML应用程序,您需要以下内容:

这些工具链可用于在 Microsoft Windows、Linux 和 macOS 上进行交叉编译。但 Qt XML forQt for MCUs SDK 目前仅支持 Windows 和 Linux 系统。

具体硬件要求因您所开发的硬件平台而异。如需了解更多信息,请参阅:

Qt for MCUs SDK

虽然您可以使用最新版本的Qt Creator 配合任何Qt for MCUs SDK 进行开发,但以下组合已经过测试,运行良好。

Qt Creator 版本Qt for MCUs SDK 版本
18.0.0 或更高版本2.12 或更高版本
17.0.02.11
16.0.02.10
15.0.02.9
13.0.22.8
12.0.22.7
11.0.32.6
10.0.22.5
10.0.02.4
9.0.02.3
7.0.0 至 8.0.22.0 至 2.2
6.0.x1.3 至 2.2
4.12.4 至 5.0.31.3 至 1.9
4.12.2 或 4.12.31.2
4.12.0 或 4.12.11.1
4.11.x1.0

另请参阅 “启用和禁用插件”“如何:针对微控制器进行开发”以及 Qt for MCUs.

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.