aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlworkerscript/qqmlworkerscriptmodule_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2019-08-22 16:36:42 +0200
committerUlf Hermann <ulf.hermann@qt.io>2020-01-10 18:01:27 +0100
commit1cd494fbfb3eaf21717697c3c7df39b214b48ee3 (patch)
tree6ec56567a6f3355b1814ac18169d354239a729fc /src/qmlworkerscript/qqmlworkerscriptmodule_p.h
parent8550dff55c62b4f2b588513014b5cad8fe2c5f5b (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 <qt_ci_bot@qt-project.org> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qmlworkerscript/qqmlworkerscriptmodule_p.h')
-rw-r--r--src/qmlworkerscript/qqmlworkerscriptmodule_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qmlworkerscript/qqmlworkerscriptmodule_p.h b/src/qmlworkerscript/qqmlworkerscriptmodule_p.h
index a2efb304c1..b7748d12a0 100644
--- a/src/qmlworkerscript/qqmlworkerscriptmodule_p.h
+++ b/src/qmlworkerscript/qqmlworkerscriptmodule_p.h
@@ -61,7 +61,6 @@ public:
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
static void registerQuickTypes();
#endif
- static void defineModule();
};
QT_END_NAMESPACE