diff options
author | Franklin Wei <franklin@rockbox.org> | 2019-11-10 01:38:17 -0500 |
---|---|---|
committer | Franklin Wei <franklin@rockbox.org> | 2019-11-10 23:09:35 -0500 |
commit | 8d37673a78236a0f5f9c44d462521a8e72bb9bae (patch) | |
tree | d3b79cb87e5acdb10e775560ea78269c6872e45b | |
parent | 43c049b9ade5780e127259094e3ea288a4c3da21 (diff) | |
download | rockbox-8d37673a78236a0f5f9c44d462521a8e72bb9bae.tar.gz rockbox-8d37673a78236a0f5f9c44d462521a8e72bb9bae.zip |
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
-rw-r--r-- | rbutil/rbutilqt/rbutilqt.pro | 5 |
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 |