summaryrefslogtreecommitdiff
path: root/src/quick3d/imports/extras
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2018-04-26 16:56:06 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-05-08 10:36:23 +0000
commitf6411c53d194755dda29524ec650e2e3143810bc (patch)
tree95a7e7589ef73834ecd793065447a226c805714e /src/quick3d/imports/extras
parentdf9f91e7e0e056a93d1c85f56705aaca997b3e9a (diff)
downloadqt3d-f6411c53d194755dda29524ec650e2e3143810bc.tar.gz
Remove the code to manually initialize resources in static builds
After commit be9a56e5e3ced5d0d668fa24e4c65ae928f2e25a in qtbase, this is not needed anymore. Instead the resource system injects the plugin entry point with a reference to all resources. Change-Id: I04a1430720da6ae55fafad04253c23a25a2532cd Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/quick3d/imports/extras')
-rw-r--r--src/quick3d/imports/extras/qt3dquick3dextrasplugin.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/quick3d/imports/extras/qt3dquick3dextrasplugin.h b/src/quick3d/imports/extras/qt3dquick3dextrasplugin.h
index b7c1f5f87..95b5a8717 100644
--- a/src/quick3d/imports/extras/qt3dquick3dextrasplugin.h
+++ b/src/quick3d/imports/extras/qt3dquick3dextrasplugin.h
@@ -45,8 +45,7 @@
static void initResources()
{
#ifdef QT_STATIC
- Q_INIT_RESOURCE(qmake_Qt3D_Extras);
- Q_INIT_RESOURCE(extras);
+ Q_INIT_RESOURCE(extras); // from the Qt3DQuickExtras module
#endif
}