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

QtQuick Window does not expose enum of visibility property of Window

    XMLWordPrintable

Details

    • 0caeae246d (qt/qtdeclarative/dev) f8b7bfb8c9 (qt/qtdeclarative/6.2) 21a8b75476 (qt/qtdeclarative/6.3) f8b7bfb8c9 (qt/tqtc-qtdeclarative/6.2) 21a8b75476 (qt/tqtc-qtdeclarative/6.3) 0caeae246d (qt/tqtc-qtdeclarative/dev) f8b7bfb8c9 (qt/qtdeclarative/6.2.4)

    Description

      Window has both a regular and an attached `visibility` property. qmllint seems to recoginze only the attached form:

       

      import QtQuick 2.15
      import QtQuick.Window 2.15
      Window {
        visibility: Window.Windowed
        visible: true
        Item {
          property var v: Window.visibility
        }
      }

      results in

      Warning: test.qml:5:3: No type found for property "visibility". This may be due to a missing import statement or incomplete qmltypes files.
       visibility: Window.Windowed
       ^^^^^^^^^^

      Attachments

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

        Activity

          People

            max.goldstein Maximilian Goldstein
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes