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

[Reg. 5.9.1->5.9.2] EGL/OpenGLES not found by configure when cross-compiling with Yocto

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.9.2
    • QPA: EGLFS, QPA: X11/XCB
    • None

    Description

      Starting with Qt version 5.9.2, it seems that EGL on X11 is no more supported when compiling Qt libraries to be used on system running X11 server.

      It follows the configuration summary. Error messages can be found at the end.

      The exact same situation works with Qt 5.9.1 version.

      | Configure summary:
      | 
      | Building on: linux-oe-g++ (arm64, CPU features: neon)
      | Building for: linux-oe-g++ (arm64, CPU features: neon)
      | Configuration: cross_compile compile_examples enable_new_dtags largefile neon silent shared release c++11 c++14 c++1z concurrent dbus no-qml-debug reduce_exports stl
      | Build options:
      | Mode ................................... release
      | Optimize release build for size ........ no
      | Building shared libraries .............. yes
      | Using C++ standard ..................... C++1z
      | Using ccache ........................... no
      | Using gold linker ...................... no
      | Using new DTAGS ........................ yes
      | Using precompiled headers .............. no
      | Using LTCG ............................. no
      | Target compiler supports:
      | NEON ................................. yes
      | Build parts ............................ libs tests tools
      | Qt modules and options:
      | Qt Concurrent .......................... yes
      | Qt D-Bus ............................... yes
      | Qt D-Bus directly linked to libdbus .... yes
      | Qt Gui ................................. yes
      | Qt Network ............................. yes
      | Qt Sql ................................. yes
      | Qt Testlib ............................. yes
      | Qt Widgets ............................. yes
      | Qt Xml ................................. yes
      | Support enabled for:
      | Using pkg-config ....................... yes
      | QML debugging .......................... no
      | udev ................................... yes
      | Using system zlib ...................... yes
      | Qt Core:
      | DoubleConversion ....................... yes
      | Using system DoubleConversion ........ no
      | GLib ................................... yes
      | iconv .................................. no
      | ICU .................................... no
      | Logging backends:
      | journald ............................. no
      | syslog ............................... no
      | slog2 ................................ no
      | Using system PCRE2 ..................... no
      | Qt Network:
      | getaddrinfo() .......................... yes
      | getifaddrs() ........................... yes
      | IPv6 ifname ............................ yes
      | libproxy ............................... no
      | OpenSSL ................................ yes
      | Qt directly linked to OpenSSL ........ no
      | SCTP ................................... no
      | Use system proxies ..................... yes
      | Qt Gui:
      | Accessibility .......................... yes
      | FreeType ............................... yes
      | Using system FreeType ................ yes
      | HarfBuzz ............................... no
      | Using system HarfBuzz ................ no
      | Fontconfig ............................. yes
      | Image formats:
      | GIF .................................. no
      | ICO .................................. no
      | JPEG ................................. yes
      | Using system libjpeg ............... yes
      | PNG .................................. yes
      | Using system libpng ................ yes
      | EGL .................................... no
      | OpenVG ................................. no
      | OpenGL:
      | Desktop OpenGL ....................... no
      | OpenGL ES 2.0 ........................ no
      | OpenGL ES 3.0 ........................ no
      | OpenGL ES 3.1 ........................ no
      | Session Management ..................... no
      | Features used by QPA backends:
      | evdev .................................. yes
      | libinput ............................... yes
      | INTEGRITY HID .......................... no
      | mtdev .................................. no
      | tslib .................................. yes
      | xkbcommon-evdev ........................ yes
      | QPA backends:
      | DirectFB ............................... no
      | EGLFS .................................. no
      | LinuxFB ................................ no
      | VNC .................................... yes
      | Mir client ............................. no
      | X11:
      | Using system-provided XCB libraries .. yes
      | EGL on X11 ........................... no
      | Xinput2 .............................. yes
      | XCB XKB .............................. yes
      | XLib ................................. yes
      | XCB render ........................... yes
      | XCB GLX .............................. yes
      | XCB Xlib ............................. yes
      | Using system-provided xkbcommon ...... yes
      | Qt Widgets:
      | GTK+ ................................... no
      | Styles ................................. Fusion Windows
      | Qt PrintSupport:
      | CUPS ................................... no
      | Qt Sql:
      | DB2 (IBM) .............................. no
      | InterBase .............................. no
      | MySql .................................. no
      | OCI (Oracle) ........................... no
      | ODBC ................................... no
      | PostgreSQL ............................. no
      | SQLite2 ................................ no
      | SQLite ................................. no
      | Using system provided SQLite ......... no
      | TDS (Sybase) ........................... no
      | 
      | Note: -hostbindir is not a subdirectory of -hostprefix.
      | Note: -hostlibdir is not a subdirectory of -hostprefix.
      | Note: -hostdatadir is not a subdirectory of -hostprefix.
      | 
      | Note: Dropped compiler flags '-pthread' when detecting library 'glib'.
      | 
      | Note: Disabling X11 Accessibility Bridge: D-Bus or AT-SPI is missing.
      | 
      | ERROR: Feature 'opengles2' was enabled, but the pre-condition 'config.win32 || (!config.watchos && !features.opengl-desktop && libs.opengl_es2)' failed.
      | 
      | ERROR: Feature 'eglfs' was enabled, but the pre-condition '!config.android && !config.darwin && !config.win32 && features.egl' failed.
      | 
      | ERROR: The OpenGL functionality tests failed!
      | You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2],
      | QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.
      

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            stefano.maghini stefano.maghini
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes