summaryrefslogtreecommitdiffstats
path: root/examples/designer/worldtimeclockplugin/worldtimeclockplugin.pro
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@digia.com>2012-01-03 09:11:05 +0200
committerQt Commercial Integration <QtCommercial@digia.com>2012-01-31 12:25:10 +0200
commit1881310876d62fa12a1724a12b70f30ccd9633bb (patch)
tree537bb68dd662fee654014c90ee16e670763d3c2d /examples/designer/worldtimeclockplugin/worldtimeclockplugin.pro
parent99c0b3427bed90e1c21924ae974ff86cad1ba0c0 (diff)
Designer example plugins build behaviour on debug and release
Change the building of designer example plugins so, that only release version is build when trying to build both. Designer itself is similarly build only as release version and it won't load debug plugins.
Diffstat (limited to 'examples/designer/worldtimeclockplugin/worldtimeclockplugin.pro')
-rw-r--r--examples/designer/worldtimeclockplugin/worldtimeclockplugin.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/designer/worldtimeclockplugin/worldtimeclockplugin.pro b/examples/designer/worldtimeclockplugin/worldtimeclockplugin.pro
index 44500cb40d..b516cdabab 100644
--- a/examples/designer/worldtimeclockplugin/worldtimeclockplugin.pro
+++ b/examples/designer/worldtimeclockplugin/worldtimeclockplugin.pro
@@ -14,6 +14,11 @@ SOURCES = worldtimeclock.cpp \
worldtimeclockplugin.cpp
#! [2]
+build_all:!build_pass {
+ CONFIG -= build_all
+ CONFIG += release
+}
+
# install
target.path = $$[QT_INSTALL_PLUGINS]/designer
sources.files = $$SOURCES $$HEADERS *.pro