diff options
author | Evgeniy A. Dushistov <dushistov@mail.ru> | 2021-04-08 02:04:41 +0300 |
---|---|---|
committer | Evgeniy A. Dushistov <dushistov@mail.ru> | 2021-04-13 11:43:45 +0300 |
commit | 8ac9a3f80d7491674097227a8b228b9d894a2de3 (patch) | |
tree | 150909441213168c180b1322cd9d56cef375f52b /tests/auto/qml/qmllint/data/used.qml | |
parent | 9b4bb235cf94721662f0cb07d033d4a10489b5a4 (diff) |
Check also property type names
At the moment, qmllint only check the types of objects and classes
being imported, it totally ignored types of properties that should be
also imported.
Fixes: QTBUG-92449
Change-Id: Ia5173bed84640d93fc48f6239179604ceb5db2cd
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmllint/data/used.qml')
-rw-r--r-- | tests/auto/qml/qmllint/data/used.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/used.qml b/tests/auto/qml/qmllint/data/used.qml index ebb5a4884f..7a3ec0e574 100644 --- a/tests/auto/qml/qmllint/data/used.qml +++ b/tests/auto/qml/qmllint/data/used.qml @@ -2,6 +2,7 @@ import QtQml as Qml import QtQuick as Quick import QtQuick 2.0 as QuickLegacy import QtQuick +import Things Item { property var bar: Qml.QtObject {} @@ -9,4 +10,7 @@ Item { property var foo: Quick.Screen.pixelDensity property var foo2: parent.QuickLegacy.Screen.pixelDensity } + required property Something moo + property bool boolVar: false + property real realVar: 17.17 } |