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

Since Qt 6 no linkage to libGL.so anymore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.1
    • None
    • Linux/Other display system

    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 ?

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            aral Andriamparany Ralambomahay
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes