From 8e0372422cd83a6f934df3b09bb478c58ce4dd2b Mon Sep 17 00:00:00 2001 From: Andy Nichols Date: Tue, 2 Sep 2014 14:05:32 +0200 Subject: Build softwarecontext plugin using load(qt_plugin) Should resolve issues with deployment. Change-Id: I268734e5db67d3f2bc3afa603618270985387b30 Reviewed-by: Simon Hausmann --- src/plugins/scenegraph/softwarecontext/softwarecontext.pro | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'src/plugins/scenegraph/softwarecontext/softwarecontext.pro') 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 - -- cgit v1.2.3