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

Quick needs a way to set a default surface format for all QQuickWindows

    XMLWordPrintable

Details

    • d8fb0b485a604d690504df5b44feaeba5325dd60

    Description

      There is currently no way to set a surface format on a Window from QML. This means that it is not possible to request a given OpenGL version and profile for windows that are created from QML. (unless one resorts to doing this in C++ before the windows gets visible)

      See discussion in https://codereview.qt-project.org/#change,81097

      The easiest solution is to add a static setter to QQuickWindow that sets a QSurfaceFormat which is then used in all QQuickWindow instances.

      This still needs some additional solution to expose the version and profile to QML.

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            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