summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt')
-rw-r--r--rbutil/rbutilqt/rbutilqt.pro5
1 files changed, 4 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro
index 43d74e59d7..d5caa77b89 100644
--- a/rbutil/rbutilqt/rbutilqt.pro
+++ b/rbutil/rbutilqt/rbutilqt.pro
@@ -107,7 +107,8 @@ QMAKE_EXTRA_TARGETS += tags
# add a custom rule for making the translations
LRELEASE = $$[QT_INSTALL_BINS]/lrelease
-win32:!cross {
+
+win32:!cross:!exists($$LRELEASE) {
LRELEASE = $$[QT_INSTALL_BINS]/lrelease.exe
}
lrelease.commands = $$LRELEASE -silent $$_PRO_FILE_
@@ -164,6 +165,8 @@ contains(QT_MAJOR_VERSION, 5) {
}
}
+CONFIG += c++11
+
dbg {
CONFIG += debug thread qt warn_on
DEFINES += DBG