为 VxWorks 设备创建工具包

要为 VxWorks 开发 Qt 应用程序,请为 VxWorks 构建Qt并创建 VxWorks工具包。目前,您可以使用 Qt 6.8 开发应用程序,并为 VxWorks 24.03 设备构建它们。

注意: 启用 VxWorks 插件才能使用。

创建工具包

  1. 转到首选项>Devices >VxWorks

    设备偏好设置中的 VxWorks 选项卡

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

    创建新工具包对话框

  6. Path 中,选择包含 Qt VxWorks 构建用 qmake 的文件夹。
  7. VSB path 中,输入 VxWorks 源代码构建 (VSB) 目录的路径。
  8. Hostname 中,输入设备的主机名或 IP 地址。
  9. Username 中,输入访问设备的用户名。
  10. 选择OK 以创建 VxWorks 工具包。
  11. 转至Projects >Build & Run ,为您的项目激活工具包。

注意: 要部署已构建的软件包,可以在项目的部署配置中添加一个构建步骤,将项目的已构建二进制文件复制到与设备共享的 NFS 目录中。

另请参阅 启用和禁用插件如何使用:VxWorksQt 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.