Skip to content
Snippets Groups Projects
Commit f09e7897 authored by jkito's avatar jkito :skull: Committed by jkito
Browse files

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
parent 80c6232e
Branches
Tags
1 merge request!250Fixes misc build related issues and a bug on macOS that uses wrong app icon on stage manager
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment