adjust to qt_plugin.prf changes

DESTDIR and INSTALLS+=target are set up automatically now, but
PLUGIN_TYPE needs to be defined.

Change-Id: I5dd40f4fb6bfc6723ed96241f41301b32393dd34
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
Oswald Buddenhagen 2012-10-24 15:30:27 +02:00 committed by The Qt Project
parent a154a42fb2
commit a0ec617b21
4 changed files with 8 additions and 16 deletions

View File

@ -1,4 +1,6 @@
TARGET = qmng
PLUGIN_TYPE = imageformats
load(qt_plugin)
HEADERS += qmnghandler_p.h
@ -13,7 +15,3 @@ config_libmng {
}
SOURCES += main.cpp
DESTDIR = $$QT.gui.plugins/imageformats
target.path += $$[QT_INSTALL_PLUGINS]/imageformats
INSTALLS += target

View File

@ -1,4 +1,6 @@
TARGET = qtga
PLUGIN_TYPE = imageformats
load(qt_plugin)
HEADERS += qtgahandler.h \
@ -9,8 +11,4 @@ OTHER_FILES += tga.json
SOURCES += main.cpp
DESTDIR = $$QT.gui.plugins/imageformats
target.path += $$[QT_INSTALL_PLUGINS]/imageformats
INSTALLS += target
symbian: TARGET.UID3=0x20031E99

View File

@ -1,4 +1,6 @@
TARGET = qtiff
PLUGIN_TYPE = imageformats
load(qt_plugin)
HEADERS += qtiffhandler_p.h
@ -11,7 +13,3 @@ config_libtiff {
} else {
include($$PWD/../../../3rdparty/libtiff.pri)
}
DESTDIR = $$QT.gui.plugins/imageformats
target.path += $$[QT_INSTALL_PLUGINS]/imageformats
INSTALLS += target

View File

@ -1,4 +1,6 @@
TARGET = qwbmp
PLUGIN_TYPE = imageformats
load(qt_plugin)
HEADERS += qwbmphandler_p.h
@ -6,7 +8,3 @@ SOURCES += qwbmphandler.cpp
OTHER_FILES += wbmp.json
SOURCES += main.cpp
DESTDIR = $$QT.gui.plugins/imageformats
target.path += $$[QT_INSTALL_PLUGINS]/imageformats
INSTALLS += target