Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.3
-
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
For Gerrit Dashboard: QTBUG-99311 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
391799,4 | qquickwindowmodule: Properly expose Visibility enum | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
392587,2 | qquickwindowmodule: Properly expose Visibility enum | 6.2 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
392588,2 | qquickwindowmodule: Properly expose Visibility enum | 6.3 | qt/qtdeclarative | Status: MERGED | +2 | 0 |