From a8be52c62aa2a21d1eceaf55586c53b39f508410 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 10 Nov 2019 01:38:17 -0500 Subject: rbutil: fix windows release build This fixes two of them: not finding the lrelease binary and not compiling for C++11 (which is required by some Qt headers now). Change-Id: I3c0eb3c2002c3ce7a2eeea877db5fa6942c9b2ba --- rbutil/rbutilqt/rbutilqt.pro | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'rbutil/rbutilqt') 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 -- cgit v1.2.3