适用于 webOS 的 Qt
webOS 开源版(webOS OSE)是 LGwebOS 的开源版本。webOS 既支持使用现代 Web 应用程序框架进行开发,也支持使用包括 QtQml语言在内的原生技术进行开发。
使用 Qt 开发 webOS 应用程序
虽然同时支持原生 C++ 和 QML,但建议使用 QML 进行应用程序开发。有关如何为 webOS 开发 QML 应用程序的信息,请参阅LG 的文档。
您还可以观看 LG 在 2019 年 Qt 世界峰会上发表的一场精彩演讲,其中对此进行了详细讨论。
支持的平台与版本
webOS 版本的发布通常包含经过修改的 Qt 版本。meta-webososeYocto 层配置会生成一个定制的 Qt 配置供应用程序依赖。
Qt 公司已验证,webOS OSE 2.26 版本可与使用 Qt 6.12 开发的应用程序兼容。
支持的目标设备是树莓派 4,这是社区目前主要使用的平台。此外还支持 QEMU 模拟器。
支持的开发主机为 Ubuntu 18.04/20.04/22.04。
进一步阅读
请访问https://www.webosose.org/ 了解更多关于 webOS OSE 的信息。
© 2026 The Qt Company Ltd. 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.