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

Investigate allowing users to import a specific style without importing controls first

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Not Evaluated
    • 6.1.0 RC
    • 6.0
    • Quick: Controls 2
    • None
    • a0f0b4f65e96aecc9949d3089a283cdfaeefbb3b (qt/qtquickcontrols2/dev)

    Description

      https://codereview.qt-project.org/c/qt/qtquickcontrols2/+/311816/3#message-0186ccf731d9114b29b8439c086f668be4aa62b0

      The theme instantiation should not be done in the plugin, but rather in qtquickcontrolsimpl, so that we can create the theme on demand in such situations.
      I'm not sure it was qtquickcontrolsimpl, but somewhere in a shared piece of code available to all styles.

      The idea that Ulf is proposing is that

      import QtQuick.Controls.Material
      

      should be a supported way of setting the style.

      Attachments

        Issue Links

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

          Activity

            People

              mitch_curtis Mitch Curtis
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes