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

palette.brightText is undefined

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.10
    • Fix Version/s: None
    • Labels:
      None

      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

              Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              mabenell Marco Benelli
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes