forked from len0rd/rockbox
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
This commit is contained in:
parent
a5f228eee2
commit
a8be52c62a
1 changed files with 4 additions and 1 deletions
|
|
@ -107,7 +107,8 @@ QMAKE_EXTRA_TARGETS += tags
|
||||||
|
|
||||||
# add a custom rule for making the translations
|
# add a custom rule for making the translations
|
||||||
LRELEASE = $$[QT_INSTALL_BINS]/lrelease
|
LRELEASE = $$[QT_INSTALL_BINS]/lrelease
|
||||||
win32:!cross {
|
|
||||||
|
win32:!cross:!exists($$LRELEASE) {
|
||||||
LRELEASE = $$[QT_INSTALL_BINS]/lrelease.exe
|
LRELEASE = $$[QT_INSTALL_BINS]/lrelease.exe
|
||||||
}
|
}
|
||||||
lrelease.commands = $$LRELEASE -silent $$_PRO_FILE_
|
lrelease.commands = $$LRELEASE -silent $$_PRO_FILE_
|
||||||
|
|
@ -164,6 +165,8 @@ contains(QT_MAJOR_VERSION, 5) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CONFIG += c++11
|
||||||
|
|
||||||
dbg {
|
dbg {
|
||||||
CONFIG += debug thread qt warn_on
|
CONFIG += debug thread qt warn_on
|
||||||
DEFINES += DBG
|
DEFINES += DBG
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue