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

Styles need to be explicitly imported to work with static builds

    XMLWordPrintable

Details

    • 0cd35272fcece740f94841a07081e1c6ab5b4fed

    Description

      If e.g. the Material style is not explicitly imported (in a static build) in QML, the plugin won't be picked up by qmake/qt.prf's static QML import support and the default style will be used instead.

      Either users explicitly import the styles they wish to use with the application, or we add dependencies to each style to controls' qmldir so that they don't need to. The latter is not really an option, because it means they'd get plugins they didn't ask for. So, we should document this for users who are doing static builds.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes