Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7.1
-
None
Description
I use debian provided Qt5.15.8 into my qt opengl project. I have feature that depends on libGL.so
Since I migrate to Qt6.7.1 , I do not link to libGL.so anymore but to libOpenGL.so
In my cmakelists, I use find_package(OpenGL) and specify here OpenGL GL PREFERENCE to LEGACY in order to use always libGL.so. But it seems it has no effect.
Checking the Qt6::Gui dependancy with ldd shows also the dependance to libEGL.so instead of libGL.so which is the case for Qt5::Gui
Any tips to force again my app to use libGL.so instead of libOpenGL.so with Qt6 ?