Не удалось при сборке qtwayland в Yocto

Я собираю qt framework с Yocto Rocko, я столкнулся с ошибкой ниже при сборке пакета qtwayland.

| ERROR: Error calling /LTSI4.9/R-Car_SKM3ULCB/LTSI4.4/porter/tmp/work/armv7vehf-neon-vfpv4-agl-linux-gnueabi/qtwayland/5.8.0+gitAUTOINC+0e2a950895-r0/recipe-sysroot-native/usr/bin/qt5/qmake -makefile -o Makefile       /LTSI4.9/R-Car_SKM3ULCB/LTSI4.4/porter/tmp/work/armv7vehf-neon-vfpv4-agl-linux-gnueabi/qtwayland/5.8.0+gitAUTOINC+0e2a950895-r0/git/qtwayland.pro  --   -no-feature-drm-egl-server -no-feature-libhybris-egl-server -no-feature-wayland-brcm -feature-wayland-client -feature-wayland-egl -feature-wayland-server -no-feature-xcomposite-egl -no-feature-xcomposite-glx
| 
| Running configuration tests...
| Done running configuration tests.
| 
| Configure summary:
| 
| Qt Wayland Drivers:
|   EGL .................................... no
|   Rasberry Pi ............................ no
|   XComposite EGL ......................... no
|   XComposite GLX ......................... no
|   DRM EGL ................................ no
|   libhybris EGL .......................... no
| Qt Wayland Client ........................ yes
| Qt Wayland Compositor .................... yes
| 
| Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.
| 
| ERROR: Feature 'wayland-egl' was enabled, but the pre-condition 'features.wayland-client && features.opengl && features.egl && libs.wayland-egl' failed.
| 
| ERROR: Feature 'wayland-egl' was enabled, but the pre-condition 'features.wayland-server && features.opengl && features.egl && libs.wayland-egl' failed.
| 
| Check config.log for details.
| 
| ERROR: Function failed: do_configure (log file is located at .../temp/log.do_configure.16034)

В процессе do_configure произошел сбой процесса сборки. Я считал, что из-за некоторых пропущенных вещей из Wayland-EGL. Любая идея может помочь?

1 ответ

Решение

Я пытаюсь добавить функцию Wayland к функции DISTRO в local.conf

DISTRO_FEATURES_NATIVESDK_append = " wayland"
DISTRO_FEATURES_append = " wayland"

Сборка Yocto теперь успешна. Ура!

15.0 версия qtwayland У меня такая же проблема.

я создал qtwayland_%.bbappend файл включен

PACKAGECONFIG_remove_pn-qtwayland = "xcomposite-glx"

или добавьте выше строку свой local.conf

В моем случае проблема решена.

Другие вопросы по тегам