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

Revise all .pro and in-source QT_CONFIG(opengl) type of conditions

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Qt RHI, Quick: SceneGraph
    • Labels:
      None
    • Technical Risk:
      Normal
    • Commits:
      83fb4f6743860bfb746e6243aad00513d498db4f (qt/qtdeclarative/dev)

      Description

      In Qt 6 many of the QT_CONFIG(opengl) and qtConfig(opengl) (in .pro and CMakeLists) checks become incorrect: with the introduction or RHI a -no-opengl build can still mean Vulkan, Metal, Direct3D, or any QRhi backend other than OpenGL. Or it can mean the Qt Quick software backend.

      See https://code.woboq.org/qt5/qtdeclarative/src/quick/scenegraph/qsgrenderloop.cpp.html#83 for some background on this.

      Once the direct OpenGL purging progresses, this needs to be tackled as well. (it probably not wise to do it too early, however)

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              tvete Paul Olav Tvete
              Reporter:
              lagocs Laszlo Agocs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes