aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@digia.com>2014-09-02 14:05:32 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2014-09-03 14:22:04 +0300
commit8e0372422cd83a6f934df3b09bb478c58ce4dd2b (patch)
treecf18069acb18dec9c9fcb6f3105785540db9e013 /src
parentd0c3efdd479e4545ae1fcbc289de6d047742faf5 (diff)
Build softwarecontext plugin using load(qt_plugin)
Should resolve issues with deployment. Change-Id: I268734e5db67d3f2bc3afa603618270985387b30 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src')
-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
-