Changeset View
Changeset View
Standalone View
Standalone View
image/build-other-qt-tarball
- This file was added.
Property | Old Value | New Value |
---|---|---|
File Mode | null | 100755 |
1 | #!/bin/bash | ||||
---|---|---|---|---|---|
2 | | ||||
3 | set -e | ||||
4 | qtmodule=$1 | ||||
5 | | ||||
6 | echo "$qtmodule: downloading and compiling..." | ||||
7 | curl http://master.qt.io/archive/qt/$qtversionshort/$qtversion/submodules/${qtmodule}-everywhere-src-$qtversion.tar.xz -o $ADIR/${qtmodule}.tar.xz | ||||
8 | cd $ADIR | ||||
9 | tar xf ${qtmodule}.tar.xz | ||||
10 | cd ${qtmodule}-everywhere-src-$qtversion | ||||
11 | $QTPREFIX/bin/qmake | ||||
12 | make -j `getconf _NPROCESSORS_ONLN` | ||||
13 | make install | ||||
14 | cd / | ||||
15 | rm $ADIR/${qtmodule}.tar.xz | ||||
16 | rm -rf $ADIR/${qtmodule}-everywhere-src-$qtversion | ||||
17 | |