diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-02-18 11:40:31 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-02-24 08:33:21 +0100 |
commit | 120eb155ef1f0da51c473b080880169a85e5ceb2 (patch) | |
tree | b8bc85734d68f125d424b1f45f2576d20c885a43 /src/imports/tooling/Parameter.qml | |
parent | ae68d95b8c1c56ae907cbe88122dd79bafd20b72 (diff) |
qmllint: Check for existence of property types
For each binding there should be a property and that property should
have a type we recognize.
Enums can be property types in C++. We support this by adding child
scopes for such enums. The child scopes are then referenced by the
QQmlJSMetaEnums and derive from int.
The test then reveals that we were missing a few properties in
QtQuick.tooling. Add those.
Change-Id: I1deef94393ee0e17d34c2dc5980ebfbf25417f36
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit 08c8e8ac3ba8eb23ae5c158990f5d029ac9988ed)
Diffstat (limited to 'src/imports/tooling/Parameter.qml')
-rw-r--r-- | src/imports/tooling/Parameter.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/tooling/Parameter.qml b/src/imports/tooling/Parameter.qml index 108a80098f..a45f9d33ff 100644 --- a/src/imports/tooling/Parameter.qml +++ b/src/imports/tooling/Parameter.qml @@ -42,4 +42,5 @@ import QML QtObject { required property string name required property string type + property bool isPointer: false } |