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

qmlls: Invalid color "transparent"

    XMLWordPrintable

Details

    Description

      Using the qmlls in Qt Creator on e.g. qtdeclarative/examples/quick/advancedtext/TextSample.qml:

          Rectangle {
              id: statusRectangle
              color: "transparent"
      

      results in

      TextSample.qml:21: warning: Invalid color "transparent". [Quick.color]
      

      Anyhow, "transparent" as a color name is even used in https://doc.qt.io/qt-6/qml-color.html (though only in an example snippet).

      Attachments

        Issue Links

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

          Activity

            People

              fabiankosmale Fabian Kosmale
              kkohne Kai Köhne
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change