summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/scenegraph/softwarecontext/softwarecontext.pro13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/plugins/scenegraph/softwarecontext/softwarecontext.pro b/src/plugins/scenegraph/softwarecontext/softwarecontext.pro
index d60260c1eb..502a0eb889 100644
--- a/src/plugins/scenegraph/softwarecontext/softwarecontext.pro
+++ b/src/plugins/scenegraph/softwarecontext/softwarecontext.pro
@@ -1,10 +1,11 @@
-TEMPLATE=lib
TARGET=softwarecontext
-CONFIG += plugin
-
QT += gui-private core-private quick-private qml-private
+PLUGIN_TYPE = scenegraph
+PLUGIN_CLASS_NAME = ContextPlugin
+load(qt_plugin)
+
SOURCES += \
context.cpp \
pluginmain.cpp \
@@ -35,9 +36,3 @@ HEADERS += \
OTHER_FILES += softwarecontext.json
-target.path += $$[QT_INSTALL_PLUGINS]/scenegraph
-
-files.path += $$[QT_INSTALL_PLUGINS]/scenegraph
-
-INSTALLS += target files
-