0e3b6a98ccaa6f0c9ab9cfd6aa4f82a506e6527f
[novacoin.git] / mingw64_deps / qt / setup.sh
1 #!/bin/bash
2
3 ROOT=$(pwd)
4
5 if [[ ! $(which git) ]]; then
6     echo "git is not installed"
7     exit -1
8 fi
9
10 git clone -b 5.15.2 https://github.com/qt/qtbase.git ${ROOT}/qtbase
11 git clone -b 5.15.2 https://github.com/qt/qttools.git ${ROOT}/qttools
12 git clone -b 5.15.2 https://github.com/qt/qttranslations.git ${ROOT}/qttranslations
13 git clone -b 5.15.2 https://github.com/qt/qtdeclarative.git ${ROOT}/qtdeclarative
14
15 cd ${ROOT}/qtbase
16 patch -s -p1 < ${ROOT}/stack_protector.patch
17 cd ${ROOT}