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

Qt 5.12.0 -> 5.12.1 regression: configure in 5.12.1 fails for opengles2 for rpi3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.12.3, 5.14.0 Alpha
    • 5.12.1
    • Build System
    • None
    • Linux/Other display system
    • d8323376670fdc65e4a4a654def8b78b650bdbe7 (qt/qtbase/5.12)

      In 5.12.0 and prior, I used to successfully configure my compilation for rpi3 using -opengl es2 and -eglfs options. With the same configure parameters, In 5.12.1 and up-to-date 5.12.2 git branch those config tests fail.

       

      Qt 5.12.0 config.log:

      looking for library opengl_es2
      Trying source 0 (type pkgConfig) of library opengl_es2 ...
      pkg-config use disabled globally.
       => source produced no result.
      Trying source 1 (type makeSpec) of library opengl_es2 ...
      + cd /build/config.tests/opengl_es2 && /build/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" -early "CONFIG += cross_compile" 'QMAKE_USE += opengl_es2' 'QMAKE_LIBS_OPENGL_ES2 = -L=/opt/vc/lib -L=/opt/vc/lib -lGLESv2' 'QMAKE_INCDIR_OPENGL_ES2 = =/opt/vc/include =/opt/vc/include/interface/vcos/pthreads =/opt/vc/include/interface/vmcs_host/linux' /build/config.tests/opengl_es2
      + cd /build/config.tests/opengl_es2 && MAKEFLAGS= /usr/bin/make
      > /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -w -fPIC -I. -I=/opt/vc/include -I=/opt/vc/include/interface/vcos/pthreads -I=/opt/vc/include/interface/vmcs_host/linux -I/build/mkspecs/devices/linux-rasp-pi3-g++ -o main.o main.cpp
      > /usr/bin/g++ -mfloat-abi=hard -Wl,-O1 -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -o opengl_es2 main.o -L=/opt/vc/lib -lGLESv2 
       => source accepted.
      test config.qtbase_gui.libraries.opengl_es2 succeeded

       

      Qt 5.12.1 and above config.log:

      looking for library opengl_es2
      Trying source 0 (type pkgConfig) of library opengl_es2 ...
      pkg-config use disabled globally.
       => source produced no result.
      Trying source 1 (type makeSpec) of library opengl_es2 ...
      Library path =/opt/vc/lib is invalid.
      Library path =/opt/vc/lib is invalid.
      None of [libGLESv2.so libGLESv2.a] found in [=/opt/vc/lib] and global paths.
       => source produced no result.
      test config.qtbase_gui.libraries.opengl_es2 FAILED

        1. build_qt.log
          187 kB
          Herbert Miller
        For Gerrit Dashboard: QTBUG-74326
        # Subject Branch Project Status CR V

            jbornema Joerg Bornemann
            asaezper Alfredo Sáez
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes