为 VxWorks 设备创建工具包
要为 VxWorks 开发 Qt 应用程序,请为 VxWorks 构建Qt并创建 VxWorks工具包。目前,您可以使用 Qt 6.8 开发应用程序,并为 VxWorks 24.03 设备构建它们。
注意: 启用 VxWorks 插件才能使用。
创建工具包
- 转到首选项>Devices >VxWorks 。

- 在VxWorks installation folder 中,输入 WindRiver 安装程序安装 VxWorks 的目录路径。
- 在NFS export directory for VxWorks devices 中,输入与设备共享的 NFS 目录的路径。
- 选择Add Kit 。
- 在Kit name 中,输入工具包的名称。

- 在Path 中,选择包含 Qt VxWorks 构建用 qmake 的文件夹。
- 在VSB path 中,输入 VxWorks 源代码构建 (VSB) 目录的路径。
- 在Hostname 中,输入设备的主机名或 IP 地址。
- 在Username 中,输入访问设备的用户名。
- 选择OK 以创建 VxWorks 工具包。
- 转至Projects >Build & Run ,为您的项目激活工具包。
注意: 要部署已构建的软件包,可以在项目的部署配置中添加一个构建步骤,将项目的已构建二进制文件复制到与设备共享的 NFS 目录中。
另请参阅 启用和禁用插件、如何使用:VxWorks 和Qt for VxWorks。
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.