From bbf16bd90285658571bc30161e9687e0cc40e387 Mon Sep 17 00:00:00 2001 From: Richard Moe Gustavsen Date: Fri, 2 May 2014 10:55:14 +0200 Subject: Let svg plugins extend svg module svg plugins are by default not linked together with QtGui since its usage is rare. But when the pro file contains Qt += svg, then its the opposite; The application is likely to need the svg plugins. Many of the examples shipped with the SDK fails building on iOS (e.g accelbubble) because of this. Change-Id: I83873d5405fde2b3d38e836057d55fcc2ceb9b6c Reviewed-by: Oswald Buddenhagen --- src/plugins/iconengines/svgiconengine/svgiconengine.pro | 2 +- src/plugins/imageformats/svg/svg.pro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/iconengines/svgiconengine/svgiconengine.pro b/src/plugins/iconengines/svgiconengine/svgiconengine.pro index cf09d14..2b27b3d 100644 --- a/src/plugins/iconengines/svgiconengine/svgiconengine.pro +++ b/src/plugins/iconengines/svgiconengine/svgiconengine.pro @@ -1,7 +1,7 @@ TARGET = qsvgicon PLUGIN_TYPE = iconengines -PLUGIN_EXTENDS = - +PLUGIN_EXTENDS = svg PLUGIN_CLASS_NAME = QSvgIconPlugin load(qt_plugin) diff --git a/src/plugins/imageformats/svg/svg.pro b/src/plugins/imageformats/svg/svg.pro index 9536c0b..26324af 100644 --- a/src/plugins/imageformats/svg/svg.pro +++ b/src/plugins/imageformats/svg/svg.pro @@ -1,7 +1,7 @@ TARGET = qsvg PLUGIN_TYPE = imageformats -PLUGIN_EXTENDS = - +PLUGIN_EXTENDS = svg PLUGIN_CLASS_NAME = QSvgPlugin load(qt_plugin) -- cgit v1.2.1