Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-74406 Abstract away the graphics APIs in Qt
  3. QTBUG-78631

Ensure Qt Quick Controls 2 is fully compatible with the QRhi-based rendering path

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Done
    • P2: Important
    • 6.0
    • Qt RHI, Quick: Controls 2
    • None

    Description

      Is there something needed still in quickcontrols2? Apart from Material style patch which is merged already in 5.14. There is some shader code in an autotest at least, do we care about that?

      Update: Imagine style relies on graphicaleffects in about two places. These effects are currently missing when rendering via QRhi is enabled.
      -> https://codereview.qt-project.org/c/qt/qtquickcontrols2/+/299971 adds an own OpacityMask effect implementation so no Graphical Effects dependency is needed anymore.

      In the autotests there are two places where Graphical Effects is used in a scene in the test data. None of these are fatal, apparently: failling to apply the effect (due to the lack of an RHI-compatible shader) still makes said tests pass. The dependency should be removed nonetheless, given that Graphical Effects may not ship with Qt 6.0.

      Some autotest cases use ShaderEffect (e.g. in the Material style's tests). Strangely enough these, while fail to initialize, also still lead to a passing test, so these won't be immediate blockers either.

      Attachments

        For Gerrit Dashboard: QTBUG-78631
        # Subject Branch Project Status CR V

        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