summaryrefslogtreecommitdiff
path: root/src/effects/private/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects/private/plugin.cpp')
-rw-r--r--src/effects/private/plugin.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/effects/private/plugin.cpp b/src/effects/private/plugin.cpp
index ebb1dc7..82c35fc 100644
--- a/src/effects/private/plugin.cpp
+++ b/src/effects/private/plugin.cpp
@@ -42,15 +42,9 @@
#include <QtQml/qqmlengine.h>
#include "qgfxsourceproxy_p.h"
-#include "qgfxshaderbuilder_p.h"
QT_BEGIN_NAMESPACE
-static QObject *qgfxshaderbuilder_provider(QQmlEngine *, QJSEngine *)
-{
- return new QGfxShaderBuilder();
-}
-
class QtGraphicalEffectsPrivatePlugin : public QQmlExtensionPlugin
{
Q_OBJECT
@@ -62,7 +56,6 @@ public:
{
Q_ASSERT(QByteArray(uri) == QByteArrayLiteral("QtGraphicalEffects.private"));
qmlRegisterType<QGfxSourceProxy>(uri, 1, 0, "SourceProxy");
- qmlRegisterSingletonType<QGfxShaderBuilder>(uri, 1, 0, "ShaderBuilder", qgfxshaderbuilder_provider);
// The minor version used to be the current Qt 5 minor. For compatibility it is the last
// Qt 5 release.