summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools
diff options
context:
space:
mode:
authorMontel Laurent <laurent.montel@kdab.com>2012-12-05 14:40:38 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-05 17:29:46 +0100
commit328df640f39906e4af17d5b8aca888289c3535ba (patch)
tree33bbd5933a0a90d7cc5c2ed4a7b7826b55129810 /examples/widgets/tools
parent6a98976791b74dd98afa44c4643d26747f99039e (diff)
Fix compile with -DQT_NO_TRANSLATION
Change-Id: Ia6929f871485476e8b5bb14e7bf8117d0c562841 Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'examples/widgets/tools')
-rw-r--r--examples/widgets/tools/tools.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/widgets/tools/tools.pro b/examples/widgets/tools/tools.pro
index aaf4440d23..f08f7fd6d2 100644
--- a/examples/widgets/tools/tools.pro
+++ b/examples/widgets/tools/tools.pro
@@ -14,6 +14,8 @@ SUBDIRS = \
undo \
undoframework
+contains(DEFINES, QT_NO_TRANSLATION): SUBDIRS -= i18n
+
plugandpaint.depends = plugandpaintplugins
# install