summaryrefslogtreecommitdiffstats
path: root/src/plugins/qdeclarativeview/qdeclarativeview.pro
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2012-06-02 13:59:08 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-07 10:12:27 +0200
commit7ce30f9e366a120bc4e69674fba0ab5d0a65ca6f (patch)
treef0223bfe5c0896f0d1d9ac8abbeed18d97fa7c62 /src/plugins/qdeclarativeview/qdeclarativeview.pro
parentef4c147e11007a47d4adf49a61d6aeae497574ab (diff)
Move the designer plugin from qttools here
Like this the plugin is together with the functionality and thus automatically gets installed when the module gets installed. Change-Id: I01f9f61d46fb5ef11c5c8f474df8df59865e535c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/plugins/qdeclarativeview/qdeclarativeview.pro')
-rw-r--r--src/plugins/qdeclarativeview/qdeclarativeview.pro18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/plugins/qdeclarativeview/qdeclarativeview.pro b/src/plugins/qdeclarativeview/qdeclarativeview.pro
new file mode 100644
index 00000000..6b63dfb2
--- /dev/null
+++ b/src/plugins/qdeclarativeview/qdeclarativeview.pro
@@ -0,0 +1,18 @@
+TEMPLATE = lib
+TARGET = qdeclarativeview
+CONFIG += qt warn_on plugin designer
+QT += quick1 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
+}
+
+SOURCES += qdeclarativeview_plugin.cpp
+HEADERS += qdeclarativeview_plugin.h
+OTHER_FILES += qdeclarativeview.json