Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-105232

Build Qt 6.3.1 - EGLFS - X11 error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P1: Critical
    • None
    • 6.3.1
    • Yocto: meta-qt6 layer
    • None
    • Linux Ubuntu
    • Linux/Yocto

    Description

      Hi,

      I'm building meta-qt6 (6.3.1:39eeba2192bdf1227a065cf7e4184ecc15b6d3ac branch) for using EGLFS OpenGL accelerated under X11.

      In my local.conf I've this:
      IMAGE_FEATURES += "splash package-management x11-base hwcodecs"
      DISTRO_FEATURES:append = " opengl bluetooth wifi zeroconf"

      DISTRO_FEATURES:remove = " wayland"
      DISTRO_FEATURES:remove = " vulkan"
      DISTRO_FEATURES:remove = "ptest"
      making this command
       
      bitbake -e qtbase | grep ^PACKAGECONFIG=
      PACKAGECONFIG=" accessibility dbus udev gui widgets icu openssl jpeg png dbus libinput fontconfig harfbuzz zstd gl xcb xkbcommon glib "
       
      from the log.do_configure of qt_base of bitbake

      OpenGL:
      Desktop OpenGL ....................... yes
      OpenGL ES 2.0 ........................ no
      OpenGL ES 3.0 ........................ no
      OpenGL ES 3.1 ........................ no
      OpenGL ES 3.2 ........................ no
      Vulkan ................................. no
      Session Management ..................... yes
      Features used by QPA backends:
      evdev .................................. yes
      libinput ............................... yes
      HiRes wheel support in libinput ........ yes
      INTEGRITY HID .......................... no
      mtdev .................................. no
      tslib .................................. no
      xkbcommon .............................. yes
      X11 specific:
      XLib ................................. yes
      XCB Xlib ............................. yes
      EGL on X11 ........................... yes
      xkbcommon-x11 ........................ yes
      xcb-sm ............................... yes
      QPA backends:
      DirectFB ............................... no
      EGLFS .................................. no
      EGLFS details:
      EGLFS OpenWFD ........................ no
      EGLFS i.Mx6 .......................... no
      EGLFS i.Mx6 Wayland .................. no
      EGLFS RCAR ........................... no
      EGLFS EGLDevice ...................... no
      EGLFS GBM ............................ no
      EGLFS VSP2 ........................... no
      EGLFS Mali ........................... no
      EGLFS Raspberry Pi ................... no
      EGLFS X11 ............................ no
      LinuxFB ................................ no
       
      forcing eglfs in a qtbase_git.bbappend with this:
      PACKAGECONFIG:append = " eglfs"
       
      give this error during the image building:
       
      ERROR: Feature "eglfs": Forcing to "ON" breaks its condition:

      NOT ANDROID AND NOT APPLE AND NOT WIN32 AND NOT WASM AND NOT QNX AND QT_FEATURE_egl
      Condition values dump:
      ANDROID = "0"
      APPLE = ""
      WIN32 = ""
      WASM = "0"
      QNX = "0"
      QT_FEATURE_egl = "OFF"
      CMake Error at cmake/QtBuildInformation.cmake:105 (message):
      Check the configuration messages for an error that has occurred.
      Call Stack (most recent call first):
      cmake/QtBuildInformation.cmake:11 (qt_configure_print_summary)
      cmake/QtBuildInternals/QtBuildInternalsConfig.cmake:494 (qt_print_feature_summary)
      CMakeLists.txt:193 (qt_build_repo_end)
       
      with meta-qt5 this error does not occour and I'm able to give the EGLFS under X11
       
      Could you please help me?
      Best Regards
      Enrico

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sapiippo Samuli Piippo
            peel70 Enrico Pelò
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes