aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlviewer/qmlviewer.pro
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2011-05-02 14:03:35 +0200
committerKai Koehne <kai.koehne@nokia.com>2011-05-10 11:38:02 +0200
commit7b337d460c6a1b718259177840ad86ea242e24d9 (patch)
treef8b408636baa6c14ed5e7d8a0106fae29803b3d3 /tools/qmlviewer/qmlviewer.pro
parentf9b198987d2c43395ab4e49532beefbdcf3d2153 (diff)
QmlViewer: Translate UI
Install translators for the Qt & QmlViewer translations. also add QT_NO_CAST_FROM_ASCII, QT_NO_CAST_TO_ASCII to check for untranslated strings. Reviewed-by: Oswald Buddenhagen Task-number: QTBUG-14848 (cherry-picked from commit f33b31dcc1b8fd35501ab5b441a4529e2f8570f3)
Diffstat (limited to 'tools/qmlviewer/qmlviewer.pro')
-rw-r--r--tools/qmlviewer/qmlviewer.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qmlviewer/qmlviewer.pro b/tools/qmlviewer/qmlviewer.pro
index a185bdc9b4..87b5899fcc 100644
--- a/tools/qmlviewer/qmlviewer.pro
+++ b/tools/qmlviewer/qmlviewer.pro
@@ -10,6 +10,8 @@ INCLUDEPATH += ../../include/QtDeclarative
INCLUDEPATH += ../../src/declarative/util
INCLUDEPATH += ../../src/declarative/graphicsitems
+DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII
+
target.path = $$[QT_INSTALL_BINS]
INSTALLS += target