Browse Source

Improve qmake configuration file for cross compilation

adaptive-webui-19844
brvphoenix 4 years ago
parent
commit
05bd0e5570
  1. 4
      src/src.pro

4
src/src.pro

@ -68,8 +68,8 @@ include(base/base.pri)
!nowebui: include(webui/webui.pri) !nowebui: include(webui/webui.pri)
isEmpty(QMAKE_LRELEASE) { isEmpty(QMAKE_LRELEASE) {
win32: QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease.exe win32: QMAKE_LRELEASE = $$[QT_HOST_BINS]/lrelease.exe
else: QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease else: QMAKE_LRELEASE = $$[QT_HOST_BINS]/lrelease
unix { unix {
equals(QT_MAJOR_VERSION, 5) { equals(QT_MAJOR_VERSION, 5) {
!exists($$QMAKE_LRELEASE): QMAKE_LRELEASE = lrelease-qt5 !exists($$QMAKE_LRELEASE): QMAKE_LRELEASE = lrelease-qt5

Loading…
Cancel
Save