aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/javascriptMethodsInModuleGood.qml
diff options
context:
space:
mode:
authorEvgeniy A. Dushistov <dushistov@mail.ru>2020-08-21 15:50:52 +0300
committerEvgeniy A. Dushistov <dushistov@mail.ru>2020-08-22 15:36:44 +0300
commita29eb1c15200363a175c1b3a9ad2189b63b9765f (patch)
treec2dbe0ddf5e6268fdd0f1ae03d7ce0b67f569d0c /tests/auto/qml/qmllint/data/javascriptMethodsInModuleGood.qml
parent538f1b7dd65b1aa6133e1adb8b6d893ab366173e (diff)
qmllint: fix import java scripts from module
Fixes: QTBUG-86183 Change-Id: I4809cb5a408eb4e668f802cf0d7b7a872d1ed4b7 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmllint/data/javascriptMethodsInModuleGood.qml')
-rw-r--r--tests/auto/qml/qmllint/data/javascriptMethodsInModuleGood.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/javascriptMethodsInModuleGood.qml b/tests/auto/qml/qmllint/data/javascriptMethodsInModuleGood.qml
new file mode 100644
index 0000000000..d0ee66bf4d
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/javascriptMethodsInModuleGood.qml
@@ -0,0 +1,6 @@
+import QtQml 2.0
+import ModuleWithJS
+
+QtObject {
+ objectName: Foo.somefunc()
+}