- 
    Bug 
- 
    Resolution: Duplicate
- 
     Not Evaluated Not Evaluated
- 
    None
- 
    5.14.0 Alpha
- 
    None
- 
    Raspbian Stretch
When I compile Qt with -device linux-rasp-pi3-g++, opengl es2 test failed because libGLESv2.so are not found.
For some reason, library names are changed in the latest images.
https://www.raspberrypi.org/forums/viewtopic.php?t=191857#p1203490
diff --git a/mkspecs/devices/linux-rasp-pi3-g+/qmake.conf b/mkspecs/devices/linux-rasp-pi3-g/qmake.conf index b215833486..ba0e2d9226 100644 — a/mkspecs/devices/linux-rasp-pi3-g/qmake.conf +++ b/mkspecs/devices/linux-rasp-pi3-g+/qmake.conf @@ -26,10 +26,10 @@ QMAKE_INCDIR_EGL = \ QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL} -QMAKE_LIBS_OPENGL_ES2 = $${VC_LINK_LINE} -lGLESv2 +QMAKE_LIBS_OPENGL_ES2 = $${VC_LINK_LINE} -lbrcmGLESv2 # The official opt vc EGL references GLESv2 symbols: need to link it -QMAKE_LIBS_EGL = $${VC_LINK_LINE} -lEGL -lGLESv2 +QMAKE_LIBS_EGL = $${VC_LINK_LINE} -lbrcmEGL -lbrcmGLESv2 QMAKE_LIBDIR_BCM_HOST = $$VC_LIBRARY_PATH QMAKE_INCDIR_BCM_HOST = $$VC_INCLUDE_PATH
This fixed the issue. But I'm not sure If I can push the patch to upstream.
- duplicates
- 
                    QTBUG-62216 Raspberry Pi device qmake.conf uses incorrect .so names -         
- Reported
 
-