summaryrefslogtreecommitdiffstats
path: root/src/quick3d/imports/animation/qt3dquick3danimationplugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick3d/imports/animation/qt3dquick3danimationplugin.h')
-rw-r--r--src/quick3d/imports/animation/qt3dquick3danimationplugin.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/quick3d/imports/animation/qt3dquick3danimationplugin.h b/src/quick3d/imports/animation/qt3dquick3danimationplugin.h
index 3800194ce..42e0efbef 100644
--- a/src/quick3d/imports/animation/qt3dquick3danimationplugin.h
+++ b/src/quick3d/imports/animation/qt3dquick3danimationplugin.h
@@ -42,13 +42,6 @@
#include <QtQml/qqmlextensionplugin.h>
-static void initResources()
-{
-#ifdef QT_STATIC
- Q_INIT_RESOURCE(qmake_Qt3D_Animation);
-#endif
-}
-
QT_BEGIN_NAMESPACE
class Qt3DQuick3DAnimationPlugin : public QQmlExtensionPlugin
@@ -56,7 +49,7 @@ class Qt3DQuick3DAnimationPlugin : public QQmlExtensionPlugin
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface/1.0")
public:
- Qt3DQuick3DAnimationPlugin(QObject *parent = 0) : QQmlExtensionPlugin(parent) { initResources(); }
+ Qt3DQuick3DAnimationPlugin(QObject *parent = 0) : QQmlExtensionPlugin(parent) { }
void registerTypes(const char *uri) override;
};