mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-20 21:40:00 +08:00
Compare commits
60 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f19d2c9622 | ||
|
|
04ab94c781 | ||
|
|
2c8fbe418c | ||
|
|
89bd3ce5a7 | ||
|
|
2c7db95e7c | ||
|
|
b0e96ff58f | ||
|
|
04ec42b9e1 | ||
|
|
df3c9ce7da | ||
|
|
1bb9546b48 | ||
|
|
0b1af0bb2f | ||
|
|
6995b1e85d | ||
|
|
e7c6dcdb32 | ||
|
|
b037d8f7b1 | ||
|
|
1269f1bc8a | ||
|
|
8de4f42cb6 | ||
|
|
0fdc536920 | ||
|
|
6c6169f292 | ||
|
|
b5e631ad6f | ||
|
|
ed8f84f149 | ||
|
|
e0416f4966 | ||
|
|
2df983757a | ||
|
|
848c4ac3f8 | ||
|
|
7470f97c4e | ||
|
|
3fb0afb7f9 | ||
|
|
e8231a46f2 | ||
|
|
36bedf10de | ||
|
|
cb78b8cfca | ||
|
|
880e750629 | ||
|
|
f1f9b94b00 | ||
|
|
fb7581847e | ||
|
|
da4c2e21b1 | ||
|
|
15e396f7c3 | ||
|
|
ad97fd589f | ||
|
|
25160f24b6 | ||
|
|
2835a4d873 | ||
|
|
f65479ee0c | ||
|
|
5035a69e55 | ||
|
|
bbdeca02e9 | ||
|
|
4b45cd68d4 | ||
|
|
d641d6546b | ||
|
|
a36977963a | ||
|
|
6afffd6985 | ||
|
|
32b5e271a8 | ||
|
|
713188e4af | ||
|
|
0c8536fc0a | ||
|
|
321d5f1488 | ||
|
|
db9682888c | ||
|
|
9be869ba48 | ||
|
|
d4681ee690 | ||
|
|
98fa30e28e | ||
|
|
0874dba009 | ||
|
|
18967fce7d | ||
|
|
3276f075b9 | ||
|
|
eeea4e5c3a | ||
|
|
84ed87b496 | ||
|
|
1a3ff2b1af | ||
|
|
07cc7ef71a | ||
|
|
3e4f86d652 | ||
|
|
43c9b16100 | ||
|
|
d0bbf98cc9 |
88
.gitmodules
vendored
88
.gitmodules
vendored
@@ -1,66 +1,66 @@
|
|||||||
[submodule "qtbase"]
|
[submodule "qtbase"]
|
||||||
path = qtbase
|
path = qtbase
|
||||||
url = ../qtbase.git
|
url = ../qtbase.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtsvg"]
|
[submodule "qtsvg"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtsvg
|
path = qtsvg
|
||||||
url = ../qtsvg.git
|
url = ../qtsvg.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtdeclarative"]
|
[submodule "qtdeclarative"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtxmlpatterns
|
recommends = qtsvg qtxmlpatterns
|
||||||
path = qtdeclarative
|
path = qtdeclarative
|
||||||
url = ../qtdeclarative.git
|
url = ../qtdeclarative.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtactiveqt"]
|
[submodule "qtactiveqt"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtactiveqt
|
path = qtactiveqt
|
||||||
url = ../qtactiveqt.git
|
url = ../qtactiveqt.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtscript"]
|
[submodule "qtscript"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qttools
|
recommends = qttools
|
||||||
path = qtscript
|
path = qtscript
|
||||||
url = ../qtscript.git
|
url = ../qtscript.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = deprecated
|
status = deprecated
|
||||||
[submodule "qtmultimedia"]
|
[submodule "qtmultimedia"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtmultimedia
|
path = qtmultimedia
|
||||||
url = ../qtmultimedia.git
|
url = ../qtmultimedia.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qttools"]
|
[submodule "qttools"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtactiveqt qtwebkit
|
recommends = qtdeclarative qtactiveqt qtwebkit
|
||||||
path = qttools
|
path = qttools
|
||||||
url = ../qttools.git
|
url = ../qttools.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtxmlpatterns"]
|
[submodule "qtxmlpatterns"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtxmlpatterns
|
path = qtxmlpatterns
|
||||||
url = ../qtxmlpatterns.git
|
url = ../qtxmlpatterns.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qttranslations"]
|
[submodule "qttranslations"]
|
||||||
depends = qttools
|
depends = qttools
|
||||||
path = qttranslations
|
path = qttranslations
|
||||||
url = ../qttranslations.git
|
url = ../qttranslations.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = essential
|
status = essential
|
||||||
priority = 30
|
priority = 30
|
||||||
[submodule "qtdoc"]
|
[submodule "qtdoc"]
|
||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
path = qtdoc
|
path = qtdoc
|
||||||
url = ../qtdoc.git
|
url = ../qtdoc.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = essential
|
status = essential
|
||||||
priority = 40
|
priority = 40
|
||||||
[submodule "qtrepotools"]
|
[submodule "qtrepotools"]
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
recommends = qtdeclarative qtlocation qtmultimedia qtsensors qtwebchannel qtxmlpatterns
|
recommends = qtdeclarative qtlocation qtmultimedia qtsensors qtwebchannel qtxmlpatterns
|
||||||
path = qtwebkit
|
path = qtwebkit
|
||||||
url = ../qtwebkit.git
|
url = ../qtwebkit.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = obsolete
|
status = obsolete
|
||||||
project = WebKit.pro
|
project = WebKit.pro
|
||||||
priority = 20
|
priority = 20
|
||||||
@@ -82,7 +82,7 @@
|
|||||||
depends = qtwebkit qttools
|
depends = qtwebkit qttools
|
||||||
path = qtwebkit-examples
|
path = qtwebkit-examples
|
||||||
url = ../qtwebkit-examples.git
|
url = ../qtwebkit-examples.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = obsolete
|
status = obsolete
|
||||||
[submodule "qtqa"]
|
[submodule "qtqa"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
@@ -96,14 +96,14 @@
|
|||||||
recommends = qtdeclarative qtquickcontrols qtserialport
|
recommends = qtdeclarative qtquickcontrols qtserialport
|
||||||
path = qtlocation
|
path = qtlocation
|
||||||
url = ../qtlocation.git
|
url = ../qtlocation.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtsensors"]
|
[submodule "qtsensors"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtsvg
|
recommends = qtdeclarative
|
||||||
path = qtsensors
|
path = qtsensors
|
||||||
url = ../qtsensors.git
|
url = ../qtsensors.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtsystems"]
|
[submodule "qtsystems"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
@@ -136,31 +136,31 @@
|
|||||||
recommends = qtdeclarative qtandroidextras
|
recommends = qtdeclarative qtandroidextras
|
||||||
path = qtconnectivity
|
path = qtconnectivity
|
||||||
url = ../qtconnectivity.git
|
url = ../qtconnectivity.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwayland"]
|
[submodule "qtwayland"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtwayland
|
path = qtwayland
|
||||||
url = ../qtwayland.git
|
url = ../qtwayland.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qt3d"]
|
[submodule "qt3d"]
|
||||||
depends = qtdeclarative qtimageformats
|
depends = qtdeclarative qtimageformats
|
||||||
recommends = qtgamepad
|
recommends = qtgamepad
|
||||||
path = qt3d
|
path = qt3d
|
||||||
url = ../qt3d.git
|
url = ../qt3d.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtimageformats"]
|
[submodule "qtimageformats"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtimageformats
|
path = qtimageformats
|
||||||
url = ../qtimageformats.git
|
url = ../qtimageformats.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtquick1"]
|
[submodule "qtquick1"]
|
||||||
depends = qtscript
|
depends = qtscript
|
||||||
recommends = qtxmlpatterns
|
recommends = qtsvg qtxmlpatterns
|
||||||
path = qtquick1
|
path = qtquick1
|
||||||
url = ../qtquick1.git
|
url = ../qtquick1.git
|
||||||
branch = dev
|
branch = dev
|
||||||
@@ -169,51 +169,51 @@
|
|||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
path = qtgraphicaleffects
|
path = qtgraphicaleffects
|
||||||
url = ../qtgraphicaleffects.git
|
url = ../qtgraphicaleffects.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtquickcontrols"]
|
[submodule "qtquickcontrols"]
|
||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
recommends = qtgraphicaleffects
|
recommends = qtgraphicaleffects
|
||||||
path = qtquickcontrols
|
path = qtquickcontrols
|
||||||
url = ../qtquickcontrols.git
|
url = ../qtquickcontrols.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtserialbus"]
|
[submodule "qtserialbus"]
|
||||||
depends = qtserialport
|
depends = qtserialport
|
||||||
path = qtserialbus
|
path = qtserialbus
|
||||||
url = ../qtserialbus.git
|
url = ../qtserialbus.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtserialport"]
|
[submodule "qtserialport"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtserialport
|
path = qtserialport
|
||||||
url = ../qtserialport.git
|
url = ../qtserialport.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtx11extras"]
|
[submodule "qtx11extras"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtx11extras
|
path = qtx11extras
|
||||||
url = ../qtx11extras.git
|
url = ../qtx11extras.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtmacextras"]
|
[submodule "qtmacextras"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtmacextras
|
path = qtmacextras
|
||||||
url = ../qtmacextras.git
|
url = ../qtmacextras.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwinextras"]
|
[submodule "qtwinextras"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtmultimedia
|
recommends = qtdeclarative qtmultimedia
|
||||||
path = qtwinextras
|
path = qtwinextras
|
||||||
url = ../qtwinextras.git
|
url = ../qtwinextras.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtandroidextras"]
|
[submodule "qtandroidextras"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtandroidextras
|
path = qtandroidextras
|
||||||
url = ../qtandroidextras.git
|
url = ../qtandroidextras.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtenginio"]
|
[submodule "qtenginio"]
|
||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
@@ -226,94 +226,94 @@
|
|||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtwebsockets
|
path = qtwebsockets
|
||||||
url = ../qtwebsockets.git
|
url = ../qtwebsockets.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebchannel"]
|
[submodule "qtwebchannel"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtwebsockets
|
recommends = qtdeclarative qtwebsockets
|
||||||
path = qtwebchannel
|
path = qtwebchannel
|
||||||
url = ../qtwebchannel.git
|
url = ../qtwebchannel.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebengine"]
|
[submodule "qtwebengine"]
|
||||||
depends = qtquickcontrols qtwebchannel
|
depends = qtquickcontrols qtwebchannel
|
||||||
recommends = qtlocation
|
recommends = qtlocation qttools
|
||||||
path = qtwebengine
|
path = qtwebengine
|
||||||
url = ../qtwebengine.git
|
url = ../qtwebengine.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
priority = 10
|
priority = 10
|
||||||
[submodule "qtcanvas3d"]
|
[submodule "qtcanvas3d"]
|
||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
path = qtcanvas3d
|
path = qtcanvas3d
|
||||||
url = ../qtcanvas3d.git
|
url = ../qtcanvas3d.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebview"]
|
[submodule "qtwebview"]
|
||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
recommends = qtwebengine
|
recommends = qtwebengine
|
||||||
path = qtwebview
|
path = qtwebview
|
||||||
url = ../qtwebview.git
|
url = ../qtwebview.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtquickcontrols2"]
|
[submodule "qtquickcontrols2"]
|
||||||
depends = qtgraphicaleffects
|
depends = qtgraphicaleffects
|
||||||
path = qtquickcontrols2
|
path = qtquickcontrols2
|
||||||
url = ../qtquickcontrols2.git
|
url = ../qtquickcontrols2.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtpurchasing"]
|
[submodule "qtpurchasing"]
|
||||||
depends = qtbase qtandroidextras
|
depends = qtbase qtandroidextras
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtpurchasing
|
path = qtpurchasing
|
||||||
url = ../qtpurchasing.git
|
url = ../qtpurchasing.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtcharts"]
|
[submodule "qtcharts"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtmultimedia
|
recommends = qtdeclarative qtmultimedia
|
||||||
path = qtcharts
|
path = qtcharts
|
||||||
url = ../qtcharts.git
|
url = ../qtcharts.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtdatavis3d"]
|
[submodule "qtdatavis3d"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtmultimedia
|
recommends = qtdeclarative qtmultimedia
|
||||||
path = qtdatavis3d
|
path = qtdatavis3d
|
||||||
url = ../qtdatavis3d.git
|
url = ../qtdatavis3d.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtvirtualkeyboard"]
|
[submodule "qtvirtualkeyboard"]
|
||||||
depends = qtbase qtdeclarative qtsvg
|
depends = qtbase qtdeclarative qtsvg
|
||||||
recommends = qtmultimedia qtquickcontrols
|
recommends = qtmultimedia qtquickcontrols
|
||||||
path = qtvirtualkeyboard
|
path = qtvirtualkeyboard
|
||||||
url = ../qtvirtualkeyboard.git
|
url = ../qtvirtualkeyboard.git
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtgamepad"]
|
[submodule "qtgamepad"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtgamepad
|
path = qtgamepad
|
||||||
url = ../qtgamepad
|
url = ../qtgamepad
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = preview
|
status = preview
|
||||||
[submodule "qtscxml"]
|
[submodule "qtscxml"]
|
||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
path = qtscxml
|
path = qtscxml
|
||||||
url = ../qtscxml
|
url = ../qtscxml
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtspeech"]
|
[submodule "qtspeech"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtmultimedia
|
recommends = qtdeclarative qtmultimedia
|
||||||
path = qtspeech
|
path = qtspeech
|
||||||
url = ../qtspeech
|
url = ../qtspeech
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = preview
|
status = preview
|
||||||
[submodule "qtnetworkauth"]
|
[submodule "qtnetworkauth"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtwebview
|
recommends = qtwebview
|
||||||
path = qtnetworkauth
|
path = qtnetworkauth
|
||||||
url = ../qtnetworkauth
|
url = ../qtnetworkauth
|
||||||
branch = 5.8.0
|
branch = 5.8
|
||||||
status = preview
|
status = preview
|
||||||
|
|||||||
49
coin/provisioning/common/01-macos-removethemall.sh
Normal file
49
coin/provisioning/common/01-macos-removethemall.sh
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2016 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the test suite of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
function RemoveDir {
|
||||||
|
param=$1
|
||||||
|
|
||||||
|
if [ ! -d $param ]
|
||||||
|
then
|
||||||
|
echo "'$param' don't exists"
|
||||||
|
else
|
||||||
|
echo "Removing $param..."
|
||||||
|
sudo rm -fr $param
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Remove Android
|
||||||
|
param="/opt/android"
|
||||||
|
RemoveDir $param
|
||||||
@@ -59,3 +59,8 @@ Function Remove-Path {
|
|||||||
Remove C:\Python27
|
Remove C:\Python27
|
||||||
Remove-Path C:\python27\scripts
|
Remove-Path C:\python27\scripts
|
||||||
Remove-Path C:\python27
|
Remove-Path C:\python27
|
||||||
|
|
||||||
|
# Remove Android sdk and ndk
|
||||||
|
Remove C:\utils\android*
|
||||||
|
[Environment]::SetEnvironmentVariable("ANDROID_NDK_HOME",$null,"User")
|
||||||
|
[Environment]::SetEnvironmentVariable("ANDROID_SDK_HOME",$null,"User")
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
$scriptsPath = "C:\Python27\Scripts"
|
$scriptsPath = "C:\Python27\Scripts"
|
||||||
|
|
||||||
& "$scriptsPath\pip.exe" install --upgrade conan==0.16.0
|
& "$scriptsPath\pip.exe" install --upgrade conan==0.20.2
|
||||||
|
|
||||||
[Environment]::SetEnvironmentVariable("CI_CONAN_BUILDINFO_DIR", "C:\Utils\conanbuildinfos", "Machine")
|
[Environment]::SetEnvironmentVariable("CI_CONAN_BUILDINFO_DIR", "C:\Utils\conanbuildinfos", "Machine")
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,29 @@ function Verify-Checksum
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function Extract-7Zip
|
||||||
|
{
|
||||||
|
Param (
|
||||||
|
[string]$Source,
|
||||||
|
[string]$Destination
|
||||||
|
)
|
||||||
|
echo "Extracting '$Source' to '$Destination'..."
|
||||||
|
|
||||||
|
if ((Get-Command "7z.exe" -ErrorAction SilentlyContinue) -eq $null) {
|
||||||
|
$zipExe = join-path ${env:ProgramFiles(x86)} '7-zip\7z.exe'
|
||||||
|
if (-not (test-path $zipExe)) {
|
||||||
|
$zipExe = join-path ${env:ProgramW6432} '7-zip\7z.exe'
|
||||||
|
if (-not (test-path $zipExe)) {
|
||||||
|
throw "Could not find 7-zip."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$zipExe = "7z.exe"
|
||||||
|
}
|
||||||
|
|
||||||
|
& $zipExe x $Source "-o$Destination" -y
|
||||||
|
}
|
||||||
|
|
||||||
function Extract-Zip
|
function Extract-Zip
|
||||||
{
|
{
|
||||||
Param (
|
Param (
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
. "$PSScriptRoot\helpers.ps1"
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
$zip = "c:\users\qt\downloads\jom_1_1_0.zip"
|
$zip = "c:\users\qt\downloads\jom_1_1_2.zip"
|
||||||
|
|
||||||
Invoke-WebRequest -UseBasicParsing http://download.qt.io/official_releases/jom/jom_1_1_0.zip -OutFile $zip
|
Invoke-WebRequest -UseBasicParsing http://download.qt.io/official_releases/jom/jom_1_1_2.zip -OutFile $zip
|
||||||
Verify-Checksum $zip "C4149FE706B25738B4C4E54C73E180B9CAB55832"
|
Verify-Checksum $zip "80EE5678E714DE99DDAF5F7593AB04DB1C7928E4"
|
||||||
Extract-Zip $zip C:\Utils\Jom
|
Extract-Zip $zip C:\Utils\Jom
|
||||||
|
|
||||||
[Environment]::SetEnvironmentVariable("CI_JOM_PATH", "C:\Utils\Jom", "Machine")
|
[Environment]::SetEnvironmentVariable("CI_JOM_PATH", "C:\Utils\Jom", "Machine")
|
||||||
|
|||||||
47
coin/provisioning/common/libusb.ps1
Normal file
47
coin/provisioning/common/libusb.ps1
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
#############################################################################
|
||||||
|
#
|
||||||
|
# Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
# Contact: http://www.qt.io/licensing/
|
||||||
|
#
|
||||||
|
# This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
#
|
||||||
|
# $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
# Commercial License Usage
|
||||||
|
# Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
# accordance with the commercial license agreement provided with the
|
||||||
|
# Software or, alternatively, in accordance with the terms contained in
|
||||||
|
# a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
# and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
# information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
#
|
||||||
|
# GNU Lesser General Public License Usage
|
||||||
|
# Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
# General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
# Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
# LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
# following information to ensure the GNU Lesser General Public License
|
||||||
|
# requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
# http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
#
|
||||||
|
# As a special exception, The Qt Company gives you certain additional
|
||||||
|
# rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
# version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
#
|
||||||
|
# $QT_END_LICENSE$
|
||||||
|
#
|
||||||
|
############################################################################
|
||||||
|
|
||||||
|
# lisbusb-1.0 is needed by tqtc-boot2qt/qdb
|
||||||
|
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
$archive = "C:\users\qt\downloads\libusb-1.0.21.7z"
|
||||||
|
$libusb_location = "C:\Utils\libusb-1.0"
|
||||||
|
|
||||||
|
Download https://vorboss.dl.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.21/libusb-1.0.21.7z http://ci-files01-hki.ci.local/input/libusb-1.0/libusb-1.0.21.7z $archive
|
||||||
|
Verify-Checksum $archive "37c8884a0ddca97d492b8ef3e08970ae3ba20653"
|
||||||
|
|
||||||
|
Extract-7Zip $archive $libusb_location
|
||||||
|
|
||||||
|
# Tell tqtc-boot2qt/qdb build system where to find libusb
|
||||||
|
[Environment]::SetEnvironmentVariable("LIBUSB_PATH", $libusb_location, "Machine")
|
||||||
49
coin/provisioning/common/linux-removethemall.sh
Executable file
49
coin/provisioning/common/linux-removethemall.sh
Executable file
@@ -0,0 +1,49 @@
|
|||||||
|
#!/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# This script removes preinstalled sw.
|
||||||
|
# NOTE! Make sure that ALL software which are removed here have provision script under platrom folders which calls this script
|
||||||
|
|
||||||
|
function RemoveDir {
|
||||||
|
targetFolder=$1
|
||||||
|
|
||||||
|
if [ -d "$targetFolder" ]; then
|
||||||
|
echo "Removing existing $targetFolder..."
|
||||||
|
sudo rm -fr "$targetFolder"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Android
|
||||||
|
RemoveDir /opt/android
|
||||||
3
coin/provisioning/common/memorypershell.ps1
Normal file
3
coin/provisioning/common/memorypershell.ps1
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# This is needed e.g. for Android NDK installation for Windows 7 x86
|
||||||
|
echo "Increase value of MaxMemoryPerShellMB to avoid 'out of memory' exception"
|
||||||
|
set-item wsman:localhost\Shell\MaxMemoryPerShellMB 2048
|
||||||
58
coin/provisioning/common/msvc2015_update.ps1
Normal file
58
coin/provisioning/common/msvc2015_update.ps1
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
# Install Visual Studio $version with $update_version
|
||||||
|
# Original download page: https://www.visualstudio.com/en-us/news/releasenotes/vs2015-update3-vs
|
||||||
|
$version = "2015"
|
||||||
|
$update_version = "3"
|
||||||
|
|
||||||
|
# Only way to install specific Visual studio release is to use feed.xml.
|
||||||
|
# Visual Studio $version setup will use the feed.xml that was available when $update_version released -> 'https://msdn.microsoft.com/en-us/library/mt653628.aspx'
|
||||||
|
# These parameters will install Visual Studio Enterprise Update $update_version (the original Update $update_version without any further Update $update_version-era updates)
|
||||||
|
$parameters = "/OverrideFeedURI http://download.microsoft.com/download/6/B/B/6BBD3561-D764-4F39-AB8E-05356A122545/20160628.2/enu/feed.xml"
|
||||||
|
|
||||||
|
$msvc_web_installer = "vs" + $version + "_" + $update_version
|
||||||
|
$package = "C:\Windows\temp\$msvc_web_installer.exe"
|
||||||
|
$url_cache = "http://ci-files01-hki.ci.local/input/windows/$msvc_web_installer.exe"
|
||||||
|
$url_official = "https://go.microsoft.com/fwlink/?LinkId=691129"
|
||||||
|
$sha1 = "68abf90424aff604a04d6c61fb52adcd2cab2266"
|
||||||
|
|
||||||
|
echo "Fetching Visual Studio $version update $update_version..."
|
||||||
|
Download $url_official $url_cache $package
|
||||||
|
Verify-Checksum $package $sha1
|
||||||
|
echo "Installing Visual studio $version update $update_version..."
|
||||||
|
cmd /c "$package $parameters /norestart /Quiet"
|
||||||
|
remove-item $package
|
||||||
|
|
||||||
|
echo "Visual Studio = $version update $update_version" >> ~\versions.txt
|
||||||
43
coin/provisioning/common/version.sh
Executable file
43
coin/provisioning/common/version.sh
Executable file
@@ -0,0 +1,43 @@
|
|||||||
|
#!/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2016 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the test suite of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# This script will print all installed software to provision log.
|
||||||
|
# Script needs to be named so that it will be ran at last during provisioning
|
||||||
|
|
||||||
|
# Print all build machines versions to provision log
|
||||||
|
echo "*********************************************"
|
||||||
|
echo "***** SW VERSIONS *****"
|
||||||
|
cat ~/versions.txt
|
||||||
|
echo "*********************************************"
|
||||||
117
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/android_linux.sh
Normal file
117
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/android_linux.sh
Normal file
@@ -0,0 +1,117 @@
|
|||||||
|
#!/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2016 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the test suite of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# This script install Android sdk and ndk.
|
||||||
|
|
||||||
|
# It also runs update for SDK API level 18, latest SDK tools, latest platform-tools and build-tools version 23.0.3
|
||||||
|
|
||||||
|
# Build-tools version 23.0.3 is the latest usable version for Red Hat 6. Newer version of build-tools, version 24.x.x, requires GLIBC_2.14, which is not available in Red Hat 6.
|
||||||
|
|
||||||
|
# Android 16 is the minimum requirement for Qt 5.7 applications, but we need something more recent than that for building Qt itself.
|
||||||
|
# E.g The Bluetooth features that require Android 18 will disable themselves dynamically when running on an Android 16 device.
|
||||||
|
# That's why we need to use Andoid-18 API version and decision was made to use it also with Qt 5.6.
|
||||||
|
|
||||||
|
set -e
|
||||||
|
targetFolder="/opt/android"
|
||||||
|
baseUrl="http://ci-files01-hki.ci.local/input/android"
|
||||||
|
|
||||||
|
# SDK
|
||||||
|
sdkPackage="android-sdk_r24.4.1-linux.tgz"
|
||||||
|
sdkBuildToolsVersion="23.0.3"
|
||||||
|
sdkApiLevel="android-18"
|
||||||
|
sdkUrl="$baseUrl/$sdkPackage"
|
||||||
|
sdkSha1="725bb360f0f7d04eaccff5a2d57abdd49061326d"
|
||||||
|
sdkTargetFile="$targetFolder/$sdkPackage"
|
||||||
|
sdkExtract="tar -C $targetFolder -zxf $sdkTargetFile"
|
||||||
|
sdkFolderName="android-sdk-linux"
|
||||||
|
sdkName="sdk"
|
||||||
|
|
||||||
|
# NDK
|
||||||
|
ndkVersion="r10e"
|
||||||
|
ndkPackage="android-ndk-$ndkVersion-linux-x86_64.zip"
|
||||||
|
ndkUrl="$baseUrl/$ndkPackage"
|
||||||
|
ndkSha1="f692681b007071103277f6edc6f91cb5c5494a32"
|
||||||
|
ndkTargetFile="$targetFolder/$ndkPackage"
|
||||||
|
ndkExtract="unzip $ndkTargetFile -d $targetFolder"
|
||||||
|
ndkFolderName="android-ndk-$ndkVersion"
|
||||||
|
ndkName="ndk"
|
||||||
|
|
||||||
|
function InstallAndroidPackage {
|
||||||
|
targetFolder=$1
|
||||||
|
version=$2
|
||||||
|
url=$3
|
||||||
|
sha1=$4
|
||||||
|
targetFile=$5
|
||||||
|
extract=$6
|
||||||
|
folderName=$7
|
||||||
|
name=$8
|
||||||
|
|
||||||
|
sudo wget --tries=5 --waitretry=5 --output-document="$targetFile" "$url" || echo "Failed to download '$url' multiple times"
|
||||||
|
echo "$sha1 $targetFile" | sha1sum --check || echo "Failed to check sha1sum"
|
||||||
|
sudo chmod 755 "$targetFile"
|
||||||
|
sudo $extract || echo "Failed to extract $url"
|
||||||
|
sudo chown -R qt:users "$targetFolder"/"$folderName"
|
||||||
|
sudo mv "$targetFolder"/"$folderName" "$targetFolder"/"$name" || echo "Failed to rename $name"
|
||||||
|
sudo rm -fr "$targetFolder"/"$version"
|
||||||
|
}
|
||||||
|
|
||||||
|
sudo mkdir "$targetFolder"
|
||||||
|
# Install Android SDK
|
||||||
|
echo "Installing Android SDK version $sdkPackage..."
|
||||||
|
InstallAndroidPackage "$targetFolder" $sdkPackage $sdkUrl $sdkSha1 $sdkTargetFile "$sdkExtract" $sdkFolderName $sdkName
|
||||||
|
|
||||||
|
# Install Android NDK
|
||||||
|
echo "Installing Android NDK version $ndkPackage..."
|
||||||
|
InstallAndroidPackage "$targetFolder" $ndkPackage $ndkUrl $ndkSha1 $ndkTargetFile "$ndkExtract" $ndkFolderName $ndkName
|
||||||
|
|
||||||
|
# run update for Android SDK and install SDK API version 18, latest SDK tools, platform-tools and build-tools
|
||||||
|
echo "Running Android SDK update for API version 18, SDK-tools, platform-tools and build-tools-$sdkBuildToolsVersion..."
|
||||||
|
echo "y" |"$targetFolder"/sdk/tools/android update sdk --no-ui --all --filter $sdkApiLevel,tools,platform-tools,build-tools-$sdkBuildToolsVersion || echo "Failed to run update"
|
||||||
|
|
||||||
|
# For Qt 5.6, we by default require API levels 10, 11, 16 and 18, but we can override this by setting ANDROID_API_VERSION=android-18
|
||||||
|
# From Qt 5.7 forward, if android-16 is not installed, Qt will automatically use more recent one.
|
||||||
|
echo 'export ANDROID_API_VERSION=android-18' >> ~/.bashrc
|
||||||
|
|
||||||
|
# Storage version information to ~/versions.txt, which is used to print version information to provision log.
|
||||||
|
echo "***** Android SDK *****" >> ~/versions.txt
|
||||||
|
echo "Android SDK Api Level = $sdkApiLevel" >> ~/versions.txt
|
||||||
|
echo "Android SDK Build Tools Version = $sdkBuildToolsVersion" >> ~/versions.txt
|
||||||
|
platformTools="$(grep Pkg.Revision "$targetFolder"/sdk/platform-tools/source.properties | cut -c14-)"
|
||||||
|
echo "Android Platform Tools = $platformTools" >> ~/versions.txt
|
||||||
|
sdkTools="$(grep Pkg.Revision "$targetFolder"/sdk/tools/source.properties | cut -c14-)"
|
||||||
|
echo "Android SDK Tools = $sdkTools" >> ~/versions.txt
|
||||||
|
echo "***** Android NDK *****" >> ~/versions.txt
|
||||||
|
echo "Android NDK Version = $ndkVersion" >> ~/versions.txt
|
||||||
|
|
||||||
44
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/version.sh
Normal file
44
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/version.sh
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
#!/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2016 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the test suite of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# This script needs to be called last during provisioning so that the software information will show up last in provision log.
|
||||||
|
|
||||||
|
# Storage installed RPM packages information
|
||||||
|
echo "*********************************************" >> ~/versions.txt
|
||||||
|
echo "***** All installed RPM packages *****" >> ~/versions.txt
|
||||||
|
rpm -q -a | sort >> ~/versions.txt
|
||||||
|
echo "*********************************************" >> ~/versions.txt
|
||||||
|
|
||||||
|
$(dirname $0)/../common/version.sh
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Read .bashrc if exist
|
||||||
|
printf -- "# Get the aliases and functions\nif [ -f ~/.bashrc ]; then\n . ~/.bashrc\nfi\n" >> ~/.bash_profile
|
||||||
|
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
BASEDIR=$(dirname "$0")
|
||||||
|
source "$BASEDIR/../common/01-macos-removethemall.sh"
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/env bash
|
#!/bin/sh
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
@@ -35,9 +35,7 @@
|
|||||||
|
|
||||||
# This script install Android sdk and ndk.
|
# This script install Android sdk and ndk.
|
||||||
|
|
||||||
# It also runs update for SDK API level 18, latest SDK tools, latest platform-tools and build-tools version 23.0.3
|
# It also runs update for SDK API level 18, latest SDK tools, latest platform-tools and - build-tools
|
||||||
|
|
||||||
# Build-tools version 23.0.3 is the latest usable version for Red Hat 6. Newer version of build-tools, version 24.x.x, requires GLIBC_2.14, which is not available in Red Hat 6.
|
|
||||||
|
|
||||||
# Android 16 is the minimum requirement for Qt 5.7 applications, but we need something more recent than that for building Qt itself.
|
# Android 16 is the minimum requirement for Qt 5.7 applications, but we need something more recent than that for building Qt itself.
|
||||||
# E.g The Bluetooth features that require Android 18 will disable themselves dynamically when running on an Android 16 device.
|
# E.g The Bluetooth features that require Android 18 will disable themselves dynamically when running on an Android 16 device.
|
||||||
@@ -48,20 +46,20 @@ targetFolder="/opt/android"
|
|||||||
baseUrl="http://ci-files01-hki.ci.local/input/android"
|
baseUrl="http://ci-files01-hki.ci.local/input/android"
|
||||||
|
|
||||||
# SDK
|
# SDK
|
||||||
sdkVersion="android-sdk_r24.4.1-linux.tgz"
|
sdkVersion="android-sdk_r24.4.1-macosx.zip"
|
||||||
sdkBuildToolsVersion="23.0.3"
|
sdkBuildToolsVersion="24.0.2"
|
||||||
sdkApiLevel="android-18"
|
sdkApiLevel="android-18"
|
||||||
sdkUrl="$baseUrl/$sdkVersion"
|
sdkUrl="$baseUrl/$sdkVersion"
|
||||||
sdkSha1="725bb360f0f7d04eaccff5a2d57abdd49061326d"
|
sdkSha1="85a9cccb0b1f9e6f1f616335c5f07107553840cd"
|
||||||
sdkTargetFile="$targetFolder/$sdkVersion"
|
sdkTargetFile="$targetFolder/$sdkVersion"
|
||||||
sdkExtract="tar -C $targetFolder -zxf $sdkTargetFile"
|
sdkExtract="unzip $sdkTargetFile -d $targetFolder"
|
||||||
sdkFolderName="android-sdk-linux"
|
sdkFolderName="android-sdk-macosx"
|
||||||
sdkName="sdk"
|
sdkName="sdk"
|
||||||
|
|
||||||
# NDK
|
# NDK
|
||||||
ndkVersion="android-ndk-r10e-linux-x86_64.zip"
|
ndkVersion="android-ndk-r10e-darwin-x86_64.zip"
|
||||||
ndkUrl="$baseUrl/$ndkVersion"
|
ndkUrl="$baseUrl/$ndkVersion"
|
||||||
ndkSha1="f692681b007071103277f6edc6f91cb5c5494a32"
|
ndkSha1="6be8598e4ed3d9dd42998c8cb666f0ee502b1294"
|
||||||
ndkTargetFile="$targetFolder/$ndkVersion"
|
ndkTargetFile="$targetFolder/$ndkVersion"
|
||||||
ndkExtract="unzip $ndkTargetFile -d $targetFolder"
|
ndkExtract="unzip $ndkTargetFile -d $targetFolder"
|
||||||
ndkFolderName="android-ndk-r10e"
|
ndkFolderName="android-ndk-r10e"
|
||||||
@@ -77,13 +75,13 @@ function InstallAndroidPackage {
|
|||||||
folderName=$7
|
folderName=$7
|
||||||
name=$8
|
name=$8
|
||||||
|
|
||||||
sudo wget --tries=5 --waitretry=5 --output-document=$targetFile $url || echo "Failed to download '$url' multiple times"
|
sudo curl --retry 5 --retry-delay 10 --retry-max-time 60 $url -o $targetFile || echo "Failed to download '$url' multiple times"
|
||||||
echo "$sha1 $targetFile" | sha1sum --check || echo "Failed to check sha1sum"
|
shasum $targetFile |grep $sha1 || echo "shasum check failed !"
|
||||||
sudo chmod 755 $targetFile
|
sudo chmod 755 $targetFile
|
||||||
sudo $extract || echo "Failed to extract $url"
|
sudo $extract || echo "Failed to extract $url"
|
||||||
sudo chown -R qt:users $targetFolder/$folderName
|
sudo chown -R qt:wheel $targetFolder/$folderName
|
||||||
sudo mv $targetFolder/$folderName $targetFolder/$name || echo "Failed to rename $name"
|
sudo mv $targetFolder/$folderName $targetFolder/$name || echo "Failed to rename $name"
|
||||||
sudo rm -fr $targetFolder/$version
|
sudo rm -fr $targetFolder/$version || echo "Failed to remove $targetFolder/$version"
|
||||||
}
|
}
|
||||||
|
|
||||||
sudo mkdir $targetFolder
|
sudo mkdir $targetFolder
|
||||||
@@ -99,3 +97,6 @@ InstallAndroidPackage $targetFolder $ndkVersion $ndkUrl $ndkSha1 $ndkTargetFile
|
|||||||
echo "Running Android SDK update for API version 18, SDK-tools, platform-tools and build-tools-$sdkBuildToolsVersion..."
|
echo "Running Android SDK update for API version 18, SDK-tools, platform-tools and build-tools-$sdkBuildToolsVersion..."
|
||||||
echo "y" |$targetFolder/sdk/tools/android update sdk --no-ui --all --filter $sdkApiLevel,tools,platform-tools,build-tools-$sdkBuildToolsVersion || echo "Failed to run update"
|
echo "y" |$targetFolder/sdk/tools/android update sdk --no-ui --all --filter $sdkApiLevel,tools,platform-tools,build-tools-$sdkBuildToolsVersion || echo "Failed to run update"
|
||||||
|
|
||||||
|
# For Qt 5.6, we by default require API levels 10, 11, 16 and 18, but we can override this by setting ANDROID_API_VERSION=android-18
|
||||||
|
# From Qt 5.7 forward, if android-16 is not installed, Qt will automatically use more recent one.
|
||||||
|
echo 'export ANDROID_API_VERSION=android-18' >> ~/.bashrc
|
||||||
2
coin/provisioning/qtci-osx-10.10-x86_64/crashreporter.sh
Normal file
2
coin/provisioning/qtci-osx-10.10-x86_64/crashreporter.sh
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
defaults write com.apple.CrashReporter DialogType server
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Read .bashrc if exist
|
||||||
|
printf -- "# Get the aliases and functions\nif [ -f ~/.bashrc ]; then\n . ~/.bashrc\nfi\n" >> ~/.bash_profile
|
||||||
|
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
BASEDIR=$(dirname "$0")
|
||||||
|
source "$BASEDIR/../common/01-macos-removethemall.sh"
|
||||||
|
|
||||||
102
coin/provisioning/qtci-osx-10.11-x86_64/android.sh
Normal file
102
coin/provisioning/qtci-osx-10.11-x86_64/android.sh
Normal file
@@ -0,0 +1,102 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2016 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the test suite of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# This script install Android sdk and ndk.
|
||||||
|
|
||||||
|
# It also runs update for SDK API level 18, latest SDK tools, latest platform-tools and - build-tools
|
||||||
|
|
||||||
|
# Android 16 is the minimum requirement for Qt 5.7 applications, but we need something more recent than that for building Qt itself.
|
||||||
|
# E.g The Bluetooth features that require Android 18 will disable themselves dynamically when running on an Android 16 device.
|
||||||
|
# That's why we need to use Andoid-18 API version and decision was made to use it also with Qt 5.6.
|
||||||
|
|
||||||
|
set -e
|
||||||
|
targetFolder="/opt/android"
|
||||||
|
baseUrl="http://ci-files01-hki.ci.local/input/android"
|
||||||
|
|
||||||
|
# SDK
|
||||||
|
sdkVersion="android-sdk_r24.4.1-macosx.zip"
|
||||||
|
sdkBuildToolsVersion="24.0.2"
|
||||||
|
sdkApiLevel="android-18"
|
||||||
|
sdkUrl="$baseUrl/$sdkVersion"
|
||||||
|
sdkSha1="85a9cccb0b1f9e6f1f616335c5f07107553840cd"
|
||||||
|
sdkTargetFile="$targetFolder/$sdkVersion"
|
||||||
|
sdkExtract="unzip $sdkTargetFile -d $targetFolder"
|
||||||
|
sdkFolderName="android-sdk-macosx"
|
||||||
|
sdkName="sdk"
|
||||||
|
|
||||||
|
# NDK
|
||||||
|
ndkVersion="android-ndk-r10e-darwin-x86_64.zip"
|
||||||
|
ndkUrl="$baseUrl/$ndkVersion"
|
||||||
|
ndkSha1="6be8598e4ed3d9dd42998c8cb666f0ee502b1294"
|
||||||
|
ndkTargetFile="$targetFolder/$ndkVersion"
|
||||||
|
ndkExtract="unzip $ndkTargetFile -d $targetFolder"
|
||||||
|
ndkFolderName="android-ndk-r10e"
|
||||||
|
ndkName="ndk"
|
||||||
|
|
||||||
|
function InstallAndroidPackage {
|
||||||
|
targetFolder=$1
|
||||||
|
version=$2
|
||||||
|
url=$3
|
||||||
|
sha1=$4
|
||||||
|
targetFile=$5
|
||||||
|
extract=$6
|
||||||
|
folderName=$7
|
||||||
|
name=$8
|
||||||
|
|
||||||
|
sudo curl --retry 5 --retry-delay 10 --retry-max-time 60 $url -o $targetFile || echo "Failed to download '$url' multiple times"
|
||||||
|
shasum $targetFile |grep $sha1 || echo "shasum check failed !"
|
||||||
|
sudo chmod 755 $targetFile
|
||||||
|
sudo $extract || echo "Failed to extract $url"
|
||||||
|
sudo chown -R qt:wheel $targetFolder/$folderName
|
||||||
|
sudo mv $targetFolder/$folderName $targetFolder/$name || echo "Failed to rename $name"
|
||||||
|
sudo rm -fr $targetFolder/$version || echo "Failed to remove $targetFolder/$version"
|
||||||
|
}
|
||||||
|
|
||||||
|
sudo mkdir $targetFolder
|
||||||
|
# Install Android SDK
|
||||||
|
echo "Installing Android SDK version $sdkVersion..."
|
||||||
|
InstallAndroidPackage $targetFolder $sdkVersion $sdkUrl $sdkSha1 $sdkTargetFile "$sdkExtract" $sdkFolderName $sdkName
|
||||||
|
|
||||||
|
# Install Android NDK
|
||||||
|
echo "Installing Android NDK version $ndkVersion..."
|
||||||
|
InstallAndroidPackage $targetFolder $ndkVersion $ndkUrl $ndkSha1 $ndkTargetFile "$ndkExtract" $ndkFolderName $ndkName
|
||||||
|
|
||||||
|
# run update for Android SDK and install SDK API version 18, latest SDK tools, platform-tools and build-tools
|
||||||
|
echo "Running Android SDK update for API version 18, SDK-tools, platform-tools and build-tools-$sdkBuildToolsVersion..."
|
||||||
|
echo "y" |$targetFolder/sdk/tools/android update sdk --no-ui --all --filter $sdkApiLevel,tools,platform-tools,build-tools-$sdkBuildToolsVersion || echo "Failed to run update"
|
||||||
|
|
||||||
|
# For Qt 5.6, we by default require API levels 10, 11, 16 and 18, but we can override this by setting ANDROID_API_VERSION=android-18
|
||||||
|
# From Qt 5.7 forward, if android-16 is not installed, Qt will automatically use more recent one.
|
||||||
|
echo 'export ANDROID_API_VERSION=android-18' >> ~/.bashrc
|
||||||
2
coin/provisioning/qtci-osx-10.11-x86_64/crashreporter.sh
Normal file
2
coin/provisioning/qtci-osx-10.11-x86_64/crashreporter.sh
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
defaults write com.apple.CrashReporter DialogType server
|
||||||
33
coin/provisioning/qtci-windows-10-x86/06-msvc2015_update.ps1
Normal file
33
coin/provisioning/qtci-windows-10-x86/06-msvc2015_update.ps1
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
. "$PSScriptRoot\..\common\msvc2015_update.ps1"
|
||||||
1
coin/provisioning/qtci-windows-10-x86/libusb.ps1
Normal file
1
coin/provisioning/qtci-windows-10-x86/libusb.ps1
Normal file
@@ -0,0 +1 @@
|
|||||||
|
. "$PSScriptRoot\..\common\libusb.ps1"
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
. "$PSScriptRoot\..\common\msvc2015_update.ps1"
|
||||||
1
coin/provisioning/qtci-windows-10-x86_64/libusb.ps1
Normal file
1
coin/provisioning/qtci-windows-10-x86_64/libusb.ps1
Normal file
@@ -0,0 +1 @@
|
|||||||
|
. "$PSScriptRoot\..\common\libusb.ps1"
|
||||||
112
coin/provisioning/qtci-windows-10-x86_64/mysql.ps1
Normal file
112
coin/provisioning/qtci-windows-10-x86_64/mysql.ps1
Normal file
@@ -0,0 +1,112 @@
|
|||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
. "$PSScriptRoot\..\common\helpers.ps1"
|
||||||
|
|
||||||
|
# This script installs MySQL $version.
|
||||||
|
# Both x86 and x64 versions needed when x86 integrations are done on x64 machine
|
||||||
|
|
||||||
|
$version = "5.6.11"
|
||||||
|
$packagex64 = "C:\Windows\temp\mysql-$version-win64.zip"
|
||||||
|
$packagex86 = "C:\Windows\temp\mysql-$version-win32.zip"
|
||||||
|
|
||||||
|
function CheckAndRemovePreviousInstallation
|
||||||
|
{
|
||||||
|
Param (
|
||||||
|
[string]$InstallFolder
|
||||||
|
)
|
||||||
|
echo "Check for previous installation..."
|
||||||
|
$FolderExists = Test-Path $ExistingInstallation
|
||||||
|
If ($FolderExists -eq $True) {
|
||||||
|
echo "Removing previous installation ($ExistingInstallation)"
|
||||||
|
Remove-Item $ExistingInstallation -recurse
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function DownloadAndInstall
|
||||||
|
{
|
||||||
|
Param (
|
||||||
|
[string]$arch,
|
||||||
|
[string]$externalUrl,
|
||||||
|
[string]$internalUrl,
|
||||||
|
[string]$package,
|
||||||
|
[string]$sha1,
|
||||||
|
[string]$installPath
|
||||||
|
)
|
||||||
|
|
||||||
|
echo "Fetching from URL ..."
|
||||||
|
Download $externalUrl $internalUrl $package
|
||||||
|
Verify-Checksum $package $sha1
|
||||||
|
Extract-Zip $package $installPath
|
||||||
|
}
|
||||||
|
|
||||||
|
# Install x64 bit version
|
||||||
|
$architecture = "x64"
|
||||||
|
$installFolder = "C:\Utils\my_sql"
|
||||||
|
$existingInstallation = "$installFolder\my_sql"
|
||||||
|
$internalUrl = "http://ci-files01-hki.ci.local/input/windows/mysql-$version-winx64"
|
||||||
|
$sha1 = "f4811512b5f3c8ad877ee4feba2062312a0acc38"
|
||||||
|
|
||||||
|
echo "Check and remove previous installation ..."
|
||||||
|
CheckAndRemovePreviousInstallation $existingInstallation
|
||||||
|
DownloadAndInstall $architecture $internalUrl $internalUrl $packagex64 $sha1 $installFolder
|
||||||
|
Rename-Item -path $installFolder\mysql-$version-winx64 -newName $installFolder\my_sql
|
||||||
|
|
||||||
|
echo "Remove downloaded package ..."
|
||||||
|
Remove-Item $packagex64
|
||||||
|
|
||||||
|
echo "Set environment variables ..."
|
||||||
|
[Environment]::SetEnvironmentVariable("MYSQL_INCLUDE_x64", "$installFolder\my_sql\include", "Machine")
|
||||||
|
[Environment]::SetEnvironmentVariable("MYSQL_LIB_x64", "$installFolder\my_sql\lib", "Machine")
|
||||||
|
|
||||||
|
# Install x86 bit version
|
||||||
|
$architecture = "x86"
|
||||||
|
$installFolder = "C:\Utils\my_sql$architecture"
|
||||||
|
$existingInstallation = "$installFolder\my_sql"
|
||||||
|
$internalUrl = "http://ci-files01-hki.ci.local/input/windows/mysql-$version-win32"
|
||||||
|
$sha1 = "e0aa62d5c5d6c6ec28906a831752d04336562679"
|
||||||
|
|
||||||
|
echo "Check and remove previous installation ..."
|
||||||
|
CheckAndRemovePreviousInstallation $existingInstallation
|
||||||
|
DownloadAndInstall $architecture $internalUrl $internalUrl $packagex86 $sha1 $installFolder
|
||||||
|
Rename-Item -path $installFolder\mysql-$version-win32 -newName $installFolder\my_sql
|
||||||
|
|
||||||
|
echo "Remove downloaded package ..."
|
||||||
|
Remove-Item $packagex86
|
||||||
|
|
||||||
|
echo "Set environment variables ..."
|
||||||
|
[Environment]::SetEnvironmentVariable("MYSQL_INCLUDE_x86", "$installFolder\my_sql\include", "Machine")
|
||||||
|
[Environment]::SetEnvironmentVariable("MYSQL_LIB_x86", "$installFolder\my_sql\lib", "Machine")
|
||||||
|
|
||||||
|
# Store version information to ~/versions.txt, which is used to print version information to provision log.
|
||||||
|
echo "MySQL = $version" >> ~/versions.txt
|
||||||
63
coin/provisioning/qtci-windows-10-x86_64/opengl32_x86.ps1
Normal file
63
coin/provisioning/qtci-windows-10-x86_64/opengl32_x86.ps1
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
. "$PSScriptRoot\..\common\helpers.ps1"
|
||||||
|
|
||||||
|
$version = "11_2_2"
|
||||||
|
$package = "C:\Windows\temp\opengl32sw_$version.7z"
|
||||||
|
$destinationFolder = "C:\Windows\SysWOW64"
|
||||||
|
$openglPackage = "C:\Windows\SysWOW64\opengl32.dll"
|
||||||
|
|
||||||
|
$mesaOpenglUrl = "http://download.qt.io/development_releases/prebuilt/llvmpipe/windows/opengl32sw-32-mesa_$version.7z"
|
||||||
|
$mesaOpenglSha1 = "e742e9d4e16b9c69b6d844940861d3ef1748356b"
|
||||||
|
$openglUrl = "http://ci-files01-hki.ci.local/input/mesa3d/windows/32bit/opengl32.dll"
|
||||||
|
$openglSha1 = "690730f973aa39bd80648e026248394fde07a753"
|
||||||
|
|
||||||
|
Invoke-WebRequest -UseBasicParsing $mesaOpenglUrl -OutFile $package
|
||||||
|
Verify-Checksum $package $mesaOpenglSha1
|
||||||
|
Get-ChildItem $package | % {& "C:\Utils\sevenzip\7z.exe" "x" "-y" $_.fullname "-o$destinationFolder"}
|
||||||
|
|
||||||
|
echo "Remove downloaded $package ..."
|
||||||
|
Remove-Item $package -recurse
|
||||||
|
|
||||||
|
echo "Take ownership of existing opengl32.dll from SysWOW64"
|
||||||
|
takeown /f $openglPackage
|
||||||
|
icacls $openglPackage /grant Administrators:F
|
||||||
|
echo "Remove existing opengl32.dll from SysWOW64"
|
||||||
|
Remove-Item -Recurse -Force $openglPackage
|
||||||
|
echo "Add new opengl32.dll to SysWOW64"
|
||||||
|
Invoke-WebRequest -UseBasicParsing $openglUrl -OutFile $openglPackage
|
||||||
|
Verify-Checksum $openglPackage $openglSha1
|
||||||
|
|
||||||
|
# Store version information to ~/versions.txt
|
||||||
|
echo "OpenGL x86 = $version" >> ~/versions.txt
|
||||||
86
coin/provisioning/qtci-windows-10-x86_64/openssl.ps1
Normal file
86
coin/provisioning/qtci-windows-10-x86_64/openssl.ps1
Normal file
@@ -0,0 +1,86 @@
|
|||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
. "$PSScriptRoot\..\common\helpers.ps1"
|
||||||
|
|
||||||
|
# This script installs OpenSSL $version.
|
||||||
|
# Both x86 and x64 versions needed when x86 integrations are done on x64 machine
|
||||||
|
|
||||||
|
$version = "1_0_2j"
|
||||||
|
$packagex64 = "C:\Windows\Temp\Win64OpenSSL-$version.exe"
|
||||||
|
$packagex86 = "C:\Windows\Temp\Win32OpenSSL-$version.exe"
|
||||||
|
|
||||||
|
# Install x64 bit version
|
||||||
|
$architecture = "x64"
|
||||||
|
$installFolder = "C:\openssl"
|
||||||
|
$externalUrl = "https://slproweb.com/download/Win64OpenSSL-$version.exe"
|
||||||
|
$internalUrl = "http://ci-files01-hki.ci.local/input/openssl/Win64OpenSSL-$version.exe"
|
||||||
|
$sha1 = "b1660dbdcc77e1b3d81d780c7167be1c75384d44"
|
||||||
|
|
||||||
|
echo "Fetching from URL ..."
|
||||||
|
Download $externalUrl $internalUrl $packagex64
|
||||||
|
Verify-Checksum $packagex64 $sha1
|
||||||
|
echo "Installing $packagex64 ..."
|
||||||
|
cmd /c "$packagex64 /SP- /SILENT /LOG /SUPPRESSMSGBOXES /NORESTART /DIR=$installFolder"
|
||||||
|
|
||||||
|
echo "Remove downloaded $packagex64 ..."
|
||||||
|
Remove-Item $packagex64
|
||||||
|
|
||||||
|
echo "Set $architecture environment variables ..."
|
||||||
|
[Environment]::SetEnvironmentVariable("OPENSSL_CONF_x64", "$installFolder\bin\openssl.cfg", "Machine")
|
||||||
|
[Environment]::SetEnvironmentVariable("OPENSSL_INCLUDE_x64", "$installFolder\include", "Machine")
|
||||||
|
[Environment]::SetEnvironmentVariable("OPENSSL_LIB_x64", "$installFolder\lib", "Machine")
|
||||||
|
|
||||||
|
# Install x86 bit version
|
||||||
|
$architecture = "x86"
|
||||||
|
$installFolder = "C:\openssl$architecture"
|
||||||
|
$externalUrl = "https://slproweb.com/download/Win32OpenSSL-$version.exe"
|
||||||
|
$internalUrl = "http://ci-files01-hki.ci.local/input/openssl/Win32OpenSSL-$version.exe"
|
||||||
|
$sha1 = "29b31d20545214ab4e4c57afb20be2338c317cc3"
|
||||||
|
|
||||||
|
echo "Fetching from URL ..."
|
||||||
|
Download $externalUrl $internalUrl $packagex86
|
||||||
|
Verify-Checksum $packagex86 $sha1
|
||||||
|
echo "Installing $packagex86 ..."
|
||||||
|
cmd /c "$packagex86 /SP- /SILENT /LOG /SUPPRESSMSGBOXES /NORESTART /DIR=$installFolder"
|
||||||
|
|
||||||
|
echo "Remove downloaded $packagex86 ..."
|
||||||
|
Remove-Item $packagex86
|
||||||
|
|
||||||
|
echo "Set $architecture environment variables ..."
|
||||||
|
[Environment]::SetEnvironmentVariable("OPENSSL_CONF_x86", "$installFolder\bin\openssl.cfg", "Machine")
|
||||||
|
[Environment]::SetEnvironmentVariable("OPENSSL_INCLUDE_x86", "$installFolder\include", "Machine")
|
||||||
|
[Environment]::SetEnvironmentVariable("OPENSSL_LIB_x86", "$installFolder\lib", "Machine")
|
||||||
|
|
||||||
|
# Store version information to ~/versions.txt, which is used to print version information to provision log.
|
||||||
|
echo "OpenSSL = $version" >> ~/versions.txt
|
||||||
84
coin/provisioning/qtci-windows-10-x86_64/postgresql.ps1
Normal file
84
coin/provisioning/qtci-windows-10-x86_64/postgresql.ps1
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
. "$PSScriptRoot\..\common\helpers.ps1"
|
||||||
|
|
||||||
|
# This script installs postgresql $version.
|
||||||
|
# Both x86 and x64 versions needed when x86 integrations are done on x64 machine
|
||||||
|
|
||||||
|
$version = "9.1.9-1"
|
||||||
|
$packagex64 = "C:\Windows\temp\postgresql-$version-windows-x64-binaries.zip"
|
||||||
|
$packagex86 = "C:\Windows\temp\postgresql-$version-windows-binaries.zip"
|
||||||
|
|
||||||
|
# Install x64 bit versions
|
||||||
|
$architecture = "x64"
|
||||||
|
$installFolder = "C:\Utils\postgresql"
|
||||||
|
$externalUrl = "http://get.enterprisedb.com/postgresql/postgresql-$version-windows-x64-binaries.zip"
|
||||||
|
$internalUrl = "http://ci-files01-hki.ci.local/input/windows/postgresql-$version-windows-x64-binaries.zip"
|
||||||
|
$sha1 = "4da0453cdfda335e064d4437cf5bb9d356054cfd"
|
||||||
|
|
||||||
|
echo "Fetching from URL ..."
|
||||||
|
Download $externalUrl $internalUrl $packagex64
|
||||||
|
Verify-Checksum $packagex64 $sha1
|
||||||
|
echo "Installing $packagex64 ..."
|
||||||
|
Extract-Zip $packagex64 $installFolder
|
||||||
|
|
||||||
|
echo "Remove downloaded $packagex64 ..."
|
||||||
|
Remove-Item $packagex64
|
||||||
|
|
||||||
|
echo "Set $architecture environment variables ..."
|
||||||
|
[Environment]::SetEnvironmentVariable("POSTGRESQL_INCLUDE_x64", "$installFolder\pgsql\include", "Machine")
|
||||||
|
[Environment]::SetEnvironmentVariable("POSTGRESQL_LIB_x64", "$installFolder\pgsql\lib", "Machine")
|
||||||
|
|
||||||
|
# Install x86 bit version
|
||||||
|
$architecture = "x86"
|
||||||
|
$installFolder = "C:\Utils\postgresql$architecture"
|
||||||
|
$externalUrl = "http://get.enterprisedb.com/postgresql/postgresql-$version-windows-binaries.zip"
|
||||||
|
$internalUrl = "http://ci-files01-hki.ci.local/input/windows/postgresql-$version-windows-binaries.zip"
|
||||||
|
$sha1 = "eb4f01845e1592800edbb74f60944b6c0aca51a9"
|
||||||
|
|
||||||
|
echo "Fetching from URL..."
|
||||||
|
Download $externalUrl $internalUrl $packagex86
|
||||||
|
Verify-Checksum $packagex86 $sha1
|
||||||
|
echo "Installing $packagex86 ..."
|
||||||
|
Extract-Zip $packagex86 $installFolder
|
||||||
|
|
||||||
|
echo "Remove downloaded $packagex86 ..."
|
||||||
|
Remove-Item $packagex86
|
||||||
|
|
||||||
|
echo "Set $architecture environment variables ..."
|
||||||
|
[Environment]::SetEnvironmentVariable("POSTGRESQL_INCLUDE_x86", "$installFolder\pgsql\include", "Machine")
|
||||||
|
[Environment]::SetEnvironmentVariable("POSTGRESQL_LIB_x86", "$installFolder\pgsql\lib", "Machine")
|
||||||
|
|
||||||
|
# Store version information to ~/versions.txt, which is used to print version information to provision log.
|
||||||
|
echo "PostgreSQL = $version" >> ~/versions.txt
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
. "$PSScriptRoot\..\common\memorypershell.ps1"
|
||||||
65
coin/provisioning/qtci-windows-7-x86/06-android.ps1
Normal file
65
coin/provisioning/qtci-windows-7-x86/06-android.ps1
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
. "$PSScriptRoot\..\common\helpers.ps1"
|
||||||
|
|
||||||
|
# This script installs Android sdk and ndk
|
||||||
|
# It also runs update for SDK API level 18, latest SDK tools, latest platform-tools and build-tools version $sdkBuildToolsVersion
|
||||||
|
# Android 16 is the minimum requirement for Qt 5.7 applications, but we need something more recent than that for building Qt itself.
|
||||||
|
# E.g the bluetooth features that require Android 18 will disable themselves dynamically when running on Android 16 device.
|
||||||
|
# That's why we need to use Andoid-18 API version and decision was made to use it also with Qt 5.6.
|
||||||
|
|
||||||
|
# NDK
|
||||||
|
$ndkVersion = "r10e"
|
||||||
|
$ndkCachedUrl = "http://ci-files01-hki.ci.local/input/android/android-ndk-$ndkVersion-windows-x86.zip"
|
||||||
|
$ndkOfficialUrl = "https://dl.google.com/android/repository/android-ndk-$ndkVersion-windows-x86.zip"
|
||||||
|
$ndkChecksum = "1d0b8f2835be741f3048fb03c0a3e9f71ab7f357"
|
||||||
|
$ndkFolder = "c:\utils\android-ndk-$ndkVersion"
|
||||||
|
$ndkZip = "c:\Windows\Temp\android_ndk_$ndkVersion.zip"
|
||||||
|
|
||||||
|
# SDK
|
||||||
|
$sdkVersion = "r24.4.1"
|
||||||
|
$sdkApi = "ANDROID_API_VERSION"
|
||||||
|
$sdkApiLevel = "android-18"
|
||||||
|
$sdkBuildToolsVersion = "23.0.3"
|
||||||
|
$sdkCachedUrl= "http://ci-files01-hki.ci.local/input/android/android-sdk_$sdkVersion-windows.zip"
|
||||||
|
$sdkOfficialUrl = "https://dl.google.com/android/android-sdk_$sdkVersion-windows.zip"
|
||||||
|
$sdkChecksum = "66b6a6433053c152b22bf8cab19c0f3fef4eba49"
|
||||||
|
$sdkFolder = "c:\utils\android-sdk-windows"
|
||||||
|
$sdkZip = "c:\Windows\Temp\android_sdk_$sdkVersion.zip"
|
||||||
|
|
||||||
|
function Install($1, $2, $3, $4) {
|
||||||
|
$cacheUrl = $1
|
||||||
|
$zip = $2
|
||||||
|
$checksum = $3
|
||||||
|
$offcialUrl = $4
|
||||||
|
|
||||||
|
Download $offcialUrl $cacheUrl $zip
|
||||||
|
Verify-Checksum $zip "$checksum"
|
||||||
|
Extract-Zip $zip C:\Utils
|
||||||
|
}
|
||||||
|
|
||||||
|
function SdkUpdate ($1, $2) {
|
||||||
|
echo "Running Android SDK update for $1..."
|
||||||
|
cmd /c "echo y |$1\tools\android update sdk --no-ui --all --filter $2"
|
||||||
|
}
|
||||||
|
|
||||||
|
echo "Installing Android ndk $nkdVersion"
|
||||||
|
Install $ndkCachedUrl $ndkZip $ndkChecksum $ndkOfficialUrl
|
||||||
|
echo "Set environment variable ANDROID_NDK_HOME=$ndkFolder"
|
||||||
|
[Environment]::SetEnvironmentVariable("ANDROID_NDK_HOME", $ndkFolder, "Machine")
|
||||||
|
echo "Set environment variable ANDROID_NDK_ROOT=$ndkFolder"
|
||||||
|
[Environment]::SetEnvironmentVariable("ANDROID_NDK_ROOT", $ndkFolder, "Machine")
|
||||||
|
|
||||||
|
#echo "Installing Android sdk $sdkVersion"
|
||||||
|
Install $sdkCachedUrl $sdkZip $sdkChecksum $sdkOfficialUrl
|
||||||
|
echo "Set environment variable ANDROID_SDK_HOME=$sdkFolder"
|
||||||
|
[Environment]::SetEnvironmentVariable("ANDROID_SDK_HOME", $sdkFolder, "Machine")
|
||||||
|
echo "Set environment variable ANDROID_API_VERSION $sdkApiLevel"
|
||||||
|
[Environment]::SetEnvironmentVariable("ANDROID_API_VERSION", $sdkApiLevel, "Machine")
|
||||||
|
|
||||||
|
# SDK update
|
||||||
|
SdkUpdate $sdkFolder $sdkApiLevel
|
||||||
|
SdkUpdate $sdkFolder tools
|
||||||
|
SdkUpdate $sdkFolder platform-tools
|
||||||
|
SdkUpdate $sdkFolder build-tools-$sdkBuildToolsVersion
|
||||||
|
|
||||||
|
# kill adb. This process prevent's provisioning to continue
|
||||||
|
taskkill /im adb.exe /f
|
||||||
1
coin/provisioning/qtci-windows-7-x86/libusb.ps1
Normal file
1
coin/provisioning/qtci-windows-7-x86/libusb.ps1
Normal file
@@ -0,0 +1 @@
|
|||||||
|
. "$PSScriptRoot\..\common\libusb.ps1"
|
||||||
1
coin/provisioning/qtci-windows-8-x86/cmake.ps1
Normal file
1
coin/provisioning/qtci-windows-8-x86/cmake.ps1
Normal file
@@ -0,0 +1 @@
|
|||||||
|
. "$PSScriptRoot\..\common\cmake.ps1"
|
||||||
1
coin/provisioning/qtci-windows-8-x86/libusb.ps1
Normal file
1
coin/provisioning/qtci-windows-8-x86/libusb.ps1
Normal file
@@ -0,0 +1 @@
|
|||||||
|
. "$PSScriptRoot\..\common\libusb.ps1"
|
||||||
1
coin/provisioning/qtci-windows-8-x86_64/cmake.ps1
Normal file
1
coin/provisioning/qtci-windows-8-x86_64/cmake.ps1
Normal file
@@ -0,0 +1 @@
|
|||||||
|
. "$PSScriptRoot\..\common\cmake.ps1"
|
||||||
1
coin/provisioning/qtci-windows-8-x86_64/libusb.ps1
Normal file
1
coin/provisioning/qtci-windows-8-x86_64/libusb.ps1
Normal file
@@ -0,0 +1 @@
|
|||||||
|
. "$PSScriptRoot\..\common\libusb.ps1"
|
||||||
2
configure
vendored
2
configure
vendored
@@ -33,7 +33,7 @@
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
srcpath=`dirname $0`
|
srcpath=`dirname $0`
|
||||||
srcpath=`(cd "$srcpath"; /bin/pwd)`
|
srcpath=`(cd "$srcpath"; pwd)`
|
||||||
configure=$srcpath/qtbase/configure
|
configure=$srcpath/qtbase/configure
|
||||||
if [ ! -e "$configure" ]; then
|
if [ ! -e "$configure" ]; then
|
||||||
echo "$configure not found. Did you forget to run \"init-repository\"?" >&2
|
echo "$configure not found. Did you forget to run \"init-repository\"?" >&2
|
||||||
|
|||||||
2
qt3d
2
qt3d
Submodule qt3d updated: 440589a074...c64df4a307
Submodule qtactiveqt updated: 55199c0da6...1ef04fedc0
Submodule qtandroidextras updated: 50bc6b85e1...d94fb02a55
2
qtbase
2
qtbase
Submodule qtbase updated: 49dc9aa409...d1210281e4
Submodule qtcanvas3d updated: 5962967a37...a50cb91284
2
qtcharts
2
qtcharts
Submodule qtcharts updated: 057b3e2d6a...f7b477ad0e
Submodule qtconnectivity updated: 1afb57ed92...519ac44fbb
Submodule qtdatavis3d updated: a78f8d6bef...beb420e399
Submodule qtdeclarative updated: fffb997e19...8d0d1b11e3
2
qtdoc
2
qtdoc
Submodule qtdoc updated: 89b92ceeb7...2337a01600
Submodule qtgamepad updated: 13bbe6ea37...752d431966
Submodule qtgraphicaleffects updated: 1583bb5569...8e1f0ecad3
Submodule qtimageformats updated: cd2de115c6...03e507c8f3
Submodule qtlocation updated: 41cc347040...0023c72390
Submodule qtmacextras updated: 145e383d81...f1d8761b93
Submodule qtmultimedia updated: 544a8a4251...d5d7dcfb15
Submodule qtnetworkauth updated: ec7663382b...034b35a3bc
Submodule qtpurchasing updated: bc5b413ad0...1e16d026f1
2
qtqa
2
qtqa
Submodule qtqa updated: 583ae213c1...b8198f71d5
Submodule qtquickcontrols updated: 201c86391c...378bd7b445
Submodule qtquickcontrols2 updated: 6f7852a307...91e29613f9
Submodule qtrepotools updated: d4c099ddd7...91471704ad
2
qtscript
2
qtscript
Submodule qtscript updated: c35df2ec0e...963cefe173
2
qtscxml
2
qtscxml
Submodule qtscxml updated: 4704292500...75cb3ffebc
Submodule qtsensors updated: 1220a31e6c...722194f5cd
Submodule qtserialbus updated: c8fe92ef54...90be9fc653
Submodule qtserialport updated: 74aad2578e...39d79e1657
2
qtspeech
2
qtspeech
Submodule qtspeech updated: 48b130f51f...4320724b8a
2
qtsvg
2
qtsvg
Submodule qtsvg updated: 1b3a7ae14d...02ed4c6561
2
qttools
2
qttools
Submodule qttools updated: 30c10900ad...ae4823946c
Submodule qttranslations updated: c0ae29b232...b01c4e637b
Submodule qtvirtualkeyboard updated: cfa4ab4cbf...19c3a43e8a
Submodule qtwayland updated: 0e2a950895...a92eab837f
Submodule qtwebchannel updated: e3ddde4b26...6015604df9
Submodule qtwebengine updated: d740d6a7db...df70ae6f3d
2
qtwebkit
2
qtwebkit
Submodule qtwebkit updated: 74ac5b0f34...0b48569e2b
Submodule qtwebkit-examples updated: f0898f83ab...ac8c2122bb
Submodule qtwebsockets updated: afb3c58d03...d5e2b4bba1
Submodule qtwebview updated: ddc838e94b...801760d378
Submodule qtwinextras updated: fff5a72413...f7239c6977
Submodule qtx11extras updated: 54cc3158ac...66191eb5d4
Submodule qtxmlpatterns updated: 9f7e01b582...f799a226b1
Reference in New Issue
Block a user