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

qmlls: Invalid color "transparent"

XMLWordPrintable

    • a4ef8ef8f (dev), 367b90e82 (6.10)

      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).

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes