为 MCU 开发
注: 启用 McuSupport 插件可为 MCU 开发。
使用 QML 和Qt Quick Controls 子集为由微控制器单元(MCU)驱动的设备创建用户界面。Qt for MCUs 具有新的图形渲染引擎,占用内存少,并针对 MCU 和其他资源有限的设备进行了优化。
将 MCU 板连接到计算机,为其构建应用程序。在 MCU 上部署应用程序,以便运行和调试。
有关Qt for MCUs 参考实现的列表,请参见Qt for MCUs - 支持的目标平台。
要求
要使用Qt Creator 为 MCU 开发 QML 应用程序,您需要具备以下条件:
- Qt for MCUs SDK (仅适用于 Windows 和 Linux)
- 合适的工具链
工具链可在 Microsoft Windows、Linux 和 macOS 上交叉编译。不过,Qt forQt for MCUs SDK 目前仅适用于 Windows 和 Linux。
具体的硬件要求因开发的硬件平台而异。更多信息,请参阅
Qt for MCUs SDK
您可以使用最新的Qt Creator 版本来开发任何Qt for MCUs SDK,但以下组合经测试运行良好。
Qt Creator 版本 | Qt for MCUs SDK 版本 |
---|---|
16.0.0 或更高版本 | 2.10 或更高版本 |
15.0.0 | 2.9 |
13.0.2 | 2.8 |
12.0.2 | 2.7 |
11.0.3 | 2.6 |
10.0.2 | 2.5 |
10.0.0 | 2.4 |
9.0.0 | 2.3 |
7.0.0 至 8.0.2 | 2.0 至 2.2 |
6.0.x | 1.3 至 2.2 |
4.12.4 至 5.0.3 | 1.3 至 1.9 |
4.12.2 或 4.12.3 | 1.2 |
4.12.0 或 4.12.1 | 1.1 |
4.11.x | 1.0 |
另请参阅 "启用和禁用插件"、"如何:为 MCU 进行开发 "和" 如何:为 MCU 进行开发"。 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.