4
1
mirror of https://github.com/QuasarApp/CQtDeployer.git synced 2025-05-06 22:49:35 +00:00

fixed QIF script

This commit is contained in:
Andrei Yankovich 2020-11-05 09:40:30 +03:00
parent 816b4b2191
commit c171fab73a
2 changed files with 1 additions and 24 deletions
QIFData

@ -10,7 +10,7 @@ unix: PLATFORM = linux
win32:PY = python
unix: PY = python3
qif.commands= $$PY $$PWD/scripts/QIF.py $$PLATFORM 4.0.0 $$PWD/packages/QIF/data
qif.commands= $$PY $$PWD/scripts/QIF.py $$PLATFORM 4.0 $$PWD/packages/QIF/data
alias.commands= $$PY $$PWD/scripts/alias.py
!isEmpty( ONLINE ) {

@ -1,23 +0,0 @@
#!/bin/bash
BASE_DIR=$(dirname "$(readlink -f "$0")")
PLATFORM=$1
VERSION=$2
PATHQIF=$3
if [ -z "$PLATFORM" ]; then
PLATFORM=linux
fi
if [ -d "$PATHQIF/QIF" ]; then
echo if target already executed
exit 0
fi
echo PLATFORM=$PLATFORM
echo VERSION=$VERSION
aqt tool --outputdir $PATHQIF linux tools_ifw $VERSION " "
mkdir -p $PATHQIF/QIF
mv $PATHQIF/Tools/QtInstallerFramework/${VERSION:0:3}/bin/* $PATHQIF/QIF
rm -rdf $PATHQIF/Tools aqtinstall.log