diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-03-16 11:20:47 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-03-16 14:08:17 +0100 |
commit | 3e57c56aa1d54ac4587284727ca9c952d33f3e43 (patch) | |
tree | 751d0f973c9e440fbfa24af68b3ed508b167bc52 /tests/auto/qml/qmllint/data | |
parent | 61413825960870ac9390d0aa0431702431c620f2 (diff) |
qmllint: Add QFont to the list of unknown builtins
And also check them when analyzing JavaScript access.
Task-number: QTBUG-82817
Change-Id: I677e7883fb24ab80ff20d1998e2d7df440ef4112
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qmllint/data')
-rw-r--r-- | tests/auto/qml/qmllint/data/ButtonLoader.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/ButtonLoader.qml b/tests/auto/qml/qmllint/data/ButtonLoader.qml new file mode 100644 index 0000000000..2721614735 --- /dev/null +++ b/tests/auto/qml/qmllint/data/ButtonLoader.qml @@ -0,0 +1,10 @@ +import QtQuick 2.12 + +Item { + Text { + id: roundButton + Text { + font.pixelSize: roundButton.font.pixelSize * 0.5 + } + } +} |