summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2012-10-24 15:40:39 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-01 22:43:02 +0100
commit45483bfae4f59ab92be22007cf49d9d7eee8a16c (patch)
tree92e3e5f3107536b074b887bf86311304bd0df7d7 /src
parentf223d09c4f6417e1872a39bade178d666b9c4b9f (diff)
downloadqtsvg-45483bfae4f59ab92be22007cf49d9d7eee8a16c.tar.gz
adjust to qt_plugin.prf changesv5.0.0-beta2
DESTDIR and INSTALLS+=target are set up automatically now, but PLUGIN_TYPE needs to be defined. Change-Id: Ib813d8bc48dad023322c476ca6f93bae4effa62a Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/iconengines/svgiconengine/svgiconengine.pro6
-rw-r--r--src/plugins/imageformats/svg/svg.pro6
2 files changed, 4 insertions, 8 deletions
diff --git a/src/plugins/iconengines/svgiconengine/svgiconengine.pro b/src/plugins/iconengines/svgiconengine/svgiconengine.pro
index 0e1a3c2..f80b23b 100644
--- a/src/plugins/iconengines/svgiconengine/svgiconengine.pro
+++ b/src/plugins/iconengines/svgiconengine/svgiconengine.pro
@@ -1,4 +1,6 @@
TARGET = qsvgicon
+
+PLUGIN_TYPE = iconengines
load(qt_plugin)
HEADERS += qsvgiconengine.h
@@ -6,7 +8,3 @@ SOURCES += main.cpp \
qsvgiconengine.cpp
OTHER_FILES += qsvgiconengine.json
QT += xml svg gui
-
-DESTDIR = $$QT.svg.plugins/iconengines
-target.path += $$[QT_INSTALL_PLUGINS]/iconengines
-INSTALLS += target
diff --git a/src/plugins/imageformats/svg/svg.pro b/src/plugins/imageformats/svg/svg.pro
index 9645f6e..cdcb084 100644
--- a/src/plugins/imageformats/svg/svg.pro
+++ b/src/plugins/imageformats/svg/svg.pro
@@ -1,11 +1,9 @@
TARGET = qsvg
+
+PLUGIN_TYPE = imageformats
load(qt_plugin)
HEADERS += qsvgiohandler.h
SOURCES += main.cpp \
qsvgiohandler.cpp
QT += xml svg
-
-DESTDIR = $$QT.svg.plugins/imageformats
-target.path += $$[QT_INSTALL_PLUGINS]/imageformats
-INSTALLS += target