在 YOCTO for IMX6Q 中构建 QT6 失败

Failing in building QT6 in YOCTO for IMX6Q

提问人:ieio 提问时间:11/4/2023 更新时间:11/4/2023 访问量:37

问:

您好,我需要将 QT6 添加到我的 yocto 项目中,但是当我尝试将 qtbase 添加到我的 local.conf 时: IMAGE_INSTALL:append = “ qtbase” 我收到以下错误:

ERROR: Nothing PROVIDES 'virtual/libgbm' (but /home/ieio/imx6QT/layers/meta-qt6/recipes-qt/qt6/qtbase_git.bb DEPENDS on or otherwise requires it)

如果我在 meta-freescale/recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc 中添加 PROVIDES += virtual/libgbm,则无法编译 qtcore:

| ERROR: Feature "gbm": Forcing to "ON" breaks its condition:
|     gbm_FOUND
| Condition values dump:
|     gbm_FOUND = "FALSE"

| CMake Error at cmake/QtBuildInformation.cmake:194 (message):
|   Check the configuration messages for an error that has occurred.
| Call Stack (most recent call first):
|   cmake/QtBuildInformation.cmake:24 (qt_configure_print_summary)
|   cmake/QtBuildInternals/QtBuildInternalsConfig.cmake:568 (qt_print_feature_summary)
|   CMakeLists.txt:211 (qt_build_repo_end)
|
|
| -- Configuring incomplete, errors occurred!

我需要禁用gbm吗?我该怎么做?

优拓 QT6 IMX6

评论

0赞 vermaete 11/4/2023
Yocto 和图层的版本?
0赞 ieio 11/5/2023
Yocto 版本为 4.2。QT 版本 6.6

答: 暂无答案