aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlbasicapp/BasicExtension/ESModule.mjs
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2022-02-01 11:01:50 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-02-01 22:04:40 +0000
commit5d38f9641bf8f867491c434fd2f00d2ccb0de984 (patch)
treeacfbbfc8543e3d7840a03dd26efb683fa8b2136f /tests/auto/qml/qmlbasicapp/BasicExtension/ESModule.mjs
parentf3f1660247d4cd4fac36c394368111338aef6fa8 (diff)
CMake: Include upper case .js and .mjs files in qmldir
You can use them as singletons. Fixes: QTBUG-100326 Change-Id: I8e07600657bd43ba8376279ffe39cfa5d3213c38 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit bf38043b6107cb10bca4be78ecc8bbc20338a61b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/auto/qml/qmlbasicapp/BasicExtension/ESModule.mjs')
-rw-r--r--tests/auto/qml/qmlbasicapp/BasicExtension/ESModule.mjs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlbasicapp/BasicExtension/ESModule.mjs b/tests/auto/qml/qmlbasicapp/BasicExtension/ESModule.mjs
new file mode 100644
index 0000000000..e1424dc501
--- /dev/null
+++ b/tests/auto/qml/qmlbasicapp/BasicExtension/ESModule.mjs
@@ -0,0 +1 @@
+export function eee() { return "eee" }