Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20229

palette.brightText is undefined

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 4.6.0
    • Quick / QML Support
    • None
    • macOS 10.13.4

    Description

      Issue: palette.brightText is undefined

      minimum example:

      import QtQuick 2.10
      import QtQuick.Window 2.10
      
      Window {
          visible: true
          width: 640
          height: 480
          title: qsTr("Hello World")
          SystemPalette { id: pal }
          Rectangle {
              color: pal.brightText
          }
      }
      

      Error: 

      qrc:/main.qml:11:16: Unable to assign [undefined] to QColor
      

      Attachments

        Issue Links

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

          Activity

            People

              mabenell Marco Benelli
              ylilarry ylilarry
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes