From f09e789789032c4fb677dd1122c4d19009db2ebf Mon Sep 17 00:00:00 2001 From: jkito <belter@riseup.net> Date: Sat, 24 Aug 2024 22:32:48 +0530 Subject: [PATCH] qmake: pass RELEASE variable to qmake invocation qmake is not inheriting the env variables from the parent process to work around this, it is directly passed as arg to the qmake invocation --- gui/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/build.sh b/gui/build.sh index 5f3a527c..b31c225e 100755 --- a/gui/build.sh +++ b/gui/build.sh @@ -92,7 +92,7 @@ function buildQmake { echo "[+] Now building Qml app with Qt qmake" echo "[+] Using qmake in:" $QMAKE mkdir -p $QTBUILD - $QMAKE -early QMAKE_CC=$CC QMAKE_CXX=$CXX QMAKE_LINK=$CXX -o "$QTBUILD/Makefile" CONFIG+=release VENDOR_PATH="${VENDOR_PATH}" $PROJECT + $QMAKE -early QMAKE_CC=$CC QMAKE_CXX=$CXX QMAKE_LINK=$CXX -o "$QTBUILD/Makefile" CONFIG+=release VENDOR_PATH="${VENDOR_PATH}" RELEASE=${RELEASE} $PROJECT #CONFIG=+force_debug_info CONFIG+=debug CONFIG+=debug_and_release } -- GitLab