summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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