clone-qt.sh 423 Bytes
Newer Older
Johan Helsing's avatar
Johan Helsing committed
1
#!/bin/bash
Johan Helsing's avatar
Johan Helsing committed
2
set -ex
3 4
qt5_rev=5.11 #maybe set this from the Dockerfile
qtwayland_rev=5.11
Johan Helsing's avatar
Johan Helsing committed
5
rm -rf qt5
6
mkdir qt5
Johan Helsing's avatar
Johan Helsing committed
7
cd qt5
8 9 10 11 12 13 14
git init
git remote add origin https://codereview.qt-project.org/qt/qt5.git
git fetch --depth 1 origin "$qt5_rev"
git checkout FETCH_HEAD

git submodule update --init --depth 1 -- qtbase qtxmlpatterns qtdeclarative qtwayland

Johan Helsing's avatar
Johan Helsing committed
15
cd qtwayland
16 17
git fetch --depth 1 origin "$qtwayland_rev"
git checkout FETCH_HEAD