This commit is contained in:
Martin Rotter 2020-12-08 11:24:26 +01:00
parent 4a241a4b17
commit 5bf51047bf
2 changed files with 15 additions and 1 deletions

View File

@ -22,4 +22,18 @@ if [ $is_linux = true ]; then
sudo apt-get -y install gcc-7 g++-7 qt515tools qt515base qt515webengine
else
pip3 install aqtinstall
QTPATH="$(pwd)/Qt"
QTVERSION="5.15.2"
QTBIN="$QTPATH/$QTVERSION/clang_64/bin"
echo "Qt bin directory is: $QTBIN"
echo "Qt will be installed to: $QTPATH"
aqt install -O "$QTPATH" 5.15.2 mac desktop clang_64 -m qtwebengine
export QT_PLUGIN_PATH="$QTPATH/$QTVERSION/clang_64/plugins"
export PATH="$QTBIN:$PATH"
qmake --version
fi

View File

@ -1,5 +1,5 @@
$os = $args[0]
$qmake_args = $args[1]
echo "We are building for GNU/Linux on Ubuntu."
echo "We are building for MS Windows."
echo "OS: $os; qmake args: $qmake_args"