diff options
author | Ulf Hermann <[email protected]> | 2019-08-22 16:36:42 +0200 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2020-01-10 18:01:27 +0100 |
commit | 1cd494fbfb3eaf21717697c3c7df39b214b48ee3 (patch) | |
tree | 6ec56567a6f3355b1814ac18169d354239a729fc /src/qmlworkerscript/qmlworkerscript.pro | |
parent | 8550dff55c62b4f2b588513014b5cad8fe2c5f5b (diff) |
Generate registrations for all imports
Now that we can generate all QML type information at build time, we
should also use it.
Move the types for QtTest into the testlib import plugin. They don't
need to be exported from QtQuickTest.
Trigger the resource initialization of the shapes library from the
plugin so that we retain a dependency and the linker doesn't optimize
the module initialization away.
Change-Id: Icc8cb338aa03ef1e3085e29356a5db7b73ba0a01
Reviewed-by: Qt CI Bot <[email protected]>
Reviewed-by: Fabian Kosmale <[email protected]>
Diffstat (limited to 'src/qmlworkerscript/qmlworkerscript.pro')
-rw-r--r-- | src/qmlworkerscript/qmlworkerscript.pro | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qmlworkerscript/qmlworkerscript.pro b/src/qmlworkerscript/qmlworkerscript.pro index 9f5e0e809a..84466062e1 100644 --- a/src/qmlworkerscript/qmlworkerscript.pro +++ b/src/qmlworkerscript/qmlworkerscript.pro @@ -19,4 +19,10 @@ SOURCES += \ include(../3rdparty/masm/masm-defs.pri) +QMLTYPES_FILENAME = plugins.qmltypes +QMLTYPES_INSTALL_DIR = $$[QT_INSTALL_QML]/QtQml/WorkerScript.2 +QML_IMPORT_NAME = QtQml.WorkerScript +IMPORT_VERSION = 2.$$QT_MINOR_VERSION +CONFIG += qmltypes install_qmltypes install_metatypes + load(qt_module) |