aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qjsengine/qjsengine.pro
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2018-08-15 16:43:13 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-08-16 11:05:28 +0000
commitb8e9ce6b4ecda30ad838c1d3465c428591071a66 (patch)
tree0d9ef453895e305aacd0c90eed89ba8bf0de7b04 /tests/auto/qml/qjsengine/qjsengine.pro
parent67c33f2230e899a230260879a5d90dfcd8e13d8d (diff)
Add API to QJSEngine for importing ECMAScript modules
Now that the standard defines the concept of a module, it makes sense to offer a function in QJSEngine that can read files and load them. [ChangeLog][QtQml][QJSEngine] Added function to import ECMASCript modules from the file system or the Qt resource system. Change-Id: I72f8d49de948872221ac1b54fcfb066404bed9b9 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'tests/auto/qml/qjsengine/qjsengine.pro')
-rw-r--r--tests/auto/qml/qjsengine/qjsengine.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qjsengine/qjsengine.pro b/tests/auto/qml/qjsengine/qjsengine.pro
index c9d78e22a0..ea4d3ea464 100644
--- a/tests/auto/qml/qjsengine/qjsengine.pro
+++ b/tests/auto/qml/qjsengine/qjsengine.pro
@@ -4,5 +4,6 @@ QT += qml qml-private widgets testlib gui-private
macx:CONFIG -= app_bundle
SOURCES += tst_qjsengine.cpp
RESOURCES += qjsengine.qrc
+RESOURCES += testmodule.mjs
TESTDATA = script/*