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

Add public API for setting and getting the style from C++

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.7.0 Beta
    • None
    • Quick: Controls 2
    • None
    • 7c73d40b8215e8947b123dd006e7c62e93d396fa

      Currently supported methods are:
      1) command line argument
      2) environment variable
      3) configuration file

      We should add one more to be able to do it from C++. Setting the style works only before loading any QML that uses controls. It should throw a warning if attempted afterwards ie. when QML type registration has been done, so it's too late to change the style.

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

            Unassigned Unassigned
            jpnurmi J-P Nurmi
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes