Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.12.1
-
None
-
-
d8323376670fdc65e4a4a654def8b78b650bdbe7 (qt/qtbase/5.12)
Description
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
Attachments
Issue Links
- is duplicated by
-
QTBUG-74439 configure pre-conditions errors
-
- Closed
-
For Gerrit Dashboard: QTBUG-74326 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
255605,6 | Fix detection of QMAKE_DEFAULT{INC|LIB}DIRS for gcc cross-builds | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |