Remove libpng scripts;
[novacoin.git] / mingw64_deps / qt / setup.sh
index e92045c..0e3b6a9 100755 (executable)
@@ -1,11 +1,17 @@
 #!/bin/bash
 
+ROOT=$(pwd)
+
 if [[ ! $(which git) ]]; then
     echo "git is not installed"
     exit -1
 fi
 
-git clone -b 5.15.2 https://github.com/qt/qtbase.git
-git clone -b 5.15.2 https://github.com/qt/qttools.git
-git clone -b 5.15.2 https://github.com/qt/qttranslations.git
+git clone -b 5.15.2 https://github.com/qt/qtbase.git ${ROOT}/qtbase
+git clone -b 5.15.2 https://github.com/qt/qttools.git ${ROOT}/qttools
+git clone -b 5.15.2 https://github.com/qt/qttranslations.git ${ROOT}/qttranslations
+git clone -b 5.15.2 https://github.com/qt/qtdeclarative.git ${ROOT}/qtdeclarative
 
+cd ${ROOT}/qtbase
+patch -s -p1 < ${ROOT}/stack_protector.patch
+cd ${ROOT}