Skip to content
Snippets Groups Projects
Unverified Commit b84dbb2d authored by Kali Kaneko's avatar Kali Kaneko
Browse files

[pkg] allow to pass qmake path

parent 436d0437
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,10 @@ then
PATH="`pwd`/../mxe/usr/bin"/:$PATH
CC=x86_64-w64-mingw32.static-gcc
else
QMAKE=`which qmake`
if [ "$QMAKE" == "" ]
then
QMAKE=`which qmake`
fi
fi
......@@ -44,7 +47,7 @@ function buildGoLib {
function buildQmake {
echo "[+] Now building Qml app with Qt qmake"
echo ">> using qmake:" $QMAKE
echo "[+] Using qmake in:" $QMAKE
mkdir -p qtbuild
$QMAKE -o qtbuild/Makefile "CONFIG-=debug CONFIG+=release" $PROJECT
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment