summaryrefslogtreecommitdiffstats
path: root/src/plugins/qdeclarativeview/qdeclarativeview.pro
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2012-10-24 15:36:50 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-02 20:24:00 +0100
commit1ecda02d0b90d0a338b661aaae609052aa6b0319 (patch)
treed0ace6ee356fbe8d2faa5ba264918a4c26a76bdb /src/plugins/qdeclarativeview/qdeclarativeview.pro
parentdd288947f065a13ac86b0673dc449fb063c67bc8 (diff)
adjust to qt_plugin.prf changes
DESTDIR and INSTALLS+=target are set up automatically now, but PLUGIN_TYPE needs to be defined. some other setup can be skipped as well. Change-Id: If6e77a42a571e1977875b13bc8519a2cd43df16a Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/plugins/qdeclarativeview/qdeclarativeview.pro')
-rw-r--r--src/plugins/qdeclarativeview/qdeclarativeview.pro14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/plugins/qdeclarativeview/qdeclarativeview.pro b/src/plugins/qdeclarativeview/qdeclarativeview.pro
index 2f8009cb..3381dbec 100644
--- a/src/plugins/qdeclarativeview/qdeclarativeview.pro
+++ b/src/plugins/qdeclarativeview/qdeclarativeview.pro
@@ -1,17 +1,9 @@
-TEMPLATE = lib
TARGET = qdeclarativeview
-CONFIG += qt warn_on plugin designer
QT += declarative widgets designer
-DESTDIR = $$QT.designer.plugins/designer
-contains(TEMPLATE, ".*lib"):TARGET = $$qtLibraryTarget($$TARGET)
-target.path = $$[QT_INSTALL_PLUGINS]/designer
-INSTALLS += target
-
-build_all:!build_pass {
- CONFIG -= build_all
- CONFIG += release
-}
+PLUGIN_TYPE = designer
+CONFIG += tool_plugin
+load(qt_plugin)
SOURCES += qdeclarativeview_plugin.cpp
HEADERS += qdeclarativeview_plugin.h