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

Specifying foreground and background in qtquickcontrols2.conf has no effect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.7.1
    • 5.7
    • Quick: Controls 2
    • None
    • 9b7e62a88b9d86ba6b391bf7abc18cba3c147ed5 dd5f02754320086797e83bb77418c995d6b4d522

    Description

      The background of the following application should be purple/pink when run with both the Material and Universal styles:

      qtquickcontrols2.conf
      [Controls]
      Style=Material
      
      [Material]
      Background=Purple
      
      [Universal]
      Background=Magenta
      
      import QtQuick 2.7
      import QtQuick.Controls 2.0
      
      ApplicationWindow {
          width: 600
          height: 300
          visible: true
      
          Label {
              text: "Hello World"
          }
      }
      

      Foreground also doesn't work.

      Attachments

        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