mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-21 23:48:23 +08:00
Compare commits
229 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eac5e8f5c8 | ||
|
|
1c924f425b | ||
|
|
a0e5b4b466 | ||
|
|
1382e42ef9 | ||
|
|
bbcacb9957 | ||
|
|
e6f8ec714d | ||
|
|
5d027444b5 | ||
|
|
5bdb2a0300 | ||
|
|
fe4a724a3e | ||
|
|
302b228c7a | ||
|
|
14ad9b1387 | ||
|
|
ee690d1533 | ||
|
|
b0b93acc7d | ||
|
|
59a9940d94 | ||
|
|
4d7f6c711c | ||
|
|
fd9e7634de | ||
|
|
a0c08969b0 | ||
|
|
eb425b3dff | ||
|
|
b272190213 | ||
|
|
9e834b7651 | ||
|
|
f09dbf65e1 | ||
|
|
e6fd7bcd26 | ||
|
|
51417379f7 | ||
|
|
c926819387 | ||
|
|
63f9bfd6f9 | ||
|
|
60a556268c | ||
|
|
450e5f4d7c | ||
|
|
02ee6e571f | ||
|
|
db55667668 | ||
|
|
62d75f883c | ||
|
|
812a8b0e1a | ||
|
|
96594fef87 | ||
|
|
f6e9fc2ba5 | ||
|
|
ee2798641b | ||
|
|
86848c1298 | ||
|
|
11ded96d6e | ||
|
|
a7c5f204bc | ||
|
|
26ef6f7c13 | ||
|
|
ad52452416 | ||
|
|
bd37983a8d | ||
|
|
e4f9ac5607 | ||
|
|
b1de0fedcf | ||
|
|
b3da333101 | ||
|
|
827bdae8ef | ||
|
|
56ad797f42 | ||
|
|
2e66078b5e | ||
|
|
f064a5b9d2 | ||
|
|
9cf8af5248 | ||
|
|
08ded9e2f8 | ||
|
|
dcfef7226f | ||
|
|
0335e9c4e5 | ||
|
|
601a9d39b2 | ||
|
|
edb5ebfb7e | ||
|
|
6d7ae7ebe1 | ||
|
|
d8eaed9b09 | ||
|
|
5d5ef9c32b | ||
|
|
6bf7a970e7 | ||
|
|
40cca42c39 | ||
|
|
4728ffb620 | ||
|
|
ef7481b9cd | ||
|
|
33d2547817 | ||
|
|
a270bcdb6b | ||
|
|
fafd3d655d | ||
|
|
6cc2215b8c | ||
|
|
f1cbe1e3b6 | ||
|
|
569fd1dabc | ||
|
|
e4cb75c5ae | ||
|
|
f1276acf5c | ||
|
|
68189ab965 | ||
|
|
98cb5fa965 | ||
|
|
b34681bf02 | ||
|
|
f178318d2f | ||
|
|
d690f84fd4 | ||
|
|
39a42f0abd | ||
|
|
8bdabd9901 | ||
|
|
52fe759eba | ||
|
|
5b752460bc | ||
|
|
2eab420e80 | ||
|
|
5b77e74a5e | ||
|
|
3fb1ba5db8 | ||
|
|
464c4c8147 | ||
|
|
eb0ef419ec | ||
|
|
17550319e5 | ||
|
|
d5f83783f6 | ||
|
|
595a45dd1d | ||
|
|
60befd7508 | ||
|
|
2b58935efd | ||
|
|
72111504ea | ||
|
|
518e114dc7 | ||
|
|
482552d813 | ||
|
|
c6a9b3cd68 | ||
|
|
9ee61892d0 | ||
|
|
3f9673d109 | ||
|
|
97f5eca381 | ||
|
|
d02f0a913e | ||
|
|
e4ae752c0d | ||
|
|
bcdb9ba4dd | ||
|
|
dd9a3883aa | ||
|
|
869a9b3ae7 | ||
|
|
d97d1af1ee | ||
|
|
ab732c6ab7 | ||
|
|
37b2f54919 | ||
|
|
5d90df08c2 | ||
|
|
1735600d57 | ||
|
|
689eab5c35 | ||
|
|
ace315a1f9 | ||
|
|
ec7bf6356c | ||
|
|
7cd2473966 | ||
|
|
29befcc995 | ||
|
|
cfef857815 | ||
|
|
f4e7c08e82 | ||
|
|
b90dc27784 | ||
|
|
317fbf9243 | ||
|
|
1a4d0a9534 | ||
|
|
ec613d93e5 | ||
|
|
6cb7171397 | ||
|
|
33e0c2b54f | ||
|
|
842b72e080 | ||
|
|
c4e14a59ec | ||
|
|
de56775c32 | ||
|
|
4e3a0f79fb | ||
|
|
8f4c12bc03 | ||
|
|
89f6db8c22 | ||
|
|
fbe3a8d84e | ||
|
|
0a0ec7ffe3 | ||
|
|
076fb6bd6d | ||
|
|
c0fce7a3b3 | ||
|
|
c7f87acb37 | ||
|
|
b8eb110c81 | ||
|
|
b97df21bef | ||
|
|
bdc5dae67b | ||
|
|
acfc7ad18d | ||
|
|
c87a6e9c6d | ||
|
|
e6fccbf240 | ||
|
|
cb8e769cf6 | ||
|
|
d1a81a8e1c | ||
|
|
ad2113fd23 | ||
|
|
41ef5a706d | ||
|
|
2cec2c5f8c | ||
|
|
f60588ee72 | ||
|
|
1760acb17d | ||
|
|
3b335077f7 | ||
|
|
a4ca20dfce | ||
|
|
5d3b2413d0 | ||
|
|
de26b29c33 | ||
|
|
ddc99482eb | ||
|
|
0cf3fdabe3 | ||
|
|
a3136bdbfe | ||
|
|
e62df66bac | ||
|
|
c22758cc1e | ||
|
|
01ad208333 | ||
|
|
b83b16277d | ||
|
|
fa03dbce1f | ||
|
|
6762ccb186 | ||
|
|
39a9e58888 | ||
|
|
bcdfcd2668 | ||
|
|
7e78bd1efd | ||
|
|
d8a384f03f | ||
|
|
4909f4a765 | ||
|
|
66ea34668a | ||
|
|
8c00a4f011 | ||
|
|
bbc7794b64 | ||
|
|
1bb7d2d0c9 | ||
|
|
d4e3d3cac3 | ||
|
|
6402cb61b8 | ||
|
|
ad93109d92 | ||
|
|
0c0ed734ef | ||
|
|
aceecad75d | ||
|
|
e56e0f699d | ||
|
|
1d956e93d0 | ||
|
|
15b4e146e5 | ||
|
|
d581d86fc5 | ||
|
|
f0a89a32da | ||
|
|
0d273deeef | ||
|
|
be97b9ad72 | ||
|
|
14c31bf8db | ||
|
|
1c5e02896c | ||
|
|
30e7bf5745 | ||
|
|
7fd2796b00 | ||
|
|
700540f77a | ||
|
|
f9801f90f6 | ||
|
|
f3c4f6edeb | ||
|
|
c398a50e2d | ||
|
|
5035d38525 | ||
|
|
885e662082 | ||
|
|
ae3f765798 | ||
|
|
80791b03ee | ||
|
|
4c65509d24 | ||
|
|
27bbc46848 | ||
|
|
5752c0d4bc | ||
|
|
314d3efaf0 | ||
|
|
136639b445 | ||
|
|
f58935ebea | ||
|
|
097b013183 | ||
|
|
163bd8006e | ||
|
|
90d59cb4c7 | ||
|
|
e6e51c07f5 | ||
|
|
11d6401d98 | ||
|
|
6f3f8913d8 | ||
|
|
54e8d38972 | ||
|
|
98d9e2ebaa | ||
|
|
0414df3e2e | ||
|
|
c9a0797a11 | ||
|
|
9b0ff12595 | ||
|
|
54be78024d | ||
|
|
8a5d86d888 | ||
|
|
3631a12b84 | ||
|
|
04f8b0619d | ||
|
|
e27c7adda7 | ||
|
|
6e601907b9 | ||
|
|
acafe0ad49 | ||
|
|
2e9314967c | ||
|
|
61acd9e95d | ||
|
|
7c691c4622 | ||
|
|
b959cb5359 | ||
|
|
9656531361 | ||
|
|
b03790e34d | ||
|
|
9d69ef09e3 | ||
|
|
53c6c8a1ba | ||
|
|
3277628d62 | ||
|
|
63181db03e | ||
|
|
8d90ddd531 | ||
|
|
8e32f46764 | ||
|
|
4175af18f8 | ||
|
|
24f0367a60 | ||
|
|
b96719cb80 | ||
|
|
3b0fbe7213 | ||
|
|
fbec569aea | ||
|
|
9929aff99e |
84
.gitmodules
vendored
84
.gitmodules
vendored
@@ -1,60 +1,60 @@
|
||||
[submodule "qtbase"]
|
||||
path = qtbase
|
||||
url = ../qtbase.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = essential
|
||||
[submodule "qtsvg"]
|
||||
depends = qtbase
|
||||
path = qtsvg
|
||||
url = ../qtsvg.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtdeclarative"]
|
||||
depends = qtbase
|
||||
recommends = qtsvg
|
||||
path = qtdeclarative
|
||||
url = ../qtdeclarative.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = essential
|
||||
[submodule "qtactiveqt"]
|
||||
depends = qtbase
|
||||
path = qtactiveqt
|
||||
url = ../qtactiveqt.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtscript"]
|
||||
depends = qtbase
|
||||
recommends = qttools
|
||||
path = qtscript
|
||||
url = ../qtscript.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = deprecated
|
||||
[submodule "qtmultimedia"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtmultimedia
|
||||
url = ../qtmultimedia.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = essential
|
||||
[submodule "qttools"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtactiveqt
|
||||
path = qttools
|
||||
url = ../qttools.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = essential
|
||||
[submodule "qtxmlpatterns"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtxmlpatterns
|
||||
url = ../qtxmlpatterns.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = deprecated
|
||||
[submodule "qttranslations"]
|
||||
depends = qttools
|
||||
path = qttranslations
|
||||
url = ../qttranslations.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = essential
|
||||
priority = 30
|
||||
[submodule "qtdoc"]
|
||||
@@ -62,7 +62,7 @@
|
||||
recommends = qtmultimedia qtquickcontrols qtquickcontrols2
|
||||
path = qtdoc
|
||||
url = ../qtdoc.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = essential
|
||||
priority = 40
|
||||
[submodule "qtrepotools"]
|
||||
@@ -83,14 +83,14 @@
|
||||
recommends = qtdeclarative qtquickcontrols qtquickcontrols2 qtserialport
|
||||
path = qtlocation
|
||||
url = ../qtlocation.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtsensors"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtsensors
|
||||
url = ../qtsensors.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtsystems"]
|
||||
depends = qtbase
|
||||
@@ -123,99 +123,99 @@
|
||||
recommends = qtdeclarative qtandroidextras
|
||||
path = qtconnectivity
|
||||
url = ../qtconnectivity.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtwayland"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwayland
|
||||
url = ../qtwayland.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qt3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtimageformats qtgamepad
|
||||
path = qt3d
|
||||
url = ../qt3d.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtimageformats"]
|
||||
depends = qtbase
|
||||
path = qtimageformats
|
||||
url = ../qtimageformats.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtgraphicaleffects"]
|
||||
depends = qtdeclarative
|
||||
path = qtgraphicaleffects
|
||||
url = ../qtgraphicaleffects.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtquickcontrols"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtgraphicaleffects
|
||||
path = qtquickcontrols
|
||||
url = ../qtquickcontrols.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtserialbus"]
|
||||
depends = qtbase
|
||||
recommends = qtserialport
|
||||
path = qtserialbus
|
||||
url = ../qtserialbus.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtserialport"]
|
||||
depends = qtbase
|
||||
path = qtserialport
|
||||
url = ../qtserialport.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtx11extras"]
|
||||
depends = qtbase
|
||||
path = qtx11extras
|
||||
url = ../qtx11extras.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtmacextras"]
|
||||
depends = qtbase
|
||||
path = qtmacextras
|
||||
url = ../qtmacextras.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtwinextras"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtwinextras
|
||||
url = ../qtwinextras.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtandroidextras"]
|
||||
depends = qtbase
|
||||
path = qtandroidextras
|
||||
url = ../qtandroidextras.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtwebsockets"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwebsockets
|
||||
url = ../qtwebsockets.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtwebchannel"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtwebsockets
|
||||
path = qtwebchannel
|
||||
url = ../qtwebchannel.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtwebengine"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtquickcontrols qtquickcontrols2 qtlocation qtwebchannel qttools
|
||||
path = qtwebengine
|
||||
url = ../qtwebengine.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
priority = 10
|
||||
[submodule "qtcanvas3d"]
|
||||
@@ -229,98 +229,98 @@
|
||||
recommends = qtwebengine
|
||||
path = qtwebview
|
||||
url = ../qtwebview.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtquickcontrols2"]
|
||||
depends = qtgraphicaleffects
|
||||
recommends = qtimageformats
|
||||
path = qtquickcontrols2
|
||||
url = ../qtquickcontrols2.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = essential
|
||||
[submodule "qtpurchasing"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtandroidextras
|
||||
path = qtpurchasing
|
||||
url = ../qtpurchasing.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtcharts"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtcharts
|
||||
url = ../qtcharts.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtdatavis3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtdatavis3d
|
||||
url = ../qtdatavis3d.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtvirtualkeyboard"]
|
||||
depends = qtbase qtdeclarative qtsvg
|
||||
recommends = qtmultimedia qtquickcontrols
|
||||
path = qtvirtualkeyboard
|
||||
url = ../qtvirtualkeyboard.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtgamepad"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtgamepad
|
||||
url = ../qtgamepad.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtscxml"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtscxml
|
||||
url = ../qtscxml.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtspeech"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtspeech
|
||||
url = ../qtspeech.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtnetworkauth"]
|
||||
depends = qtbase
|
||||
path = qtnetworkauth
|
||||
url = ../qtnetworkauth.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtremoteobjects"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtremoteobjects
|
||||
url = ../qtremoteobjects.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtwebglplugin"]
|
||||
depends = qtbase qtwebsockets
|
||||
recommends = qtdeclarative
|
||||
path = qtwebglplugin
|
||||
url = ../qtwebglplugin.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = addon
|
||||
[submodule "qtlottie"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtlottie
|
||||
url = ../qtlottie.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = preview
|
||||
[submodule "qtquicktimeline"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtquicktimeline
|
||||
url = ../qtquicktimeline
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = preview
|
||||
[submodule "qtquick3d"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtquick3d
|
||||
url = ../qtquick3d.git
|
||||
branch = dev
|
||||
branch = 5.14.1
|
||||
status = preview
|
||||
|
||||
1331
LICENSE.QT-LICENSE-AGREEMENT
Normal file
1331
LICENSE.QT-LICENSE-AGREEMENT
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,913 +0,0 @@
|
||||
QT LICENSE AGREEMENT
|
||||
Agreement version 4.0
|
||||
|
||||
This License Agreement ("Agreement") is a legal agreement between The Qt
|
||||
Company (as defined below) and the Licensee (as defined below) for the license
|
||||
of Licensed Software (as defined below). Capitalized terms used herein are
|
||||
defined in Section 1.
|
||||
|
||||
WHEREAS:
|
||||
|
||||
(A). Licensee wishes to use the Licensed Software for the purpose of developing
|
||||
and distributing Applications and/or Devices; and
|
||||
|
||||
(B). The Qt Company is willing to grant the Licensee a right to use Licensed
|
||||
Software for such purpose pursuant to term and conditions of this Agreement.
|
||||
|
||||
NOW, THEREFORE, THE PARTIES HEREBY AGREE AS FOLLOWS:
|
||||
|
||||
1. DEFINITIONS
|
||||
|
||||
"Affiliate" of a Party shall mean an entity (i) which is directly or indirectly
|
||||
controlling such Party; (ii) which is under the same direct or indirect
|
||||
ownership or control as such Party; or (iii) which is directly or indirectly
|
||||
owned or controlled by such Party. For these purposes, an entity shall be
|
||||
treated as being controlled by another if that other entity has fifty percent
|
||||
(50 %) or more of the votes in such entity, is able to direct its affairs
|
||||
and/or to control the composition of its board of directors or equivalent body.
|
||||
|
||||
"Applications" shall mean Licensee's software products created using the
|
||||
Licensed Software, which may include the Redistributables, or part
|
||||
thereof.
|
||||
|
||||
"Contractor(s)" shall mean third party consultants, distributors and
|
||||
contractors performing services to a Party under applicable contractual
|
||||
arrangement.
|
||||
|
||||
"Customer(s)" shall mean Licensee's end users to whom Licensee, directly or
|
||||
indirectly, distributes copies of the Redistributables.
|
||||
|
||||
"Deployment Platforms" shall mean operating systems specified in the License
|
||||
Certificate, in which the Redistributables can be distributed pursuant to the
|
||||
terms and conditions of this Agreement.
|
||||
|
||||
"Designated User(s)" shall mean the employee(s) of Licensee or Licensee's
|
||||
Affiliates acting within the scope of their employment or Licensee's
|
||||
Contractors acting within the scope of their services for Licensee and on
|
||||
behalf of Licensee. Designated Users shall be named in the License Certificate.
|
||||
|
||||
"Development License" shall mean the license needed by the Licensee for each
|
||||
Designated User to use the Licensed Software under the license grant described
|
||||
in Section 3.1 of this Agreement.
|
||||
|
||||
"Development Platforms" shall mean those operating systems specified in the
|
||||
License Certificate, in which the Licensed Software can be used under the
|
||||
Development License, but not distributed in any form or used for any other
|
||||
purpose.
|
||||
|
||||
"Devices" shall mean hardware devices or products that 1) are manufactured
|
||||
and/or distributed by the Licensee or its Affiliates or Contractors, and
|
||||
(2)(i) incorporate or integrate the Redistributables or parts thereof; or (ii)
|
||||
do not incorporate or integrate the Redistributables at the time of
|
||||
distribution, but where, when used by a Customer, the main user interface or
|
||||
substantial functionality of such device is provided by Application(s) or
|
||||
otherwise depends on the Licensed Software.
|
||||
|
||||
"Distribution License(s)" shall mean the license required for distribution of
|
||||
Redistributables in connection with Devices pursuant to license grant described
|
||||
in Section 3.3 of this Agreement.
|
||||
|
||||
"Distribution License Packs" shall mean set of prepaid Distribution Licenses
|
||||
for distribution of Redistributables, as defined in The Qt Company's standard
|
||||
price list, quote, Purchase Order confirmation or in an appendix hereto,
|
||||
as the case may be.
|
||||
|
||||
"Intellectual Property Rights" shall mean patents (including utility models),
|
||||
design patents, and designs (whether or not capable of registration), chip
|
||||
topography rights and other like protection, copyrights, trademarks, service
|
||||
marks, trade names, logos or other words or symbols and any other form of
|
||||
statutory protection of any kind and applications for any of the foregoing as
|
||||
well as any trade secrets.
|
||||
|
||||
"License Certificate" shall mean a certificate generated by The Qt Company for
|
||||
each Designated User respectively upon them downloading the licensed Software.
|
||||
License Certificate will be available under respective Designated User's Qt
|
||||
Account at account.qt.io and it will specify the Designated User, the
|
||||
Development Platforms, Deployment Platforms and the License Term. The terms of
|
||||
the License Certificate are considered part of this Agreement and shall be
|
||||
updated from time to time to reflect any agreed changes to the foregoing terms
|
||||
relating to Designated User's rights to the Licensed Software.
|
||||
|
||||
"License Fee" shall mean the fee charged to the Licensee for rights granted
|
||||
under the terms of this Agreement.
|
||||
|
||||
"License Term" shall mean the agreed validity period of the Development
|
||||
License of the respective Designated User, during which time the
|
||||
Designated User is entitled to use the Licensed Software, as set forth in the
|
||||
respective License Certificate.
|
||||
|
||||
"Licensed Software" shall mean all versions of the
|
||||
|
||||
(i) Qt Toolkit (including Qt Essentials, Qt Add-Ons and Value-Add modules) as
|
||||
described in http://doc.qt.io/qt-5/qtmodules.html,
|
||||
|
||||
(ii) Qt Creator (including Creator IDE tool) as described in
|
||||
http://doc.qt.io/qtcreator/index.html,
|
||||
|
||||
(iii) Qt 3D Studio as described in http://doc.qt.io/qt3dstudio/index.html, and
|
||||
|
||||
as well as corresponding online or electronic documentation, associated media
|
||||
and printed materials, including the source code, example programs and the
|
||||
documentation, licensed to the Licensee under this Agreement. Licensed Software
|
||||
does not include Third Party Software (as defined in Section 4), Open Source
|
||||
Qt, or other software products of The Qt Company (for example Qt Safe Renderer
|
||||
and Qt for Automation), unless such other software products of The Qt Company
|
||||
are separately agreed in writing to be included in scope of the Licensed
|
||||
Software.
|
||||
|
||||
"Licensee" shall mean the individual or legal entity that is party to this
|
||||
Agreement, as identified on the signature page hereof.
|
||||
|
||||
"Licensee's Records" shall mean books and records that are likely to contain
|
||||
information bearing on Licensee's compliance with this Agreement or the
|
||||
payments due to The Qt Company under this Agreement, including, but not limited
|
||||
to: assembly logs, sales records and distribution records.
|
||||
|
||||
"Modified Software" shall have the meaning as set forth in Section 2.3.
|
||||
|
||||
"Online Services" shall mean any services or access to systems made available
|
||||
by The Qt Company to the Licensee over the Internet relating to the Licensed
|
||||
Software or for the purpose of use by the Licensee of the Licensed Software or
|
||||
Support. Use of any such Online Services is discretionary for the Licensee and
|
||||
some of them may be subject to additional fees.
|
||||
|
||||
"Open Source Qt" shall mean the non-commercial Qt computer software products,
|
||||
licensed under the terms of the GNU Lesser General Public License, version
|
||||
2.1 or later ("LGPL") or the GNU General Public License, version 2.0 or later
|
||||
("GPL"). For clarity, Open Source Qt shall not be provided nor governed under
|
||||
this Agreement.
|
||||
|
||||
"Party" or "Parties" shall mean Licensee and/or The Qt Company.
|
||||
|
||||
"Redistributables" shall mean the portions of the Licensed Software set forth
|
||||
in Appendix 1, Section 1 that may be distributed pursuant to the terms of this
|
||||
Agreement in object code form only, including any relevant documentation.
|
||||
Where relevant, any reference to Licensed Software in this Agreement shall
|
||||
include and refer also to Redistributables.
|
||||
|
||||
"Renewal Term" shall mean an extension of previous License Term as agreed
|
||||
between the Parties.
|
||||
|
||||
"Submitted Modified Software" shall have the meaning as set forth in
|
||||
Section 2.3.
|
||||
|
||||
"Support" shall mean standard developer support that is provided by The Qt
|
||||
Company to assist Designated Users in using the Licensed Software in
|
||||
accordance with The Qt Company's standard support terms and as further
|
||||
defined in Section 8 hereunder.
|
||||
|
||||
"Taxes" shall have the meaning set forth in Section 10.5.
|
||||
|
||||
"Term" shall have the meaning set forth in Section 12.
|
||||
|
||||
"The Qt Company" shall mean:
|
||||
|
||||
(i) in the event Licensee is an individual residing in the United States or a
|
||||
legal entity incorporated in the United States or having its headquarters in
|
||||
the United States, The Qt Company Inc., a Delaware corporation with its office
|
||||
at 2350 Mission College Blvd., Suite 1020, Santa Clara, CA 95054, USA.; or
|
||||
|
||||
(ii) in the event the Licensee is an individual residing outside of the United
|
||||
States or a legal entity incorporated outside of the United States or having
|
||||
its registered office outside of the United States, The Qt Company Ltd., a
|
||||
Finnish company with its registered office at Bertel Jungin aukio D3A, 02600
|
||||
Espoo, Finland.
|
||||
|
||||
"Third Party Software " shall have the meaning set forth in Section 4.
|
||||
|
||||
"Updates" shall mean a release or version of the Licensed Software containing
|
||||
bug fixes, error corrections and other changes that are generally made
|
||||
available to users of the Licensed Software that have contracted for Support.
|
||||
Updates are generally depicted as a change to the digits following the decimal
|
||||
in the Licensed Software version number. The Qt Company shall make Updates
|
||||
available to the Licensee under the Support. Updates shall be considered as
|
||||
part of the Licensed Software hereunder.
|
||||
|
||||
"Upgrades" shall mean a release or version of the Licensed Software containing
|
||||
enhancements and new features and are generally depicted as a change to the
|
||||
first digit of the Licensed Software version number. In the event Upgrades are
|
||||
provided to the Licensee under this Agreement, they shall be considered as
|
||||
part of the Licensed Software hereunder.
|
||||
|
||||
2. OWNERSHIP
|
||||
|
||||
2.1 Ownership of The Qt Company
|
||||
|
||||
The Licensed Software is protected by copyright laws and international
|
||||
copyright treaties, as well as other intellectual property laws and treaties.
|
||||
The Licensed Software is licensed, not sold.
|
||||
|
||||
All The Qt Company's Intellectual Property Rights are and shall remain the
|
||||
exclusive property of The Qt Company or its licensors respectively.
|
||||
|
||||
2.2 Ownership of Licensee
|
||||
|
||||
All the Licensee's Intellectual Property Rights are and shall remain the
|
||||
exclusive property of the Licensee or its licensors respectively.
|
||||
|
||||
All Intellectual Property Rights to the Modified Software, Applications and
|
||||
Devices shall remain with the Licensee and no rights thereto shall be granted
|
||||
by the Licensee to The Qt Company under this Agreement (except as set forth in
|
||||
Section 2.3 below).
|
||||
|
||||
2.3 Modified Software
|
||||
|
||||
Licensee may create bug-fixes, error corrections, patches or modifications to
|
||||
the Licensed Software ("Modified Software"). Such Modified Software may break
|
||||
the source or binary compatibility with the Licensed Software (including
|
||||
without limitation through changing the application programming interfaces
|
||||
("API") or by adding, changing or deleting any variable, method, or class
|
||||
signature in the Licensed Software and/or any inter-process protocols, services
|
||||
or standards in the Licensed Software libraries). To the extent that Licensee's
|
||||
Modified Software so breaks source or binary compatibility with the Licensed
|
||||
Software, Licensee acknowledges that The Qt Company's ability to provide
|
||||
Support may be prevented or limited and Licensee's ability to make use of
|
||||
Updates may be restricted.
|
||||
|
||||
Licensee may, at its sole and absolute discretion, choose to submit Modified
|
||||
Software to The Qt Company ("Submitted Modified Software") in connection with
|
||||
Licensee's Support request, service request or otherwise. In the event Licensee
|
||||
does so, then, Licensee hereby grants The Qt Company a sublicensable,
|
||||
assignable, irrevocable, perpetual, worldwide, non-exclusive, royalty-free and
|
||||
fully paid-up license, under all of Licensee's Intellectual Property Rights, to
|
||||
reproduce, adapt, translate, modify, and prepare derivative works of, publicly
|
||||
display, publicly perform, sublicense, make available and distribute such
|
||||
Submitted Modified Software as The Qt Company sees fit at its free and absolute
|
||||
discretion.
|
||||
|
||||
3. LICENSES GRANTED
|
||||
|
||||
3.1 Development with Licensed Software
|
||||
|
||||
Subject to the terms of this Agreement, The Qt Company grants to Licensee a
|
||||
personal, worldwide, non-exclusive, non-transferable license, valid for the
|
||||
License Term, to use, modify and copy the Licensed Software by Designated Users
|
||||
on the Development Platforms for the sole purposes of designing, developing,
|
||||
demonstrating and testing Application(s) and/or Devices, and to provide thereto
|
||||
related support and other related services to end-user Customers.
|
||||
|
||||
Licensee may install copies of the Licensed Software on an unlimited number of
|
||||
computers provided that (i) only the Designated Users may use the Licensed
|
||||
Software, and (ii) all Designated Users must have a valid Development License
|
||||
to use Licensed Software.
|
||||
|
||||
Licensee may at any time designate another Designated User to replace a then-
|
||||
current Designated User by notifying The Qt Company in writing, provided that
|
||||
any Designated User may be replaced only once during any six-month period.
|
||||
|
||||
Upon expiry of the initially agreed License Term, the respective License Terms
|
||||
shall be automatically extended to one or more Renewal Term(s), unless and
|
||||
until either Party notifies the other Party in writing that it does not wish to
|
||||
continue the License Term, such notification to be provided to the other Party
|
||||
no less than ninety (90) days before expiry of the respective License Term.
|
||||
Unless otherwise agreed between the Parties, Renewal Term shall be of equal
|
||||
length with the initial Term.
|
||||
|
||||
Any such Renewal Term shall be subject to License Fees agreed between the
|
||||
Parties or, if no advance agreement exists, subject to The Qt Company's
|
||||
standard pricing applicable at the commencement date of any such Renewal Term.
|
||||
|
||||
3.2 Distribution of Applications
|
||||
|
||||
Subject to the terms of this Agreement, The Qt Company grants to Licensee a
|
||||
personal, worldwide, non-exclusive, non-transferable, revocable (for cause
|
||||
pursuant to this Agreement) right and license, valid for the Term, to
|
||||
|
||||
(i) distribute, by itself or through its Contractors, Redistributables as
|
||||
installed, incorporated or integrated into Applications for execution on the
|
||||
Deployment Platforms, and
|
||||
|
||||
(ii) grant sublicenses to Redistributables, as distributed hereunder, for
|
||||
Customers solely for Customer's internal use and to the extent necessary in
|
||||
order for the Customers to use the Applications for their respective intended
|
||||
purposes.
|
||||
|
||||
Right to distribute the Redistributables as part of an Application as provided
|
||||
herein is not royalty-bearing but is conditional upon the Licensee having paid
|
||||
the agreed Development Licenses from The Qt Company before distributing any
|
||||
Redistributables to Customers.
|
||||
|
||||
3.3 Distribution of Devices
|
||||
|
||||
Subject to the terms of this Agreement, The Qt Company grants to Licensee a
|
||||
personal, worldwide, non-exclusive, non-transferable, revocable (for cause
|
||||
pursuant to this Agreement) right and license, valid for the Term, to
|
||||
|
||||
(i) distribute, by itself or through one or more tiers of Contractors,
|
||||
Redistributables as installed, incorporated or integrated, or intended to be
|
||||
installed, incorporated or integrated into Devices for execution on the
|
||||
Deployment Platforms, and
|
||||
|
||||
(ii) grant sublicenses to Redistributables, as distributed hereunder, for
|
||||
Customers solely for Customer's internal use and to the extent necessary in
|
||||
order for the Customers to use the Devices for their respective intended
|
||||
purposes.
|
||||
|
||||
Right to distribute the Redistributables with Devices as provided herein is
|
||||
conditional upon the Licensee having purchased and paid the appropriate amount
|
||||
of Development and Distribution Licenses from The Qt Company before
|
||||
distributing any Redistributables to Customers.
|
||||
|
||||
3.4 Further Requirements
|
||||
|
||||
The licenses granted above in this Section 3 by The Qt Company to Licensee are
|
||||
conditional and subject to Licensee's compliance with the following terms:
|
||||
|
||||
(i) Licensee shall not remove or alter any copyright, trademark or other
|
||||
proprietary rights notice contained in any portion of the Licensed Software;
|
||||
|
||||
(ii) Applications must add primary and substantial functionality to the
|
||||
Licensed Software;
|
||||
|
||||
(iii) Applications may not pass on functionality which in any way makes it
|
||||
possible for others to create software with the Licensed Software; provided
|
||||
however that Licensee may use the Licensed Software's scripting and QML ("Qt
|
||||
Quick") functionality solely in order to enable scripting, themes and styles
|
||||
that augment the functionality and appearance of the Application(s) without
|
||||
adding primary and substantial functionality to the Application(s);
|
||||
|
||||
(iv) Applications must not compete with the Licensed Software;
|
||||
|
||||
(v) Licensee shall not use The Qt Company's or any of its suppliers' names,
|
||||
logos, or trademarks to market Applications, except that Licensee may use
|
||||
"Built with Qt" logo to indicate that Application(s) was developed using the
|
||||
Licensed Software;
|
||||
|
||||
(vi) Licensee shall not distribute, sublicense or disclose source code of
|
||||
Licensed Software to any third party (provided however that Licensee may
|
||||
appoint employee(s) of Contractors as Designated Users to use Licensed
|
||||
Software pursuant to this Agreement). Such right may be available for the
|
||||
Licensee subject to a separate software development kit ("SDK") license
|
||||
agreement to be concluded with The Qt Company;
|
||||
|
||||
(vii) Licensee shall not grant the Customers a right to (i) make copies of the
|
||||
Redistributables except when and to the extent required to use the Applications
|
||||
and/or Devices for their intended purpose, (ii) modify the Redistributables or
|
||||
create derivative works thereof, (iii) decompile, disassemble or otherwise
|
||||
reverse engineer Redistributables, or (iv) redistribute any copy or portion of
|
||||
the Redistributables to any third party, except as part of the onward sale of
|
||||
the Device on which the Redistributables are installed;
|
||||
|
||||
(viii) Licensee shall not and shall cause that its Affiliates or Contractors
|
||||
shall not a) in any way combine, incorporate or integrate Licensed Software
|
||||
with, or use Licensed Software for creation of, any software created with or
|
||||
incorporating Open Source Qt, or b) incorporate or integrate Applications
|
||||
into a hardware device or product other than a Device, unless Licensee has
|
||||
received an advance written permission from The Qt Company to do so. Absent
|
||||
such written permission, any and all distribution by the Licensee during the
|
||||
Term of a hardware device or product a) which incorporate or integrate any
|
||||
part of Licensed Software or Open Source Qt; or b) where the main user
|
||||
interface or substantial functionality is provided by software build with
|
||||
Licensed Software or Open Source Qt or otherwise depends on the Licensed
|
||||
Software or Open Source Qt, shall be considered as a Device distribution under
|
||||
this Agreement and dependent on compliance thereof (including but not limited
|
||||
to obligation to pay applicable License Fees for such distribution);
|
||||
|
||||
(ix) Licensee shall cause all of its Affiliates and Contractors entitled to
|
||||
make use of the licenses granted under this Agreement, to be contractually
|
||||
bound to comply with the relevant terms of this Agreement and not to use the
|
||||
Licensed Software beyond the terms hereof and for any purposes other than
|
||||
operating within the scope of their services for Licensee. Licensee shall be
|
||||
responsible for any and all actions and omissions of its Affiliates and
|
||||
Contractors relating to the Licensed Software and use thereof (including but
|
||||
not limited to payment of all applicable License Fees);
|
||||
|
||||
(x) Except when and to the extent explicitly provided in this Section 3,
|
||||
Licensee shall not transfer, publish, disclose, display or otherwise make
|
||||
available the Licensed Software;
|
||||
|
||||
; and
|
||||
|
||||
(xi) Licensee shall not attempt or enlist a third party to conduct or attempt
|
||||
to conduct any of the above.
|
||||
|
||||
Above terms shall not be applicable if and to the extent they conflict with any
|
||||
mandatory provisions of any applicable laws.
|
||||
|
||||
Any use of Licensed Software beyond the provisions of this Agreement is
|
||||
strictly prohibited and requires an additional license from The Qt Company.
|
||||
|
||||
4. THIRD PARTY SOFTWARE
|
||||
|
||||
The Licensed Software may provide links to third party libraries or code
|
||||
(collectively "Third Party Software") to implement various functions. Third
|
||||
Party Software does not comprise part of the Licensed Software. In some cases,
|
||||
access to Third Party Software may be included in the Licensed Software. Such
|
||||
Third Party Software will be listed in the ".../src/3rdparty" source tree
|
||||
delivered with the Licensed Software or documented in the Licensed Software, as
|
||||
such may be amended from time to time. Licensee acknowledges that use or
|
||||
distribution of Third Party Software is in all respects subject to applicable
|
||||
license terms of applicable third party right holders.
|
||||
|
||||
5. PRE-RELEASE CODE
|
||||
|
||||
The Licensed Software may contain pre-release code and functionality marked or
|
||||
otherwise stated as "Technology Preview", "Alpha", "Beta" or similar
|
||||
designation. Such pre-release code may be present in order to provide
|
||||
experimental support for new platforms or preliminary versions of one or more
|
||||
new functionalities. The pre-release code may not be at the level of
|
||||
performance and compatibility of a final, generally available, product
|
||||
offering of the Licensed Software. The pre-release parts of the Licensed
|
||||
Software may not operate correctly, may contain errors and may be substantially
|
||||
modified by The Qt Company prior to the first commercial product release, if
|
||||
any. The Qt Company is under no obligation to make pre-release code
|
||||
commercially available, or provide any Support or Updates relating thereto. The
|
||||
Qt Company assumes no liability whatsoever regarding any pre-release code, but
|
||||
any use thereof is exclusively at Licensee's own risk and expense.
|
||||
|
||||
6. LIMITED WARRANTY AND WARRANTY DISCLAIMER
|
||||
|
||||
The Qt Company hereby represents and warrants that it has the power and
|
||||
authority to grant the rights and licenses granted to Licensee under this
|
||||
Agreement.
|
||||
|
||||
Except as set forth above, the Licensed Software is licensed to Licensee
|
||||
"as is" and Licensee's exclusive remedy and The Qt Company's entire liability
|
||||
for errors in the Licensed Software shall be limited, at The Qt Company's
|
||||
option, to correction of the error, replacement of the Licensed Software or
|
||||
return of the applicable fees paid for the defective Licensed Software for the
|
||||
time period during which the License is not able to utilize the Licensed
|
||||
Software under the terms of this Agreement.
|
||||
|
||||
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE QT COMPANY ON BEHALF OF
|
||||
ITSELF AND ITS LICENSORS, SUPPLIERS AND AFFILIATES, DISCLAIMS ALL OTHER
|
||||
WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-
|
||||
INFRINGEMENT WITH REGARD TO THE LICENSED SOFTWARE. THE QT COMPANY DOES NOT
|
||||
WARRANT THAT THE LICENSED SOFTWARE WILL SATISFY LICENSEE'S REQUIREMENTS OR THAT
|
||||
IT WILL OPERATE WITHOUT DEFECT OR ERROR OR THAT THE OPERATION THEREOF WILL BE
|
||||
UNINTERRUPTED. ALL USE OF AND RELIANCE ON THE LICENSED SOFTWARE IS AT THE SOLE
|
||||
RISK OF AND RESPONSIBILITY OF LICENSEE.
|
||||
|
||||
7. INDEMNIFICATION AND LIMITATION OF LIABILITY
|
||||
|
||||
7.1 Limitation of Liability
|
||||
|
||||
EXCEPT FOR (I) CASES OF GROSS NEGLIGENCE OR INTENTIONAL MISCONDUCT, AND (II)
|
||||
BREACH OF CONFIDENTIALITY, AND TO THE EXTENT PERMITTED BY APPLICABLE LAW, IN NO
|
||||
EVENT SHALL EITHER PARTY BE LIABLE TO THE OTHER PARTY FOR ANY LOSS OF PROFIT,
|
||||
LOSS OF DATA, LOSS OF BUSINESS OR GOODWILL OR ANY OTHER INDIRECT, SPECIAL,
|
||||
CONSEQUENTIAL, INCIDENTAL OR PUNITIVE COST, DAMAGES OR EXPENSE OF ANY KIND,
|
||||
HOWSOEVER ARISING UNDER OR IN CONNECTION WITH THIS AGREEMENT. PARTIES
|
||||
SPECIFICALLY AGREE THAT LICENSEE'S OBLIGATION TO PAY LICENSE AND OTHER FEES
|
||||
CORRESPONDING TO ACTUAL USAGE OF LICENSED SOFTWARE HEREUNDER SHALL BE
|
||||
CONSIDERED AS A DIRECT DAMAGE.
|
||||
|
||||
EXCEPT FOR (I) CASES OF GROSS NEGLIGENCE OR INTENTIONAL MISCONDUCT, AND (II)
|
||||
BREACH OF CONFIDENTIALITY, AND TO THE EXTENT PERMITTED BY APPLICABLE LAW, IN
|
||||
NO EVENT SHALL EITHER PARTY'S TOTAL AGGREGATE LIABILITY UNDER THIS AGREEMENT
|
||||
EXCEED THE AGGREGATE LICENSE FEES PAID OR PAYABLE TO THE QT COMPANY FROM
|
||||
LICENSEE DURING THE PERIOD OF TWELVE (12) MONTHS IMMEDIATELY PRECEDING THE
|
||||
EVENT RESULTING IN SUCH LIABILITY.
|
||||
|
||||
THE PROVISIONS OF THIS SECTION 7 ALLOCATE THE RISKS UNDER THIS AGREEMENT
|
||||
BETWEEN THE QT COMPANY AND LICENSEE AND THE PARTIES HAVE RELIED UPON THE
|
||||
LIMITATIONS SET FORTH HEREIN IN DETERMINING WHETHER TO ENTER INTO THIS AGREEMENT.
|
||||
|
||||
7.2 Licensee's Indemnification
|
||||
|
||||
Licensee shall indemnify and hold harmless The Qt Company from and against any
|
||||
claim, injury, judgment, settlement, loss or expense, including attorneys' fees
|
||||
related to: (a) Licensee's misrepresentation in connection with The Qt Company
|
||||
or the Licensed Software or breach of this Agreement, (b) the Application or
|
||||
Device (except where such cause of liability is solely attributable to the
|
||||
Licensed Software).
|
||||
|
||||
8. SUPPORT, UPDATES AND ONLINE SERVICES
|
||||
|
||||
Upon due payment of the agreed License Fees the Licensee will be eligible to
|
||||
receive Support and Updates and to use the Online Services during the License
|
||||
Term, provided, however, that in the event the License Term is longer than 36
|
||||
months, Support is provided only for the first 12 months, unless the Parties
|
||||
specifically otherwise agree.
|
||||
|
||||
Unless otherwise decided by The Company at its free and absolute discretion,
|
||||
Upgrades will not be included in the Support but may be available subject to
|
||||
additional fees.
|
||||
|
||||
From time to time The Qt Company may change the Support terms, provided that
|
||||
during the respective ongoing License Term the level of Support provided by The
|
||||
Qt Company may not be reduced without the consent of the Licensee.
|
||||
|
||||
Unless otherwise agreed, The Qt Company shall not be responsible for providing
|
||||
any service or support to Customers.
|
||||
|
||||
9. CONFIDENTIALITY
|
||||
|
||||
Each Party acknowledges that during the Term of this Agreement each Party may
|
||||
receive information about the other Party's business, business methods,
|
||||
business plans, customers, business relations, technology, and other
|
||||
information, including the terms of this Agreement, that is confidential and
|
||||
of great value to the other Party, and the value of which would be
|
||||
significantly reduced if disclosed to third parties ("Confidential
|
||||
Information"). Accordingly, when a Party (the "Receiving Party") receives
|
||||
Confidential Information from the other Party (the "Disclosing Party"), the
|
||||
Receiving Party shall only disclose such information to employees and
|
||||
Contractors on a need to know basis, and shall cause its employees and
|
||||
employees of its Affiliates to: (i) maintain any and all Confidential
|
||||
Information in confidence; (ii) not disclose the Confidential Information to a
|
||||
third party without the Disclosing Party's prior written approval; and (iii)
|
||||
not, directly or indirectly, use the Confidential Information for any purpose
|
||||
other than for exercising its rights and fulfilling its responsibilities
|
||||
pursuant to this Agreement. Each Party shall take reasonable measures to
|
||||
protect the Confidential Information of the other Party, which measures shall
|
||||
not be less than the measures taken by such Party to protect its own
|
||||
confidential and proprietary information.
|
||||
|
||||
Obligation of confidentiality shall not apply to information that (i) is or
|
||||
becomes generally known to the public through no act or omission of the
|
||||
Receiving Party; (ii) was in the Receiving Party's lawful possession prior to
|
||||
the disclosure hereunder and was not subject to limitations on disclosure or
|
||||
use; (iii) is developed independently by employees or Contractors of the
|
||||
Receiving Party or other persons working for the Receiving Party who have not
|
||||
had access to the Confidential Information of the Disclosing Party, as proven
|
||||
by the written records of the Receiving Party; (iv) is lawfully disclosed to
|
||||
the Receiving Party without restrictions, by a third party not under an
|
||||
obligation of confidentiality; or (v) the Receiving Party is legally compelled
|
||||
to disclose, in which case the Receiving Party shall notify the Disclosing
|
||||
Party of such compelled disclosure and assert the privileged and confidential
|
||||
nature of the information and cooperate fully with the Disclosing Party to
|
||||
limit the scope of disclosure and the dissemination of disclosed Confidential
|
||||
Information to the minimum extent necessary.
|
||||
|
||||
The obligations under this Section 9 shall continue to remain in force for a
|
||||
period of five (5) years after the last disclosure, and, with respect to trade
|
||||
secrets, for so long as such trade secrets are protected under applicable trade
|
||||
secret laws.
|
||||
|
||||
10. FEES, DELIVERY AND PAYMENT
|
||||
|
||||
10.1 License Fees
|
||||
|
||||
License Fees are described in The Qt Company's standard price list, quote or
|
||||
Purchase Order confirmation or in an appendix hereto, as the case may be.
|
||||
|
||||
The License Fees shall not be refunded or claimed as a credit in any event or
|
||||
for any reason whatsoever.
|
||||
|
||||
10.2 Ordering Licenses
|
||||
|
||||
Licensee may purchase Development Licenses and Distribution Licenses pursuant
|
||||
to agreed pricing terms or, if no specific pricing terms have been agreed upon,
|
||||
at The Qt Company's standard pricing terms applicable at the time of purchase.
|
||||
|
||||
Licensee shall submit all purchase orders for Development Licenses and
|
||||
Distribution Licenses to The Qt Company by email or any other method acceptable
|
||||
to The Qt Company (each such order is referred to herein as a "Purchase Order")
|
||||
for confirmation, whereupon the Purchase Order shall become binding between the
|
||||
Parties.
|
||||
|
||||
10.3 Distribution License Packs
|
||||
|
||||
Unless otherwise agreed, Distribution Licenses shall be purchased by way of
|
||||
Distribution License Packs.
|
||||
|
||||
Upon due payment of the ordered Distribution License Pack(s), the Licensee will
|
||||
have an account of Distribution Licenses available for installing, bundling or
|
||||
integrating (all jointly "installing") the Redistributables with the Devices or
|
||||
for otherwise distributing the Redistributables in accordance with this
|
||||
Agreement.
|
||||
|
||||
Each time Licensee "installs" or distributes a copy of Redistributables, then
|
||||
one Distribution License is used, and Licensee's account of available
|
||||
Distribution Licenses is decreased accordingly.
|
||||
|
||||
Licensee may "install" copies of the Redistributables so long as Licensee has
|
||||
Distribution Licenses remaining on its account.
|
||||
|
||||
Redistributables will be deemed to have been "installed" into a Device when one
|
||||
of the following circumstances shall have occurred: a) the Redistributables
|
||||
have been loaded onto the Device and used outside of the Licensee's premises or
|
||||
b) the Device has been fully tested and placed into Licensee's inventory
|
||||
(or sold) for the first time (i.e., Licensee will not be required to use
|
||||
(or pay for) more than one Distribution License for each individual Device,
|
||||
e.g. in a situation where a Device is returned to Licensee's inventory after
|
||||
delivery to a distributor or sale to a Customer). In addition, if Licensee
|
||||
includes a back-up copy of the Redistributables on a CD-ROM or other storage
|
||||
medium along with the product, that backup copy of the Redistributables will
|
||||
not be deemed to have been "installed" and will not require an additional
|
||||
Distribution License.
|
||||
|
||||
10.4 Payment Terms
|
||||
|
||||
License Fees and any other charges under this Agreement shall be paid by
|
||||
Licensee no later than thirty (30) days from the date of the applicable invoice
|
||||
from The Qt Company.
|
||||
|
||||
The Qt Company will submit an invoice to Licensee after the date of this
|
||||
Agreement and/or after The Qt Company receives a Purchase Order from
|
||||
Licensee.
|
||||
|
||||
A late payment charge of the lower of (a) one percent per month; or (b) the
|
||||
interest rate stipulated by applicable law, shall be charged on any unpaid
|
||||
balances that remain past due.
|
||||
|
||||
The Qt Company shall have the right to suspend, terminate or withhold grants
|
||||
of all rights to the Licensed Software hereunder, including but not limited to
|
||||
the Developer License, Distribution License, and Support, should Licensee fail
|
||||
to make payment in timely fashion.
|
||||
|
||||
10.5 Taxes
|
||||
|
||||
All License Fees and other charges payable hereunder are gross amounts but
|
||||
exclusive of any value added tax, use tax, sales tax and other taxes, duties or
|
||||
tariffs ("Taxes"). Such applicable Taxes shall be paid by Licensee, or, where
|
||||
applicable, in lieu of payment of such Taxes, Licensee shall provide an
|
||||
exemption certificate to The Qt Company and any applicable authority.
|
||||
|
||||
11 RECORD-KEEPING AND REPORTING OBLIGATIONS; AUDIT RIGHTS
|
||||
|
||||
11.1 Licensee's Record-keeping
|
||||
|
||||
Licensee shall at all times maintain accurate and up-to-date written records of
|
||||
Licensee's activities related to the use of Licensed Software and distribution
|
||||
of Redistributables. The records shall be adequate to determine Licensee's
|
||||
compliance with the provisions of this Agreement and to demonstrate the number
|
||||
of Designated Users and Redistributables distributed by Licensee. The records
|
||||
shall conform to good accounting practices reasonably acceptable to The Qt
|
||||
Company.
|
||||
|
||||
Licensee shall, within thirty (30) days from receiving The Qt Company's request
|
||||
to that effect, deliver to The Qt Company a report on Licensee's usage of
|
||||
Licensed Software, such report to copies of Redistributables distributed by
|
||||
Licensee during that calendar quarter, and also detailing the number of
|
||||
undistributed copies of Redistributables made by Licensee and remaining in its
|
||||
account contain information, in sufficient detail, on (i) amount of users
|
||||
working with Licensed Software, (ii) copies of Redistributables distributed by
|
||||
Licensee during that calendar quarter, (iii) number of undistributed copies of
|
||||
Redistributables and corresponding number of unused Distribution Licenses
|
||||
remaining on Licensee's account, and (iv) any other information as The Qt
|
||||
Company may reasonably require from time to time.
|
||||
|
||||
11.2. The Qt Company's Audit Rights
|
||||
|
||||
The Qt Company or an independent auditor acting on behalf of The Qt Company's,
|
||||
may, upon at least five (5) business days' prior written notice and at its
|
||||
expense, audit Licensee with respect to the use of the Redistributables, but
|
||||
not more frequently than once during each 6-month period. Such audit may be
|
||||
conducted by mail, electronic means or through an in-person visit to Licensee's
|
||||
place of business. Any such in-person audit shall be conducted during regular
|
||||
business hours at Licensee's facilities and shall not unreasonably interfere
|
||||
with Licensee's business activities. The Qt Company or the independent auditor
|
||||
acting on behalf of The Qt Company shall be entitled to inspect Licensee's
|
||||
Records. All such Licensee's Records and use thereof shall be subject to an
|
||||
obligation of confidentiality under this Agreement.
|
||||
|
||||
If an audit reveals that Licensee is using the Licensed Software beyond scope
|
||||
of the licenses Licensee has paid for, Licensee agrees to immediately pay The
|
||||
Qt Company any amounts owed for such unauthorized use.
|
||||
|
||||
In addition, in the event the audit reveals a material violation of the terms
|
||||
of this Agreement (underpayment of more than 5% of License Fees shall always be
|
||||
deemed a material violation for purposes of this section), then the Licensee
|
||||
shall pay The Qt Company's reasonable cost of conducting such audit.
|
||||
|
||||
12 TERM AND TERMINATION
|
||||
|
||||
12.1 Term
|
||||
|
||||
This Agreement shall enter into force upon due acceptance by both Parties and
|
||||
remain in force for as long as there is any Development License(s) in force
|
||||
("Term"), unless and until terminated pursuant to the terms of this Section 12.
|
||||
|
||||
12.2 Termination by The Qt Company
|
||||
|
||||
The Qt Company shall have the right to terminate this Agreement upon thirty
|
||||
(30) days prior written notice if the Licensee is in material breach of any
|
||||
obligation of this Agreement and fails to remedy such breach within such notice
|
||||
period.
|
||||
|
||||
12.3 Mutual Right to Terminate
|
||||
|
||||
Either Party shall have the right to terminate this Agreement immediately upon
|
||||
written notice in the event that the other Party becomes insolvent, files for
|
||||
any form of bankruptcy, makes any assignment for the benefit of creditors, has
|
||||
a receiver, administrative receiver or officer appointed over the whole or a
|
||||
substantial part of its assets, ceases to conduct business, or an act
|
||||
equivalent to any of the above occurs under the laws of the jurisdiction of the
|
||||
other Party.
|
||||
|
||||
12.4 Parties' Rights and Duties upon Termination
|
||||
|
||||
Upon expiry or termination of the Agreement Licensee shall cease and shall
|
||||
cause all Designated Users (including those of its Affiliates' and
|
||||
Contractors') to cease using the Licensed Software and distribution of the
|
||||
Redistributables under this Agreement.
|
||||
|
||||
Notwithstanding the above, in the event the Agreement expires or is terminated:
|
||||
|
||||
(i) as a result of The Qt Company choosing not to renew the Development
|
||||
License(s) as set forth in Section 3.1, then all valid licenses possessed by
|
||||
the Licensee at such date shall be extended to be valid in perpetuity under the
|
||||
terms of this Agreement and Licensee is entitled to purchase additional
|
||||
licenses as set forth in Section 10.2; or
|
||||
|
||||
(ii) for reason other than by The Qt Company pursuant to item (i) above or
|
||||
pursuant to Section 12.2, then the Licensee is entitled, for a period of six
|
||||
(6) months after the effective date of termination, to continue distribution of
|
||||
Devices under the Distribution Licenses paid but unused at such effective date
|
||||
of termination.
|
||||
|
||||
Upon any such termination the Licensee shall destroy or return to The Qt
|
||||
Company all copies of the Licensed Software and all related materials and will
|
||||
certify the same to The Qt Company upon its request, provided however that
|
||||
Licensee may retain and exploit such copies of the Licensed Software as it may
|
||||
reasonably require in providing continued support to Customers.
|
||||
|
||||
Expiry or termination of this Agreement for any reason whatsoever shall not
|
||||
relieve Licensee of its obligation to pay any License Fees accrued or payable
|
||||
to The Qt Company prior to the effective date of termination, and Licensee
|
||||
shall immediately pay to The Qt Company all such fees upon the effective date
|
||||
of termination. Termination of this Agreement shall not affect any rights of
|
||||
Customers to continue use of Applications and Devices (and therein incorporated
|
||||
Redistributables).
|
||||
|
||||
12.5 Extension in case of bankruptcy
|
||||
|
||||
In the event The Qt Company is declared bankrupt under a final, non-cancellable
|
||||
decision by relevant court of law, and this Agreement is not, at the date of
|
||||
expiry of the Development License(s) pursuant to Section 3.1, assigned to
|
||||
party, who has assumed The Qt Company's position as a legitimate licensor of
|
||||
Licensed Software under this Agreement, then all valid licenses possessed by
|
||||
the Licensee at such date of expiry, and which the Licensee has not notified
|
||||
for expiry, shall be extended to be valid in perpetuity under the terms of
|
||||
this Agreement.
|
||||
|
||||
13. GOVERNING LAW AND LEGAL VENUE
|
||||
|
||||
In the event this Agreement is in the name of The Qt Company Inc., a Delaware
|
||||
Corporation, then:
|
||||
|
||||
(i) this Agreement shall be construed and interpreted in accordance with the
|
||||
laws of the State of California, USA, excluding its choice of law provisions;
|
||||
|
||||
(ii) the United Nations Convention on Contracts for the International Sale of
|
||||
Goods will not apply to this Agreement; and
|
||||
|
||||
(iii) any dispute, claim or controversy arising out of or relating to this
|
||||
Agreement or the breach, termination, enforcement, interpretation or validity
|
||||
thereof, including the determination of the scope or applicability of this
|
||||
Agreement to arbitrate, shall be determined by arbitration in San Francisco,
|
||||
USA, before one arbitrator. The arbitration shall be administered by JAMS
|
||||
pursuant to JAMS' Streamlined Arbitration Rules and Procedures. Judgment on the
|
||||
Award may be entered in any court having jurisdiction. This Section shall not
|
||||
preclude parties from seeking provisional remedies in aid of arbitration from a
|
||||
court of appropriate jurisdiction.
|
||||
|
||||
In the event this Agreement is in the name of The Qt Company Ltd., a Finnish
|
||||
Company, then:
|
||||
|
||||
(i) this Agreement shall be construed and interpreted in accordance with the
|
||||
laws of Finland, excluding its choice of law provisions;
|
||||
|
||||
(ii) the United Nations Convention on Contracts for the International Sale of
|
||||
Goods will not apply to this Agreement; and
|
||||
|
||||
(iii) any disputes, controversy or claim arising out of or relating to this
|
||||
Agreement, or the breach, termination or validity thereof shall be shall be
|
||||
finally settled by arbitration in accordance with the Arbitration Rules of
|
||||
Finland Chamber of Commerce. The arbitration tribunal shall consist of one (1),
|
||||
or if either Party so requires, of three (3), arbitrators. The award shall be
|
||||
final and binding and enforceable in any court of competent jurisdiction. The
|
||||
arbitration shall be held in Helsinki, Finland and the process shall be
|
||||
conducted in the English language. This Section shall not preclude parties from
|
||||
seeking provisional remedies in aid of arbitration from a court of appropriate
|
||||
jurisdiction.
|
||||
|
||||
14. GENERAL PROVISIONS
|
||||
|
||||
14.1 No Assignment
|
||||
|
||||
Except in the case of a merger or sale of substantially all of its corporate
|
||||
assets, Licensee shall not be entitled to assign or transfer all or any of its
|
||||
rights, benefits and obligations under this Agreement without the prior written
|
||||
consent of The Qt Company, which shall not be unreasonably withheld or delayed.
|
||||
The Qt Company shall be entitled to freely assign or transfer any of its
|
||||
rights, benefits or obligations under this Agreement.
|
||||
|
||||
14.2 No Third Party Representations
|
||||
|
||||
Licensee shall make no representations or warranties concerning the Licensed
|
||||
Software on behalf of The Qt Company. Any representation or warranty Licensee
|
||||
makes or purports to make on The Qt Company's behalf shall be void as to The
|
||||
Qt Company.
|
||||
|
||||
14.3 Surviving Sections
|
||||
|
||||
Any terms and conditions that by their nature or otherwise reasonably should
|
||||
survive termination of this Agreement shall so be deemed to survive.
|
||||
|
||||
14.4 Entire Agreement
|
||||
|
||||
This Agreement, the exhibits hereto, the License Certificate and any applicable
|
||||
Purchase Order constitute the complete agreement between the Parties and
|
||||
supersedes all prior or contemporaneous discussions, representations, and
|
||||
proposals, written or oral, with respect to the subject matters discussed
|
||||
herein.
|
||||
|
||||
In the event of any conflict or inconsistency between this Agreement and any
|
||||
Purchase Order, the terms of this Agreement will prevail over the terms of the
|
||||
Purchase Order with respect to such conflict or inconsistency.
|
||||
|
||||
Parties specifically acknowledge and agree that this Agreement prevails over
|
||||
any click-to-accept or similar agreements the Designated Users may need to
|
||||
accept online upon download of the Licensed Software, as may be required by
|
||||
The Qt Company's applicable processes relating to Licensed Software.
|
||||
|
||||
14.5 Modifications
|
||||
|
||||
No modification of this Agreement shall be effective unless contained in a
|
||||
writing executed by an authorized representative of each Party. No term or
|
||||
condition contained in Licensee's Purchase Order shall apply unless expressly
|
||||
accepted by The Qt Company in writing.
|
||||
|
||||
14.6 Force Majeure
|
||||
|
||||
Except for the payment obligations hereunder, neither Party shall be liable to
|
||||
the other for any delay or non-performance of its obligations hereunder in the
|
||||
event and to the extent that such delay or non-performance is due to an event
|
||||
of act of God, terrorist attack or other similar unforeseeable catastrophic
|
||||
event that prevents either Party for fulfilling its obligations under this
|
||||
Agreement and which such Party cannot avoid or circumvent ("Force Majeure
|
||||
Event"). If the Force Majeure Event results in a delay or non-performance of a
|
||||
Party for a period of three (3) months or longer, then either Party shall have
|
||||
the right to terminate this Agreement with immediate effect without any
|
||||
liability (except for the obligations of payment arising prior to the event of
|
||||
Force Majeure) towards the other Party.
|
||||
|
||||
14.7 Notices
|
||||
|
||||
Any notice given by one Party to the other shall be deemed properly given and
|
||||
deemed received if specifically acknowledged by the receiving Party in writing
|
||||
or when successfully delivered to the recipient by hand, fax, or special
|
||||
courier during normal business hours on a business day to the addresses
|
||||
specified for each Party on the signature page. Each communication and document
|
||||
made or delivered by one Party to the other Party pursuant to this Agreement
|
||||
shall be in the English language.
|
||||
|
||||
14.8 Export Control
|
||||
|
||||
Licensee acknowledges that the Redistributables may be subject to export
|
||||
control restrictions under the applicable laws of respective countries.
|
||||
Licensee shall fully comply with all applicable export license restrictions
|
||||
and requirements as well as with all laws and regulations relating to the
|
||||
Redistributables and exercise of licenses hereunder and shall procure all
|
||||
necessary governmental authorizations, including without limitation, all
|
||||
necessary licenses, approvals, permissions or consents, where necessary for the
|
||||
re-exportation of the Redistributables, Applications and/or Devices.
|
||||
|
||||
14.9 No Implied License
|
||||
|
||||
There are no implied licenses or other implied rights granted under this
|
||||
Agreement, and all rights, save for those expressly granted hereunder, shall
|
||||
remain with The Qt Company and its licensors. In addition, no licenses or
|
||||
immunities are granted to the combination of the Licensed Software with any
|
||||
other software or hardware not delivered by The Qt Company under this Agreement.
|
||||
|
||||
14.10 Attorney Fees
|
||||
|
||||
The prevailing Party in any action to enforce this Agreement shall be entitled
|
||||
to recover its attorney's fees and costs in connection with such action.
|
||||
|
||||
14.11 Severability
|
||||
|
||||
If any provision of this Agreement shall be adjudged by any court of competent
|
||||
jurisdiction to be unenforceable or invalid, that provision shall be limited or
|
||||
eliminated to the minimum extent necessary so that this Agreement shall
|
||||
otherwise remain in full force and effect and enforceable.
|
||||
|
||||
|
||||
IN WITNESS WHEREOF, the Parties hereto, intending to be legally bound hereby,
|
||||
have caused this Agreement to be executed by Licensee's authorized
|
||||
representative installing the Licensed Software and accepting the terms
|
||||
hereof in connection therewith.
|
||||
|
||||
|
||||
Appendix 1
|
||||
|
||||
1. Parts of the Licensed Software that are permitted for distribution in
|
||||
object code form only ("Redistributables") under this Agreement:
|
||||
|
||||
- The Licensed Software's Qt Essentials and Qt Add-on libraries
|
||||
- The Licensed Software's configuration tool ("qtconfig")
|
||||
- The Licensed Software's help tool ("Qt Assistant")
|
||||
- The Licensed Software's internationalization tools ("Qt Linguist", "lupdate",
|
||||
"lrelease")
|
||||
- The Licensed Software's QML ("Qt Quick") launcher tool ("qmlscene" or
|
||||
"qmlviewer")
|
||||
- The Licensed Software's installer framework
|
||||
|
||||
2. Parts of the Licensed Software that are not permitted for distribution
|
||||
include, but are not limited to:
|
||||
|
||||
- The Licensed Software's source code and header files
|
||||
- The Licensed Software's documentation
|
||||
- The Licensed Software's documentation generation tool ("qdoc")
|
||||
- The Licensed Software's tool for writing makefiles ("qmake")
|
||||
- The Licensed Software's Meta Object Compiler ("moc")
|
||||
- The Licensed Software's User Interface Compiler ("uic")
|
||||
- The Licensed Software's Resource Compiler ("rcc")
|
||||
- The Licensed Software's parts of the IDE tool ("Qt Creator")
|
||||
- The Licensed Software's parts of the Design tools ("Qt 3D Studio" or
|
||||
"Qt Quick Designer")
|
||||
- The Licensed Software's Emulator
|
||||
@@ -1,5 +1,8 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Compiler: 'MSVC2015'
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -developer-build -release -angle -qtnamespace TestNamespace -qtlibinfix TestInfix -nomake tests -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64%'
|
||||
@@ -8,39 +11,55 @@
|
||||
Compiler: 'Mingw73'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -developer-build -release -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -platform win32-g++'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'MSVC2017'
|
||||
Features: ['Packaging']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86%'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86%'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Compiler: 'MSVC2015'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64%'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Target os: 'WinRT_10'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'MSVC2015'
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -nomake examples -no-sql-mysql -platform win32-msvc2015 -xplatform winrt-x86-msvc2015'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Target os: 'WinRT_10'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'MSVC2015'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -nomake examples -no-sql-mysql -platform win32-msvc2015 -xplatform winrt-arm-msvc2015'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Compiler: 'MSVC2017'
|
||||
Features: ['Packaging']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64%'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Compiler: 'MSVC2019'
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64%'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Compiler: 'GCC'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -R . -qtlibinfix TestInfix -qtnamespace TestNamespace -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -no-gui -R . -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Compiler: 'GCC'
|
||||
@@ -66,41 +85,47 @@
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -release -static -nomake tests -nomake examples -no-sql-mysql -no-pch -no-dbus -no-headersclean -no-ssl -no-warnings-are-errors -no-feature-thread -xplatform wasm-emscripten'
|
||||
-
|
||||
Template: 'qtci-linux-SLES-15-x86_64'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -no-sql-mysql -no-pch -R . -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-7.6-x86_64'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -separate-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -qt-pcre -qt-harfbuzz -R . -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -separate-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -qt-pcre -qt-harfbuzz -R . -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib QMAKE_LFLAGS_APP+=-s'
|
||||
-
|
||||
Template: 'qtci-macos-10.13-x86_64-2'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Packaging']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -release -nomake tests -nomake examples -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -xplatform macx-clang -separate-debug-info -sdk macosx -device-option QMAKE_APPLE_DEVICE_ARCHS=x86_64 -sysconfdir /Library/Preferences/Qt -I/usr/local/opt/openssl/include'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -release -force-debug-info -separate-debug-info -nomake tests -nomake examples -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -sysconfdir /Library/Preferences/Qt -I/usr/local/opt/openssl/include'
|
||||
-
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Compiler: 'Clang'
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -release -nomake tests -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -xplatform macx-clang -separate-debug-info -sdk macosx -device-option QMAKE_APPLE_DEVICE_ARCHS=x86_64 -sysconfdir /Library/Preferences/Qt -I/usr/local/opt/openssl/include'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -release -nomake tests -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -sysconfdir /Library/Preferences/Qt -I/usr/local/opt/openssl/include'
|
||||
-
|
||||
Template: 'qtci-macos-10.12-x86_64-9'
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Compiler: 'Clang'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -developer-build -release -qtnamespace TestNamespace -nomake tests -nomake examples -no-pch -no-framework -xplatform macx-clang -sdk macosx -device-option QMAKE_APPLE_DEVICE_ARCHS=x86_64 -I/usr/local/opt/openssl/include'
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -developer-build -release -no-pch -no-framework -qtnamespace TestNamespace -nomake tests -nomake examples -I/usr/local/opt/openssl/include'
|
||||
-
|
||||
Template: 'qtci-macos-10.13-x86_64-2'
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Target os: 'IOS_ANY'
|
||||
Target arch: 'multi'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -nomake tests -no-icu -nomake examples -no-sql-mysql -no-sql-psql -plugin-sql-sqlite -static -xplatform macx-ios-clang'
|
||||
-
|
||||
Template: 'qtci-macos-10.13-x86_64-2'
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Target os: 'TvOS_ANY'
|
||||
Target arch: 'multi'
|
||||
Compiler: 'Clang'
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -nomake tests -nomake examples -no-sql-mysql -no-sql-psql -plugin-sql-sqlite -xplatform macx-tvos-clang'
|
||||
-
|
||||
Template: 'qtci-macos-10.13-x86_64-2'
|
||||
Template: 'qtci-macos-10.14-x86_64'
|
||||
Target os: 'WatchOS_ANY'
|
||||
Target arch: 'multi'
|
||||
Compiler: 'Clang'
|
||||
@@ -109,31 +134,32 @@
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-7.6-x86_64'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'armv7'
|
||||
Target arch: 'multi'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-qpa-platform-guard -no-use-gold-linker -sysconfdir /etc/xdg -opengl es2 -openssl -I {{.Env.OPENSSL_ANDROID_HOME}}/include -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r20 -android-ndk-host linux-x86_64 -android-arch armeabi-v7a -xplatform android-clang'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-7.6-x86_64'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-qpa-platform-guard -no-use-gold-linker -sysconfdir /etc/xdg -opengl es2 -openssl -I {{.Env.OPENSSL_ANDROID_HOME}}/include -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r20 -android-ndk-host linux-x86_64 -android-arch arm64-v8a -xplatform android-clang'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-use-gold-linker -no-qpa-platform-guard -opengl es2 -sysconfdir /etc/xdg -openssl -I {{.Env.OPENSSL_ANDROID_HOME}}/include -xplatform android-clang -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r20 -android-ndk-host linux-x86_64'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -sysroot /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
||||
Environment variables: ['GST_PLUGIN_SCANNER=/opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi/usr/libexec/gstreamer-1.0/gst-plugin-scanner']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -sysroot /opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'GCC'
|
||||
Environment variables: ['GST_PLUGIN_SCANNER=/opt/yocto-arm64/sysroots/aarch64-poky-linux/usr/libexec/gstreamer-1.0/gst-plugin-scanner']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-generic-g++ -device-option CROSS_COMPILE=/opt/yocto-arm64/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux- -device-option DISTRO_OPTS=boot2qt -sysroot /opt/yocto-arm64/sysroots/aarch64-poky-linux -extprefix /home/qt/work/install -mysql_config /opt/yocto-arm64/sysroots/aarch64-poky-linux/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'mips64'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-generic-g++ -device-option CROSS_COMPILE=/opt/yocto-mips64/sysroots/x86_64-pokysdk-linux/usr/bin/mips64-poky-linux/mips64-poky-linux- -device-option DISTRO_OPTS=boot2qt -sysroot /opt/yocto-mips64/sysroots/mips64-poky-linux -extprefix /home/qt/work/install -mysql_config /opt/yocto-mips64/sysroots/mips64-poky-linux/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Compiler: 'GCC'
|
||||
@@ -151,4 +177,4 @@
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-use-gold-linker -opengl es2 -no-sql-mysql -qpa qnx -xplatform qnx-armle-v7-qcc'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -extprefix /home/qt/work/install -release -nomake tests -nomake examples -no-use-gold-linker -opengl es2 -no-sql-mysql -qpa qnx -xplatform qnx-armle-v7-qcc'
|
||||
|
||||
23
coin/platform_configs/flashing-wizard.yaml
Normal file
23
coin/platform_configs/flashing-wizard.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Compiler: 'MSVC2017'
|
||||
Features: ['Packaging']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Compiler: 'MSVC2017'
|
||||
Target arch: 'x86'
|
||||
Features: ['Packaging']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-7.6-x86_64'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -qt-pcre -qt-harfbuzz -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib QMAKE_LFLAGS_APP+=-s -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly', 'LicenseCheck']
|
||||
23
coin/platform_configs/qdb.yaml
Normal file
23
coin/platform_configs/qdb.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Compiler: 'MSVC2015'
|
||||
Target arch: 'x86'
|
||||
Features: ['Packaging']
|
||||
Configure arguments: '-opensource -confirm-license -nomake tests -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -opengl dynamic -static -no-icu -nomake examples -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86%'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Compiler: 'MSVC2015'
|
||||
Features: ['Packaging']
|
||||
Configure arguments: '-opensource -confirm-license -nomake tests -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -opengl dynamic -static -no-icu -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64%'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-7.6-x86_64'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -qt-pcre -qt-harfbuzz -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib QMAKE_LFLAGS_APP+=-s -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly', 'LicenseCheck']
|
||||
@@ -1,11 +1,11 @@
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Target os: 'WinRT_10'
|
||||
Compiler: 'MSVC2015'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -debug-and-release -nomake tests -nomake examples -force-debug-info -no-sql-mysql -platform win32-msvc2015 -xplatform winrt-x64-msvc2015'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Target os: 'WinRT_10'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'MSVC2017'
|
||||
@@ -15,123 +15,89 @@
|
||||
Template: 'qtci-windows-7-x86-3'
|
||||
Compiler: 'Mingw73'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -platform win32-g++'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -force-debug-info -separate-debug-info -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -platform win32-g++ QMAKE_LFLAGS_APP+=-s'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Compiler: 'Mingw73'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -platform win32-g++'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -force-debug-info -separate-debug-info -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -platform win32-g++ QMAKE_LFLAGS_APP+=-s'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Target os: 'WinRT_10'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'MSVC2017'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -debug-and-release -nomake tests -nomake examples -force-debug-info -no-sql-mysql -platform win32-msvc2017 -xplatform winrt-arm-msvc2017'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Target os: 'WinRT_10'
|
||||
Compiler: 'MSVC2017'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -debug-and-release -nomake tests -nomake examples -force-debug-info -no-sql-mysql -platform win32-msvc2017 -xplatform winrt-x64-msvc2017'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-7.6-x86_64'
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'GCC'
|
||||
Target compiler: 'Clang'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-use-gold-linker -no-qpa-platform-guard -opengl es2 -sysconfdir /etc/xdg -openssl -I {{.Env.OPENSSL_ANDROID_HOME}}/include -xplatform android-clang -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r20 -android-ndk-host linux-x86_64 -android-arch x86'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'armv7'
|
||||
Target arch: 'multi'
|
||||
Compiler: 'Mingw73'
|
||||
Target compiler: 'Clang'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -opengl es2 -sysconfdir /etc/xdg -openssl -I c:\utils\openssl-android-master\include -xplatform android-clang -android-sdk C:\Utils\Android -android-ndk c:\Utils\Android\android-ndk-r20 -android-arch armeabi-v7a'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Mingw73'
|
||||
Target compiler: 'Clang'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -opengl es2 -sysconfdir /etc/xdg -openssl -I c:\utils\openssl-android-master\include -xplatform android-clang -android-sdk C:\Utils\Android -android-ndk c:\Utils\Android\android-ndk-r20 -android-arch arm64-v8a'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'Mingw73'
|
||||
Target compiler: 'Clang'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -opengl es2 -sysconfdir /etc/xdg -openssl -I c:\utils\openssl-android-master\include -xplatform android-clang -android-sdk C:\Utils\Android -android-ndk c:\Utils\Android\android-ndk-r20 -android-arch x86'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -opengl es2 -sysconfdir /etc/xdg -openssl -I c:\utils\openssl-android-master\include -xplatform android-clang -android-sdk C:\Utils\Android -android-ndk c:\Utils\Android\android-ndk-r20'
|
||||
-
|
||||
Template: 'qtci-macos-10.13-x86_64-2'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'armv7'
|
||||
Target arch: 'multi'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-qpa-platform-guard -opengl es2 -sysconfdir /etc/xdg -openssl -I /usr/local/opt/openssl/include -xplatform android-clang -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r20 -android-ndk-host darwin-x86_64 -android-arch armeabi-v7a'
|
||||
-
|
||||
Template: 'qtci-macos-10.13-x86_64-2'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-qpa-platform-guard -opengl es2 -sysconfdir /etc/xdg -openssl -I /usr/local/opt/openssl/include -xplatform android-clang -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r20 -android-ndk-host darwin-x86_64 -android-arch arm64-v8a'
|
||||
-
|
||||
Template: 'qtci-macos-10.13-x86_64-2'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-qpa-platform-guard -opengl es2 -sysconfdir /etc/xdg -openssl -I /usr/local/opt/openssl/include -xplatform android-clang -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r20 -android-ndk-host darwin-x86_64 -android-arch x86'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-qpa-platform-guard -opengl es2 -sysconfdir /etc/xdg -openssl -I /usr/local/opt/openssl/include -xplatform android-clang -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r20 -android-ndk-host darwin-x86_64'
|
||||
-
|
||||
Template: 'qtci-macos-10.13-x86_64-2'
|
||||
Target os: 'QNX_700'
|
||||
Target arch: 'x86'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -release -nomake tests -nomake examples -no-use-gold-linker -opengl es2 -qpa qnx -xplatform qnx-x86-qcc'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -extprefix /Users/qt/work/install -release -nomake tests -nomake examples -no-use-gold-linker -opengl es2 -qpa qnx -xplatform qnx-x86-qcc'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Target os: 'QNX_700'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'Mingw73'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -opengl es2 -xplatform qnx-armle-v7-qcc'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -extprefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -opengl es2 -xplatform qnx-armle-v7-qcc'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Target os: 'QNX_700'
|
||||
Target arch: 'armv8'
|
||||
Compiler: 'Mingw73'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -opengl es2 -nomake tests -nomake examples -no-sql-mysql -xplatform qnx-aarch64le-qcc'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -extprefix c:\Users\qt\work\install -release -opengl es2 -nomake tests -nomake examples -no-sql-mysql -xplatform qnx-aarch64le-qcc'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Target os: 'QNX_700'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'Mingw73'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -opengl es2 -xplatform qnx-x86-64-qcc'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -extprefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -opengl es2 -xplatform qnx-x86-64-qcc'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-7.6-x86_64'
|
||||
Target os: 'QNX_700'
|
||||
Target arch: 'armv8'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-use-gold-linker -opengl es2 -qpa qnx -xplatform qnx-aarch64le-qcc'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -extprefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-use-gold-linker -opengl es2 -qpa qnx -xplatform qnx-aarch64le-qcc'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-7.6-x86_64'
|
||||
Target os: 'QNX_700'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-use-gold-linker -opengl es2 -qpa qnx -xplatform qnx-x86-64-qcc'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -extprefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-use-gold-linker -opengl es2 -qpa qnx -xplatform qnx-x86-64-qcc'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'Mingw73'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake examples -nomake tests -no-feature-thread -static -no-dbus -no-headersclean -no-ssl -no-warnings-are-errors -no-pch -platform win32-g++ -xplatform wasm-emscripten'
|
||||
-
|
||||
Template: 'qtci-macos-10.13-x86_64-2'
|
||||
Target os: 'WebAssembly'
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -sysroot /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -sysroot /opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Target os: 'QEMU'
|
||||
@@ -13,7 +13,7 @@
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-generic-g++ -device-option CROSS_COMPILE=/opt/yocto-arm64/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux- -device-option DISTRO_OPTS=boot2qt -sysroot /opt/yocto-arm64/sysroots/aarch64-poky-linux -extprefix /home/qt/work/install -mysql_config /opt/yocto-arm64/sysroots/aarch64-poky-linux/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Target os: 'WinRT_10'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'MSVC2015'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Target os: 'WinRT_10'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'MSVC2015'
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -sysroot /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -sysroot /opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Target os: 'QEMU'
|
||||
@@ -15,7 +15,7 @@
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
Configure arguments: '-opensource -confirm-license -R . -developer-build -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi/usr/bin/mysql_config -no-xcb -nomake examples -nomake tests -openssl -prefix /home/qt/work/install -psql_config /dev/null -sysroot /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi -tslib -verbose'
|
||||
Configure arguments: '-opensource -confirm-license -R . -developer-build -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi/usr/bin/mysql_config -no-xcb -nomake examples -nomake tests -openssl -prefix /home/qt/work/install -psql_config /dev/null -sysroot /opt/yocto-armv7/sysroots/armv7at2hf-neon-poky-linux-gnueabi -tslib -verbose'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Target os: 'QEMU'
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Compiler: 'Mingw73'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -developer-build -nomake tests -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -platform win32-g++'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-14'
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Compiler: 'Mingw73'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -developer-build -static -nomake tests -nomake examples -no-icu -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -platform win32-g++'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -static -nomake tests -nomake examples -no-icu -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -platform win32-g++'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-7.6-x86_64'
|
||||
Compiler: 'GCC'
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -developer-build -static -nomake tests -nomake examples -no-use-gold-linker'
|
||||
Features: ['Packaging', 'DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -static -nomake tests -nomake examples -no-use-gold-linker -no-icu -no-fontconfig -qt-freetype -no-opengl -qpa offscreen -no-xcb -qt-libpng -no-vulkan'
|
||||
|
||||
@@ -6,3 +6,8 @@
|
||||
Template: 'qtci-linux-RHEL-6.6-x86_64'
|
||||
Compiler: 'GCC'
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -force-debug-info -nomake examples -nomake tests'
|
||||
-
|
||||
Template: 'qtci-windows-8.1-x86'
|
||||
Compiler: 'MSVC2015'
|
||||
Features: ['DisableTests']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -force-debug-info -opengl dynamic -nomake examples -nomake tests'
|
||||
|
||||
28
coin/platform_configs/tqtc-qt-config-gui.yaml
Normal file
28
coin/platform_configs/tqtc-qt-config-gui.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Compiler: 'MSVC2017'
|
||||
Features: ['Packaging']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-windows-10-x86_64-16'
|
||||
Compiler: 'MSVC2017'
|
||||
Target arch: 'x86'
|
||||
Features: ['Packaging']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-linux-RHEL-7.6-x86_64'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -qt-pcre -qt-harfbuzz -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib QMAKE_LFLAGS_APP+=-s -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-macos-10.13-x86_64-2'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Packaging']
|
||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -release -nomake tests -nomake examples -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -sysconfdir /Library/Preferences/Qt -I/usr/local/opt/openssl/include -static -no-icu'
|
||||
-
|
||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
||||
Compiler: 'GCC'
|
||||
Features: ['TestOnly', 'LicenseCheck']
|
||||
@@ -0,0 +1,14 @@
|
||||
# List about manual pre-installations to Tier1 image:
|
||||
|
||||
Vmware tools: installed
|
||||
Resolution: 1280 X 800
|
||||
Coin setup (installed boostrap agent, disabled fast boot, disabled firewall (both public and private), disabled UAC, enabled autologin)
|
||||
Remote Desktop Connection: enabled
|
||||
Timezone: set to UTC
|
||||
Administrator tools - services - Windows search: stop & disable
|
||||
Power settings screen & slee: never
|
||||
Turn windows features on or off -> Check the "SMB 1.0/CIFS File Sharing Support"
|
||||
MSVC 2019 build tools (default installation, no additional selections).
|
||||
* Install after MSVC2019 is installed!
|
||||
* Installer: "http://ci-files01-hki.intra.qt.io/input/windows/vs_buildtools__251503345.1575372514.exe"
|
||||
* Version: 16.3.10
|
||||
@@ -0,0 +1,72 @@
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2019 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$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# Windows 7 does not have Get-ScheduledTask and Unregister-ScheduledTask
|
||||
# thus needing its own version.
|
||||
Write-Host "Disabling defragmentation"
|
||||
$version = Get-CimInstance Win32_OperatingSystem | Select-Object -ExpandProperty Caption
|
||||
if ($version -like '*Windows 7*'){
|
||||
$pi = New-Object System.Diagnostics.ProcessStartInfo
|
||||
$pi.FileName = "C:\Windows\System32\schtasks.exe"
|
||||
$pi.RedirectStandardError = $true
|
||||
$pi.UseShellExecute = $false
|
||||
$pi.Arguments = "/Delete /TN `"\Microsoft\Windows\Defrag\ScheduledDefrag`" /F"
|
||||
$prog = New-Object System.Diagnostics.Process
|
||||
$prog.StartInfo = $pi
|
||||
$prog.Start() | Out-Null
|
||||
$err = $prog.StandardError.ReadToEnd()
|
||||
$prog.WaitForExit()
|
||||
if ($prog.ExitCode -eq 0){
|
||||
Write-Host "Scheduled defragmentation removed"
|
||||
} else {
|
||||
if ($err -like '*cannot find the file*'){
|
||||
Write-Host "No scheduled defragmentation task found"
|
||||
exit 0
|
||||
} else {
|
||||
Write-Host "Error while deleting scheduled defragmentation task: $err"
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
try {
|
||||
$state = (Get-ScheduledTask -ErrorAction Stop -TaskName "ScheduledDefrag").State
|
||||
Write-Host "Scheduled defragmentation task found in state: $state"
|
||||
}
|
||||
catch {
|
||||
Write-Host "No scheduled defragmentation task found"
|
||||
exit 0
|
||||
}
|
||||
Write-Host "Unregistering scheduled defragmentation task"
|
||||
Unregister-ScheduledTask -ErrorAction Stop -Confirm:$false -TaskName ScheduledDefrag
|
||||
Write-Host "Scheduled Defragmentation task was cancelled"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
# Disable the NTP from syncing
|
||||
Run-Executable "w32tm.exe" "/config /syncfromflags:NO"
|
||||
@@ -0,0 +1,88 @@
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
# This script will remove unneeded Tasks from Task Scheduler
|
||||
|
||||
# Application Experience 'Microsoft Compatibility Appraiser' - "Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program."
|
||||
DisableSchedulerTask "Application Experience\Microsoft Compatibility Appraiser"
|
||||
|
||||
# Application Experience 'ProgramDataUpdater' - "Collects program telemetry information if opted-in to the Microsoft Customer Experience Improvement Program"
|
||||
DisableSchedulerTask "Application Experience\ProgramDataUpdater"
|
||||
|
||||
# Autochk 'Proxy' - "This task collects and uploads autochk SQM data if opted-in to the Microsoft Customer Experience Improvement Program."
|
||||
DisableSchedulerTask "Autochk\Proxy"
|
||||
|
||||
# Chkdsk 'ProactiveScan' - "NTFS Volume Health Scan"
|
||||
DisableSchedulerTask "Chkdsk\ProactiveScan"
|
||||
|
||||
# Chkdsk 'SyspartRepair'
|
||||
DeleteSchedulerTask "Chkdsk\SyspartRepair"
|
||||
|
||||
# Customer Experience Improvement Program 'Consolidator' - "If the user has consented to participate in the Windows Customer Experience Improvement Program, this job collects and sends usage data to Microsoft."
|
||||
DisableSchedulerTask "Customer Experience Improvement Program\Consolidator"
|
||||
|
||||
# Customer Experience Improvement Program 'sbCeip' - "The USB CEIP (Customer Experience Improvement Program) task collects Universal Serial Bus related statistics and information about your machine and sends it to the Windows Device Connectivity engineering group at Microsoft. The information received is used to help improve the reliability, stability, and overall functionality of USB in Windows. If the user has not consented to participate in Windows CEIP, this task does not do anything."
|
||||
DisableSchedulerTask "Customer Experience Improvement Program\UsbCeip"
|
||||
|
||||
# Device Information 'Device'
|
||||
DisableSchedulerTask "Device Information\Device"
|
||||
|
||||
# Diagnosis 'Scheduled' - "The Windows Scheduled Maintenance Task performs periodic maintenance of the computer system by fixing problems automatically or reporting them through Security and Maintenance."
|
||||
DisableSchedulerTask "Diagnosis\Scheduled"
|
||||
|
||||
# DiskDiagnostic 'Microsoft-Windows-DiskDiagnosticDataCollector' - "The Windows Disk Diagnostic reports general disk and system information to Microsoft for users participating in the Customer Experience Program."
|
||||
DisableSchedulerTask "DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector"
|
||||
|
||||
# ExploitGuard 'ExploitGuard MDM policy Refresh' - "Task for applying changes to the machine's Exploit Protection settings."
|
||||
DisableSchedulerTask "ExploitGuard\ExploitGuard MDM policy Refresh"
|
||||
|
||||
# Feedback/Siuf 'DmClient'
|
||||
DisableSchedulerTask "Feedback\Siuf\DmClient"
|
||||
|
||||
# Feedback/Siuf 'DmClient'OnScenarioDownload'
|
||||
DisableSchedulerTask "Feedback\Siuf\DmClientOnScenarioDownload"
|
||||
|
||||
# File Classification Infrastructure 'Property Definition Sync'
|
||||
DisableSchedulerTask "File Classification Infrastructure\Property Definition Sync"
|
||||
|
||||
# InstallService 'ScanForUpdates'
|
||||
DisableSchedulerTask "InstallService\ScanForUpdates"
|
||||
|
||||
# InstallService 'ScanForUpdatesAsUser'
|
||||
DisableSchedulerTask "InstallService\ScanForUpdatesAsUser"
|
||||
|
||||
# LanguageComponentsInstaller 'Installation' - "Install language components that match the user's language list."
|
||||
DisableSchedulerTask "LanguageComponentsInstaller\Installation"
|
||||
|
||||
# LanguageComponentsInstaller 'ReconcileLanguageResources' - "Install language components that match the user's language list."
|
||||
DisableSchedulerTask "LanguageComponentsInstaller\ReconcileLanguageResources"
|
||||
|
||||
# PI 'Secure-Boot-Update' - "This task updates the Secure Boot variables."
|
||||
DisableSchedulerTask "PI\Secure-Boot-Update"
|
||||
|
||||
# PI 'Sqm-Tasks' - "This task gathers information about the Trusted Platform Module (TPM), Secure Boot, and Measured Boot."
|
||||
DisableSchedulerTask "PI\Sqm-Tasks"
|
||||
|
||||
# Power Efficiency Diagnotics 'AnalyzeSystem' - "This task analyzes the system looking for conditions that may cause high energy use."
|
||||
DisableSchedulerTask "PushToInstall\Registration"
|
||||
|
||||
# Servicing 'StartComponentCleanup'
|
||||
DisableSchedulerTask "Servicing\StartComponentCleanup"
|
||||
|
||||
# SettingSync 'BackgroundUploadTask'
|
||||
DeleteSchedulerTask "SettingSync\BackgroundUploadTask"
|
||||
|
||||
# SoftwareProtectionPlatform 'SvcRestartTask' - "This task restarts the Software Protection Platform service at the specified time"
|
||||
DeleteSchedulerTask "SoftwareProtectionPlatform\SvcRestartTask"
|
||||
|
||||
# SoftwareProtectionPlatform 'SvcRestartTaskLogon' - "This task restarts the Software Protection Platform service at the specified time"
|
||||
DisableSchedulerTask "SoftwareProtectionPlatform\SvcRestartTaskLogon"
|
||||
|
||||
# SoftwareProtectionPlatform 'SvcRestartTaskNetwork' - "This task restarts the Software Protection Platform service when a new network is detected"
|
||||
DisableSchedulerTask "SoftwareProtectionPlatform\SvcRestartTaskNetwork"
|
||||
|
||||
# UNP 'RunUpdateNotificationMgr'
|
||||
DeleteSchedulerTask "UNP\RunUpdateNotificationMgr"
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
# Disable UpdateOrchestrator
|
||||
|
||||
$name = "UpdateOrchestrator"
|
||||
$path = "C:\Windows\System32\Tasks\Microsoft\Windows\$name"
|
||||
|
||||
takeown /F $path /A /R
|
||||
icacls $path /grant Administrators:F /T
|
||||
SCHTASKS /Change /TN "Microsoft\Windows\$name\Reboot" /DISABLE
|
||||
del "$path\Schedule Scan"
|
||||
del "$path\Schedule Scan Static Task"
|
||||
del "$path\Backup Scan"
|
||||
del "$path\UpdateModelTask"
|
||||
del "$path\USO_UxBroker"
|
||||
|
||||
# Disable Update orchestrator service
|
||||
reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsoSvc" /V Start /T REG_dWORD /D 4 /F
|
||||
@@ -1,8 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
###########################################################################
|
||||
##
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Copyright (C) 2019 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -33,17 +31,29 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# shellcheck source=../common/unix/DownloadURL.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
|
||||
# Turning off win defender.
|
||||
#
|
||||
# If disabled manually, windows will automatically enable it after
|
||||
# some period of time. Disabling it speeds up the builds.
|
||||
|
||||
package="epel-release-6-8.noarch.rpm"
|
||||
primaryUrl="https://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/e/$package"
|
||||
cacheUrl="http://ci-files01-hki.intra.qt.io/input/rhel6/$package"
|
||||
sha1="2b2767a5ae0de30b9c7b840f2e34f5dd9deaf19a"
|
||||
targetFile="/tmp/$package"
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
DownloadURL "$primaryUrl" "$cacheUrl" "$sha1" "$targetFile"
|
||||
Run-Executable "reg.exe" "ADD `"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender`" /V DisableAntiSpyware /T REG_dWORD /D 1 /F"
|
||||
|
||||
sudo rpm -ivh "$targetFile"
|
||||
rm "$targetFile"
|
||||
# 'Windows Defender Cache Maintenance' - "Periodic maintenance task."
|
||||
DisableSchedulerTask "Windows Defender\Windows Defender Cache Maintenance"
|
||||
|
||||
# 'Windows Defender Cleanup' - "Periodic cleanup task."
|
||||
DisableSchedulerTask "Windows Defender\Windows Defender Cleanup"
|
||||
|
||||
# 'Windows Defender Scheduled Scan' - "Periodic scan task."
|
||||
DisableSchedulerTask "Windows Defender\Windows Defender Scheduled Scan"
|
||||
|
||||
# 'Windows Defender Verification' - "Periodic verification task."
|
||||
DisableSchedulerTask "Windows Defender\Windows Defender Verification"
|
||||
|
||||
# Disable 'QueueReporting' - "Windows Error Reporting task to process queued reports."
|
||||
DisableSchedulerTask "Windows Error Reporting\QueueReporting"
|
||||
|
||||
# Disable WindowsUpdate from Task Scheduler
|
||||
DisableSchedulerTask "WindowsUpdate\Scheduled Start"
|
||||
@@ -0,0 +1,4 @@
|
||||
# Disable Windows File Protection
|
||||
# Windows File Protection feature in Microsoft Windows prevents programs from replacing critical Windows system files.
|
||||
|
||||
reg.exe ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /V SFCDisable /T REG_dWORD /D 0xffffff9d /F
|
||||
@@ -0,0 +1,25 @@
|
||||
# Windows Update Medic Service (WaaSMedicSvc)'PerformRemediation' helps recover update-related services to the supported configuration.
|
||||
# WaasMedicSvc keeps re-starting Windows Update, even if it disabled manually.
|
||||
# Even Admin user don't have privileged to disable PerformRemediation from Task Scheduler which means that WaaSMedicSvc.dll need's to be removed from the system
|
||||
|
||||
$limit = (Get-Date).AddMinutes(20)
|
||||
$path = "C:\Windows\System32\WaaSMedicSvc.dll"
|
||||
|
||||
DO {
|
||||
takeown /F $path
|
||||
icacls $path /grant Administrators:f
|
||||
Write-host "Deleting $path"
|
||||
|
||||
Try {
|
||||
del $path
|
||||
}
|
||||
Catch [System.UnauthorizedAccessException] {
|
||||
Write-host "Access to the path '$path' is denied."
|
||||
Continue
|
||||
}
|
||||
|
||||
if ((Get-Date) -gt $limit) {
|
||||
exit 1
|
||||
}
|
||||
|
||||
}while (Test-Path -Path "$path")
|
||||
36
coin/provisioning/qtci-macos-10.12-x86_64/15-xz.sh → coin/pre-provisioning/qtci-windows-10-x86_64/disable-windows-updates.ps1
Executable file → Normal file
36
coin/provisioning/qtci-macos-10.12-x86_64/15-xz.sh → coin/pre-provisioning/qtci-windows-10-x86_64/disable-windows-updates.ps1
Executable file → Normal file
@@ -1,6 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
@@ -33,20 +31,24 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# This script installs XZ-Utils
|
||||
# This script disables the automatic Windows updates
|
||||
|
||||
# XZ-Utils are needed for uncompressing xz-compressed files
|
||||
$service = get-service wuauserv
|
||||
if (-not $service) {
|
||||
Write-Host "Windows Update service not found."
|
||||
exit 0
|
||||
}
|
||||
|
||||
set -ex
|
||||
if ($service.Status -eq "Stopped") {
|
||||
Write-Host "Windows Update service already stopped."
|
||||
} else {
|
||||
Write-Host "Stopping Windows Update service."
|
||||
Stop-Service -Name "wuauserv" -Force
|
||||
}
|
||||
|
||||
# shellcheck source=../common/macos/InstallPKGFromURL.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/InstallPKGFromURL.sh"
|
||||
|
||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.12_sierra/XZ.pkg"
|
||||
AltUrl="http://sourceforge.net/projects/macpkg/files/XZ/5.0.7/XZ.pkg"
|
||||
SHA1="f0c1f82ebcffe0bd4b8b57b6a77805db56b2de67"
|
||||
DestDir="/"
|
||||
|
||||
InstallPKGFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$DestDir"
|
||||
|
||||
echo "XZ = 5.0.7" >> ~/versions.txt
|
||||
$startup = Get-WmiObject Win32_Service | Where-Object {$_.Name -eq "wuauserv"} | Select -ExpandProperty "StartMode"
|
||||
if ($startup -ne "Disabled") {
|
||||
set-service wuauserv -startup disabled
|
||||
} else {
|
||||
Write-Host "Windows Update service startup already disabled."
|
||||
}
|
||||
@@ -34,7 +34,8 @@
|
||||
# Visual Studio $version version $version_number was installed manually using $installer.
|
||||
|
||||
$version = "2017"
|
||||
$version_number = "15.8.5"
|
||||
# Current version was manually upgraded from the installer
|
||||
$version_number = "15.9.17"
|
||||
$installer = "http://ci-files01-hki.ci.local/input/windows/vs_professional__1312218103.1526017942.exe"
|
||||
|
||||
# Following components were selected from installer:
|
||||
|
||||
91
coin/pre-provisioning/qtci-windows-10-x86_64/msvc2019.ps1
Normal file
91
coin/pre-provisioning/qtci-windows-10-x86_64/msvc2019.ps1
Normal file
@@ -0,0 +1,91 @@
|
||||
############################################################################
|
||||
##
|
||||
## Copyright (C) 2019 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$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# Visual Studio $version version $version_number was installed manually using $installer.
|
||||
|
||||
$version = "2019"
|
||||
# Current version was manually upgraded from the installer
|
||||
$version_number = "16.3.10"
|
||||
$installer = "http://ci-files01-hki.ci.local/input/windows/vs_professional__505064367.1547034421.exe"
|
||||
|
||||
.NET Framework 4.5 targeting pack
|
||||
.NET Framework 4.5.1 targeting pack
|
||||
.NET Framework 4.5.2 targeting pack
|
||||
.NET Framework 4.6.1 SDK
|
||||
.NET Framework 4.6.1 targeting pack
|
||||
.NET Framework 4.6.2 SDK
|
||||
.NET Framework 4.6.2 targeting pack
|
||||
.NET Framework 4.7.2 SDK
|
||||
.NET Framework 4.7.2 targeting pack
|
||||
.NET Native
|
||||
.NET Portable Library targeting pack
|
||||
CLR data typer for SQL Sever
|
||||
Connectivity and publishing tools
|
||||
Data sources for SQL Server support
|
||||
SQL ADAL runtime
|
||||
SQL Server Command Linne Utilities
|
||||
SQL Server Data Tools
|
||||
SQL Server Express 2016 LocalDB
|
||||
SQL Server ODBC Driver
|
||||
ClickOnce Publishing
|
||||
Developer Analytics tools
|
||||
NuGet package manager
|
||||
Text Template Transformation
|
||||
C# and Visual Basic Roslyn compilers
|
||||
C++ 2019 Redistributable Update
|
||||
C++ Cmake tools for Windows
|
||||
C++/CLI support for v142 build tools
|
||||
MSBuild
|
||||
MSVC v142 - VS 2019 C++ ARM build tools (v14.20)
|
||||
MSVC v142 - VS 2019 C++ ARM64 build tools (v14.20)
|
||||
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.20)
|
||||
.NET profiling tools
|
||||
C++ profiling tools
|
||||
JavaScript diagnostics
|
||||
Just-In-Time debugger
|
||||
C# and Visual Basic
|
||||
C++ core features
|
||||
JavaSript and TypeScript language support
|
||||
Razor Language Services
|
||||
Graphics debugger and GPU profiler for DirectX
|
||||
Image and 3D model editors
|
||||
C++ ATL for v142 build tools (x86 & x64)
|
||||
TypeScript 3.3 SDK
|
||||
Windows 10 SDK (10.0.16299.0)
|
||||
Windows 10 SDK (10.0.17134.0)
|
||||
Windows 10 SDK (10.0.17763.0)
|
||||
Windows 10 SDK (10.0.18362.0)
|
||||
|
||||
# NOTE! Work loads were added during installation!
|
||||
|
||||
echo "Visual Studio = $version version version_number" >> ~\versions.txt
|
||||
@@ -80,14 +80,22 @@ else
|
||||
sudo chown -R qt:users "$targetFolder"
|
||||
fi
|
||||
|
||||
# Run the following command under `eval` or `sh -c` so that the shell properly splits it
|
||||
sdkmanager_no_progress_bar_cmd="tr '\r' '\n' | grep -v '^\[[ =]*\]'"
|
||||
|
||||
echo "Running SDK manager for platforms;$sdkApiLevel, platform-tools and build-tools;$sdkBuildToolsVersion."
|
||||
# shellcheck disable=SC2031
|
||||
if [ "$http_proxy" != "" ]; then
|
||||
proxy_host=$(echo "$proxy" | cut -d'/' -f3 | cut -d':' -f1)
|
||||
proxy_port=$(echo "$proxy" | cut -d':' -f3)
|
||||
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" --no_https --proxy=http --proxy_host="$proxy_host" --proxy_port="$proxy_port" "platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion"
|
||||
echo "y" | "$sdkTargetFolder/tools/bin/sdkmanager" \
|
||||
--no_https --proxy=http --proxy_host="$proxy_host" --proxy_port="$proxy_port" \
|
||||
"platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion" \
|
||||
| eval $sdkmanager_no_progress_bar_cmd
|
||||
else
|
||||
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" "platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion"
|
||||
echo "y" | "$sdkTargetFolder/tools/bin/sdkmanager" \
|
||||
"platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion" \
|
||||
| eval $sdkmanager_no_progress_bar_cmd
|
||||
fi
|
||||
|
||||
echo "Checking the contents of Android SDK..."
|
||||
@@ -106,8 +114,11 @@ echo "Android SDK API level = $sdkApiLevel" >> ~/versions.txt
|
||||
echo "Android NDK = $ndkVersion" >> ~/versions.txt
|
||||
|
||||
cd "$sdkTargetFolder/tools/bin"
|
||||
./sdkmanager --install "emulator"
|
||||
echo "y" | ./sdkmanager --install "system-images;android-21;google_apis;x86"
|
||||
./sdkmanager --install "emulator" \
|
||||
| eval $sdkmanager_no_progress_bar_cmd
|
||||
echo "y" | ./sdkmanager --install "system-images;android-21;google_apis;x86" \
|
||||
| eval $sdkmanager_no_progress_bar_cmd
|
||||
|
||||
|
||||
echo "Checking the contents of Android SDK again..."
|
||||
ls -l "$sdkTargetFolder"
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# This script installs CMake 3.6.2
|
||||
# This script installs CMake 3.7.2
|
||||
|
||||
# CMake is needed for autotests that verify that Qt can be built with CMake
|
||||
|
||||
@@ -42,10 +42,10 @@ source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
version="3.6.2"
|
||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/cmake/cmake-3.6.2-Linux-x86_64.tar.gz"
|
||||
AltUrl="https://cmake.org/files/v3.6/cmake-3.6.2-Linux-x86_64.tar.gz"
|
||||
SHA1="dd9d8d57b66109d4bac6eef9209beb94608a185c"
|
||||
version="3.7.2"
|
||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/cmake/cmake-3.7.2-Linux-x86_64.tar.gz"
|
||||
AltUrl="https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz"
|
||||
SHA1="915bc981aab354821fb9fd28374a720fdb3aa180"
|
||||
targetFolder="/opt/cmake-$version"
|
||||
appPrefix="cmake-$version-Linux-x86_64"
|
||||
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v1.4.5 (GNU/Linux)
|
||||
|
||||
mQGiBEyvJq8RBAD64FtKbU3VFsZ4PAzcSi9rETc1qXZLVQYtrE38niriIJUuT/tC
|
||||
kxGjkduD7ozP6rxL+M8fk9UdbbmzhHhXzQT2blyYy2iwpZP5+AFeQawz+oyMRVze
|
||||
x6IY5qO31TiRu+aEBptk6nco4DULlKABlvtjKI+gJ4buJm+TumyrPaxe9wCgpFwl
|
||||
O0fEjpOfQd+6Du0sCnPX7+8D/3xYVj9q5ILmrJ9zehBKjRYEcaP0rZVqudH51FUS
|
||||
I0LQNHsJdzKLzhT+Zj7TJU4KnCN4sX7amfYL3GT9qyZEBDx2alubvEsI36wtNq0i
|
||||
ewU4XmyZ+Rd7Q4mAPNoBGe5DsUA8wn/7iHGg9aJHu+GXvH7T3DVoUxW5W2KqPw+h
|
||||
jzqGBACWGuuCefa683uf6aKqpTS3JB+01BDPf+sG9qJ+k7xcJOsEiXIe1X5vH9ov
|
||||
kEvTM12kzY7SGwlsFsTDT1xioDl62g5nPlZMXErUBVnjoMtjl9bDwUPJY/vP1S9M
|
||||
VaONBMoJEON3HRui9jhdEK25LTdrcFlFpRzJI3AgdXwy8aQyiLRGZGV2ZWw6bGFu
|
||||
Z3VhZ2VzOmdvIE9CUyBQcm9qZWN0IDxkZXZlbDpsYW5ndWFnZXM6Z29AYnVpbGQu
|
||||
b3BlbnN1c2Uub3JnPohmBBMRAgAmBQJc9DoCAhsDBQkUY8NTBgsJCAcDAgQVAggD
|
||||
BBYCAwECHgECF4AACgkQr0z+TTB9e/lQZgCfXIjj30HyCPvUbSbSd6zOS0seAegA
|
||||
n3DXayMpRphNmyJgLvl5qKfsX7f6iEYEExECAAYFAkyvJq8ACgkQOzARt2udZSOg
|
||||
qQCeOba7kjk7CI+64GOkhhTGSdjnjdQAn2IC5tx+PW38XKwl3Jr5YVp0RyR0
|
||||
=AOj6
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
sudo gsettings set org.gnome.desktop.notifications.application:/update-manager/ enable false
|
||||
sudo gsettings set org.gnome.desktop.notifications show-banners false
|
||||
gsettings set org.gnome.desktop.notifications.application:/update-manager/ enable false
|
||||
gsettings set org.gnome.desktop.notifications show-banners false
|
||||
|
||||
@@ -41,6 +41,8 @@ if uname -a |grep -q "Ubuntu"; then
|
||||
sudo timedatectl set-ntp false
|
||||
elif cat /etc/os-release | grep "PRETTY_NAME" | grep -q "Leap 15"; then
|
||||
(sudo systemctl stop chronyd && sudo systemctl disable chronyd)
|
||||
elif cat /etc/os-release |grep "SUSE Linux Enterprise Server 15"; then
|
||||
sudo timedatectl set-ntp false
|
||||
else
|
||||
(systemctl &>/dev/null && sudo systemctl disable ntpd) || sudo /sbin/chkconfig ntpd off
|
||||
sudo systemctl disable ntpd || sudo /sbin/chkconfig ntpd off
|
||||
fi
|
||||
|
||||
@@ -33,21 +33,42 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
set -ex
|
||||
set -e
|
||||
|
||||
|
||||
PROVISIONING_DIR="$(dirname "$0")/../../"
|
||||
. "$PROVISIONING_DIR"/common/unix/common.sourced.sh
|
||||
. "$PROVISIONING_DIR"/common/unix/DownloadURL.sh
|
||||
|
||||
|
||||
localRepo=http://ci-files01-hki.intra.qt.io/input/docker
|
||||
upstreamRepo=https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64
|
||||
|
||||
echo '
|
||||
f4c941807310e3fa470dddfb068d599174a3daec containerd.io_1.2.10-3_amd64.deb
|
||||
ee640d9258fd4d3f4c7017ab2a71da63cbbead55 docker-ce_19.03.4~3-0~ubuntu-bionic_amd64.deb
|
||||
09402bf5dac40f0c50f1071b17f38f6584a42ad1 docker-ce-cli_19.03.4~3-0~ubuntu-bionic_amd64.deb
|
||||
' \
|
||||
| xargs -n2 | while read sha f
|
||||
do
|
||||
DownloadURL $localRepo/$f $upstreamRepo/$f $sha
|
||||
done
|
||||
|
||||
sudo apt-get -y install ./containerd.io_*.deb ./docker-ce_*.deb ./docker-ce-cli_*.deb
|
||||
rm -f ./containerd.io_*.deb ./docker-ce_*.deb ./docker-ce-cli_*.deb
|
||||
|
||||
# Download and install the docker engine.
|
||||
sudo apt-get install curl -y
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
||||
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
|
||||
sudo apt-get update
|
||||
sudo apt-get install docker-ce -y
|
||||
sudo usermod -a -G docker $USER
|
||||
sudo docker --version
|
||||
|
||||
# Download and install the docker-compose extension.
|
||||
sudo curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
|
||||
sudo chmod +x /usr/local/bin/docker-compose
|
||||
# Download and install the docker-compose extension from https://github.com/docker/compose/releases
|
||||
f=docker-compose-$(uname -s)-$(uname -m)
|
||||
DownloadURL \
|
||||
$localRepo/$f-1.24.1 \
|
||||
https://github.com/docker/compose/releases/download/1.24.1/$f \
|
||||
cfb3439956216b1248308141f7193776fcf4b9c9b49cbbe2fb07885678e2bb8a
|
||||
sudo install -m 755 ./docker-compose* /usr/local/bin/docker-compose
|
||||
sudo docker-compose --version
|
||||
rm ./docker-compose*
|
||||
|
||||
# Install Avahi to discover Docker containers in the test network
|
||||
sudo apt-get install avahi-daemon -y
|
||||
|
||||
@@ -53,11 +53,11 @@ else
|
||||
rm -rf "$exports_file"
|
||||
fi
|
||||
|
||||
version="1.1.1b"
|
||||
version="1.1.1d"
|
||||
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
|
||||
cachedUrl="http://ci-files01-hki.intra.qt.io/input/openssl/openssl-$version.tar.gz"
|
||||
targetFile="/tmp/openssl-$version.tar.gz"
|
||||
sha="e9710abf5e95c48ebf47991b10cbb48c09dae102"
|
||||
sha="056057782325134b76d1931c48f2c7e6595d7ef4"
|
||||
opensslHome="${HOME}/openssl/android/openssl-${version}"
|
||||
DownloadURL "$cachedUrl" "$officialUrl" "$sha" "$targetFile"
|
||||
mkdir -p "${HOME}/openssl/android/"
|
||||
|
||||
@@ -49,7 +49,7 @@ echo "$sha1 $targetFile" | sha1sum --check
|
||||
if [ ! -d "$targetFolder" ]; then
|
||||
mkdir -p $targetFolder
|
||||
fi
|
||||
sudo tar -C $targetFolder -xvzf $targetFile
|
||||
sudo tar -C $targetFolder -xzf $targetFile
|
||||
sudo chown -R qt:users "$targetFolder"/"$folderName"
|
||||
|
||||
# Verify that we have last file in tar
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
sudo apt -q -y remove update-notifier update-manager
|
||||
sudo apt -q -y remove update-notifier update-manager python3-distupgrade python3-update-manager ubuntu-release-upgrader-core update-manager-core
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
sudo apt-get remove update-manager
|
||||
47
coin/provisioning/common/linux/telegraf-coin.conf
Normal file
47
coin/provisioning/common/linux/telegraf-coin.conf
Normal file
@@ -0,0 +1,47 @@
|
||||
[global_tags]
|
||||
[agent]
|
||||
interval = "10s"
|
||||
round_interval = true
|
||||
metric_batch_size = 100
|
||||
metric_buffer_limit = 10000
|
||||
collection_jitter = "0s"
|
||||
flush_interval = "10s"
|
||||
flush_jitter = "5s"
|
||||
precision = ""
|
||||
logfile = "/var/log/telegraf-coin.log"
|
||||
hostname = "$COIN_UNIQUE_JOB_ID"
|
||||
omit_hostname = false
|
||||
[[outputs.influxdb]]
|
||||
urls= ["https://qtinfluxdb01.intra.qt.io:8086"]
|
||||
insecure_skip_verify = true
|
||||
database = "coin_vms"
|
||||
skip_database_creation = true
|
||||
username = "coin_vms_writer"
|
||||
password = "COIN_VMS_WRITER_PASS"
|
||||
[[inputs.cpu]]
|
||||
percpu = true
|
||||
totalcpu = true
|
||||
collect_cpu_time = false
|
||||
report_active = false
|
||||
[[inputs.disk]]
|
||||
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "iso9660", "overlay", "aufs", "squashfs"]
|
||||
[[inputs.diskio]]
|
||||
[[inputs.kernel]]
|
||||
[[inputs.mem]]
|
||||
[[inputs.processes]]
|
||||
[[inputs.swap]]
|
||||
[[inputs.system]]
|
||||
[[inputs.kernel_vmstat]] # linux-only
|
||||
[[inputs.netstat]]
|
||||
|
||||
|
||||
# Monitor Coin process
|
||||
[[inputs.procstat]]
|
||||
exe = "coin-"
|
||||
pid_finder = "native"
|
||||
|
||||
|
||||
# Monitor I/O latency
|
||||
[[inputs.exec]]
|
||||
data_format = "influx"
|
||||
commands = [ "/usr/bin/telegraf-ioping.sh /" ]
|
||||
@@ -1,3 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
# Will install homebrew package manager for macOS
|
||||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" </dev/null
|
||||
|
||||
|
||||
# Will install homebrew package manager for macOS.
|
||||
# WARNING: Requires commandlinetools
|
||||
|
||||
# TODO audit and cache this file locally, see QTQAINFRA-3134
|
||||
curl -L -o /tmp/homebrew_install https://raw.githubusercontent.com/Homebrew/install/master/install
|
||||
|
||||
/usr/bin/ruby /tmp/homebrew_install </dev/null
|
||||
|
||||
brew update
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/sh
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2019 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -33,25 +33,38 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# This script installs PostgreSQL
|
||||
|
||||
# PostgreSQL is needed for Qt to be able to support PostgreSQL
|
||||
# Increase the soft and hard RLIMIT_NOFILE and RLIMIT_NPROC limits.
|
||||
# By default they are 256/unlimited and 709/1064
|
||||
# and they sometimes create problems to the build process and telegraf.
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/macos/InstallAppFromCompressedFileFromURL.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/InstallAppFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
set -e
|
||||
|
||||
psqlVersion="9.6.0"
|
||||
PROVISIONING_DIR="$(dirname "$0")/../../"
|
||||
. "$PROVISIONING_DIR"/common/unix/common.sourced.sh
|
||||
|
||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.12_sierra/Postgres-$psqlVersion.zip"
|
||||
AltUrl="https://github.com/PostgresApp/PostgresApp/releases/download/$psqlVersion/Postgres-$psqlVersion.zip"
|
||||
SHA1="5078e44663787006ca55fa3b5e2be598bed82eb5"
|
||||
appPrefix=""
|
||||
|
||||
InstallAppFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$appPrefix"
|
||||
echo "Current limits are:"
|
||||
ulimit -a
|
||||
launchctl limit
|
||||
|
||||
SetEnvVar "POSTGRESQLBINPATH" "/Applications/Postgres.app/Contents/Versions/9.6/bin"
|
||||
echo "PostgreSQL = $psqlVersion" >> ~/versions.txt
|
||||
$CMD_INSTALL -m 644 -o root -g wheel \
|
||||
$PROVISIONING_DIR/common/macos/limit.maxfiles.plist \
|
||||
$PROVISIONING_DIR/common/macos/limit.maxproc.plist \
|
||||
/Library/LaunchDaemons/
|
||||
|
||||
# Activate the new limits immediately (not for the current session though)
|
||||
sudo launchctl load -w /Library/LaunchDaemons/limit.maxfiles.plist
|
||||
sudo launchctl load -w /Library/LaunchDaemons/limit.maxproc.plist
|
||||
|
||||
echo "After adjusting, limits are:"
|
||||
ulimit -a
|
||||
launchctl limit
|
||||
|
||||
|
||||
# NOTE: If the limits are not increased enough, it might be because of
|
||||
# restrictions set by the kernel. They can be temporarily altered with:
|
||||
|
||||
# sudo sysctl -w kern.maxproc=xxxx
|
||||
# sudo sysctl -w kern.maxprocperuid=xxx
|
||||
@@ -50,7 +50,7 @@ function InstallCommandLineTools {
|
||||
hdiutil attach "/tmp/$packageName"
|
||||
cd "/Volumes/Command Line Developer Tools"
|
||||
echo "Installing"
|
||||
sudo installer -verbose -pkg ./*.pkg -target /
|
||||
sudo installer -pkg ./*.pkg -target / -allowUntrusted
|
||||
cd /
|
||||
# Let's fait for 5 second before unmounting. Sometimes resource is busy and cant be unmounted
|
||||
sleep 3
|
||||
|
||||
@@ -1,78 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2019 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 install OpenSSL
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../unix/InstallFromCompressedFileFromURL.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
opensslVersion="1.1.1a"
|
||||
opensslFile="openssl-$opensslVersion.tar.gz"
|
||||
opensslDlUrl="http://ci-files01-hki.intra.qt.io/input/openssl/$opensslFile"
|
||||
opensslAltDlUrl="https://www.openssl.org/source/$opensslFile"
|
||||
opensslSha1="8fae27b4f34445a5500c9dc50ae66b4d6472ce29"
|
||||
|
||||
# Below target location has been hard coded into Coin.
|
||||
# QTQAINFRA-1195
|
||||
openssl_install_dir=/usr/local/openssl-$opensslVersion
|
||||
opensslTargetLocation="/usr/local/opt/openssl"
|
||||
|
||||
InstallFromCompressedFileFromURL "$opensslDlUrl" "$opensslAltDlUrl" "$opensslSha1" "/tmp/openssl-$opensslVersion" "openssl-$opensslVersion"
|
||||
cd "/tmp/openssl-$opensslVersion"
|
||||
sudo ./Configure --prefix=$openssl_install_dir shared no-ssl3-method enable-ec_nistp_64_gcc_128 darwin64-x86_64-cc "-Wa,--noexecstack"
|
||||
|
||||
sudo make install_sw install_ssldirs
|
||||
|
||||
path=$(echo "$opensslTargetLocation" | sed -E 's/(.*)\/.*$/\1/')
|
||||
sudo mkdir -p "$path"
|
||||
sudo ln -s $openssl_install_dir $opensslTargetLocation
|
||||
|
||||
SetEnvVar "PATH" "\"$opensslTargetLocation/bin:\$PATH\""
|
||||
SetEnvVar "MANPATH" "\"$opensslTargetLocation/share/man:\$MANPATH\""
|
||||
|
||||
SetEnvVar "OPENSSL_DIR" "\"$openssl_install_dir\""
|
||||
SetEnvVar "OPENSSL_INCLUDE" "\"$openssl_install_dir/include\""
|
||||
SetEnvVar "OPENSSL_LIB" "\"$openssl_install_dir/lib\""
|
||||
|
||||
security find-certificate -a -p /Library/Keychains/System.keychain | sudo tee -a $opensslTargetLocation/ssl/cert.pem > /dev/null
|
||||
security find-certificate -a -p /System/Library/Keychains/SystemRootCertificates.keychain | sudo tee -a $opensslTargetLocation/ssl/cert.pem > /dev/null
|
||||
|
||||
sudo rm -rf /tmp/openssl-$opensslVersion
|
||||
|
||||
echo "OpenSSL = $opensslVersion" >> ~/versions.txt
|
||||
23
coin/provisioning/common/macos/libiodbc.rb
Normal file
23
coin/provisioning/common/macos/libiodbc.rb
Normal file
@@ -0,0 +1,23 @@
|
||||
class Libiodbc < Formula
|
||||
desc "Database connectivity layer based on ODBC. (alternative to unixodbc)"
|
||||
homepage "http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/"
|
||||
url "https://github.com/openlink/iODBC/archive/v3.52.12.tar.gz"
|
||||
sha256 "b2cab4f8fbd5388344d7ee0deb1a32310795b1e631c3505a5b515d90186e2516"
|
||||
|
||||
depends_on "autoconf" => :build
|
||||
depends_on "automake" => :build
|
||||
depends_on "libtool" => :build
|
||||
|
||||
conflicts_with "unixodbc", :because => "both install 'odbcinst.h' header"
|
||||
|
||||
def install
|
||||
system "./autogen.sh"
|
||||
system "./configure", "--prefix=#{prefix}"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
system bin/"iodbc-config", "--version"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -40,8 +40,7 @@ set -ex
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
brew update
|
||||
brew install libiodbc
|
||||
brew install ${BASH_SOURCE%/*}/libiodbc.rb
|
||||
|
||||
# CPLUS_INCLUDE_PATH is set so clang and configure can find libiodbc
|
||||
|
||||
|
||||
20
coin/provisioning/common/macos/limit.maxfiles.plist
Normal file
20
coin/provisioning/common/macos/limit.maxfiles.plist
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Label</key>
|
||||
<string>limit.maxfiles</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>launchctl</string>
|
||||
<string>limit</string>
|
||||
<string>maxfiles</string>
|
||||
<string>65536</string>
|
||||
<string>524288</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>ServiceIPC</key>
|
||||
<false/>
|
||||
</dict>
|
||||
</plist>
|
||||
20
coin/provisioning/common/macos/limit.maxproc.plist
Normal file
20
coin/provisioning/common/macos/limit.maxproc.plist
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Label</key>
|
||||
<string>limit.maxproc</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>launchctl</string>
|
||||
<string>limit</string>
|
||||
<string>maxproc</string>
|
||||
<string>8192</string>
|
||||
<string>32768</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>ServiceIPC</key>
|
||||
<false/>
|
||||
</dict>
|
||||
</plist>
|
||||
51
coin/provisioning/common/macos/telegraf-coin.conf
Normal file
51
coin/provisioning/common/macos/telegraf-coin.conf
Normal file
@@ -0,0 +1,51 @@
|
||||
[global_tags]
|
||||
[agent]
|
||||
interval = "10s"
|
||||
round_interval = true
|
||||
metric_batch_size = 100
|
||||
metric_buffer_limit = 10000
|
||||
collection_jitter = "0s"
|
||||
flush_interval = "10s"
|
||||
flush_jitter = "5s"
|
||||
precision = ""
|
||||
logfile = "/var/log/telegraf-coin.log"
|
||||
hostname = "$COIN_UNIQUE_JOB_ID"
|
||||
omit_hostname = false
|
||||
[[outputs.influxdb]]
|
||||
urls= ["https://qtinfluxdb01.intra.qt.io:8086"]
|
||||
insecure_skip_verify = true
|
||||
database = "coin_vms"
|
||||
skip_database_creation = true
|
||||
username = "coin_vms_writer"
|
||||
password = "COIN_VMS_WRITER_PASS"
|
||||
#[[inputs.cpu]] # linux-only
|
||||
# percpu = true
|
||||
# totalcpu = true
|
||||
# collect_cpu_time = false
|
||||
# report_active = false
|
||||
[[inputs.disk]]
|
||||
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "iso9660", "overlay", "aufs", "squashfs"]
|
||||
#[[inputs.diskio]] # linux-only
|
||||
[[inputs.kernel]]
|
||||
[[inputs.mem]]
|
||||
[[inputs.processes]]
|
||||
[[inputs.swap]]
|
||||
[[inputs.system]]
|
||||
#[[inputs.kernel_vmstat]] # linux-only
|
||||
[[inputs.netstat]]
|
||||
|
||||
|
||||
# Monitor Coin process
|
||||
[[inputs.procstat]]
|
||||
exe = "coin-"
|
||||
# Buggy on macOS if using the "native" pid_finder, see:
|
||||
# https://github.com/influxdata/telegraf/issues/6265
|
||||
# Tested 1.12.1 version that "native" pid_finder has been fixed,
|
||||
# but it is slow and times out frequently
|
||||
pid_finder = "pgrep"
|
||||
|
||||
|
||||
# Monitor I/O latency
|
||||
[[inputs.exec]]
|
||||
data_format = "influx"
|
||||
commands = [ "/usr/bin/telegraf-ioping.sh /" ]
|
||||
@@ -0,0 +1,52 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v1
|
||||
|
||||
mQINBFYJmwQBEADCw7mob8Vzk+DmkYyiv0dTU/xgoSlp4SQwrTzat8MB8jxmx60l
|
||||
QjmhqEyuB8ho4zzZF9KV+gJWrG6Rj4t69JMTJWM7jFz+0B1PC7kJfNM+VcBmkTnj
|
||||
fP+KJjqz50ETnsF0kQTG++UJeRYjG1dDK0JQNQJAM6NQpIWJI339lcDf15vzrMnb
|
||||
OgIlNxV6j1ZZqkle4fvScF1NQxYScRiL+sRgVx92SI4SyD/xZnVGD/szB+4OCzah
|
||||
+0Q/MnNGV6TtN0RiCDZjIUYiHoeT9iQXEONKf7T62T4zUafO734HyqGvht93MLVU
|
||||
GQAeuyx0ikGsULfOsJfBmb3XJS9u+16v7oPFt5WIbeyyNuhUu0ocK/PKt5sPYR4u
|
||||
ouPq6Ls3RY3BGCH9DpokcYsdalo51NMrMdnYwdkeq9MEpsEKrKIN5ke7fk4weamJ
|
||||
BiLI/bTcfM7Fy5r4ghdI9Ksw/ULXLm4GNabkIOSfT7UjTzcBDOvWfKRBLX4qvsx4
|
||||
YzA5kR+nX85u6I7W10aSqBiaLqk6vCj0QmBmCjlSeYqNQqSzH/6OoL6FZ7lP6AiG
|
||||
F2NyGveJKjugoXlreLEhOYp20F81PNwlRBCAlMC2Q9mpcFu0dtAriVoG4gVDdYn5
|
||||
t+BiGfD2rJlCinYLgYBDpTPcdRT3VKHWqL9fcC4HKmic0mwWg9homx550wARAQAB
|
||||
tDFJbmZsdXhEQiBQYWNrYWdpbmcgU2VydmljZSA8c3VwcG9ydEBpbmZsdXhkYi5j
|
||||
b20+iQI3BBMBCgAhBQJWCZsEAhsDBQsJCAcDBRUKCQgLBRYDAgEAAh4BAheAAAoJ
|
||||
EGhKFM8lguDF9XEQAK9rREnZt6ujh7GXfeNki35bkn39q8GYh0mouShFbFY9o0i3
|
||||
UJVChsxokJSRPgFh9GOhOPTupl3rzfdpD+IlWI2Myt6han2HOjZKNZ4RGNrYJ5UR
|
||||
uxt4dKMWlMbpkzL56bhHlx97RoXKv2d2zRQfw9nyZb6t3lw2k2kKXsMxjGa0agM+
|
||||
2SropwYOXdtkz8UWaGd3LYxwEvW3AuhI8EEEHdLetQaYe9sANDvUEofgFbdsuICH
|
||||
9QLmbYavk7wyGTPBKfPBbeyTxwW2rMUnFCNccMKLm1i5NpZYineBtQbX2cfx9Xsk
|
||||
1JLOzEBmNal53H2ob0kjev6ufzOD3s8hLu4KMCivbIz4YT3fZyeExn0/0lUtsQ56
|
||||
5fCxE983+ygDzKsCnfdXqm3GgjaI90OkNr1y4gWbcd5hicVDv5fD3TD9f0GbpDVw
|
||||
yDz8YmvNzxMILt5Glisr6aH7gLG/u8jxy0D8YcBiyv5kfY4vMI2yXHpGg1cn/sVu
|
||||
ZB01sU09VVIM2BznnimyAayI430wquxkZCyMx//BqFM1qetIgk1wDZTlFd0n6qtA
|
||||
fDmXAC4s5pM5rfM5V57WmPaIqnRIaESJ35tFUFlCHfkfl/N/ribGVDg1z2KDW08r
|
||||
96oEiIIiV4GfXl+NprJqpNS3Cn+aCXtd7/TsDScDEgs4sMaR29Lsf26cuWk8uQIN
|
||||
BFYJmwQBEADDPi3fmwn6iwkiDcH2E2V31cHlBw9OdJfxKVUdyAQEhTtqmG9P8XFZ
|
||||
ERRQF155XLQPLvRlUlq7vEYSROn5J6BAnsjdjsH9LmFMOEV8CIRCRIDePG/Mez2d
|
||||
nIK5yiU6GkS3IFaQg2T9/tOBKxm0ZJPfqTXbT4jFSfvYJ3oUqc+AyYxtb8gj1GRk
|
||||
X283/86/bA3C98u7re1vPtiDRyM8r0+lhEc59Yx/EAOL+X2gZyTgyUoH+LLuOWQK
|
||||
s1egI8y80R8NZfM1nMiQk2ywMsTFwQjSVimScvzqv5Nt8k8CvHUQ3a6R+6doXGNX
|
||||
5RnUqn9Qvmh0JY5sNgFsoaGbuk2PJrVaGBRnfnjaDqAlZpDhwkWhcCcguNhRbRHp
|
||||
N7/a0pQr70bAG9VikzLyGC17EU0sxney/hyNHkr4Uyy2OXHpuJvRjVKy/BwZ3fxA
|
||||
AYX2oZIOxQB3/OulzO/DppaCVhRtp1bt+Z5f+fpisiVb5DvZcMdeyAoQ4+oOr7v3
|
||||
EasIs2XYcQ+kOE3Y2kdlHWBeuXzxgWgJZ1OOpwGMjR3Uy6IwhuSWtreJBA4er+Df
|
||||
vgSPwKBsRLNLbPe3ftjArnC5GfMiGgikVdAUdN4OkEqvUbkRoAVGKTOMLUKm+ZkG
|
||||
OskJOVYS+JAina0qkYEFF7haycMjf9olhqLmTIC+6X7Ox9R2plaOhQARAQABiQIf
|
||||
BBgBCgAJBQJWCZsEAhsMAAoJEGhKFM8lguDF8ZIP/1q9Sdz8oMvf9AJXZ7AYxm77
|
||||
V+kJzJqi62nZLWJnrFXDZJpU+LkYlb3fstsZ1rvBhnrEPSmFxoj72CP0RtcyX7wJ
|
||||
dA7K1Fl9LpJi5H8300cC7UyG94MUYbrXijbLTbnFTfNr1tGx4a1T/7Yyxx/wZGrT
|
||||
H/X8cvNybkl33SxDdlQQ9kx3lFOwC41e3TkGsUWxn3TCfvDh8VdA6Py6JeSPFGOb
|
||||
MEO2/q7oUgvjfV+ivN5ayZi9bWgeqm1sgtmTHHQ4RqwwKrAb5ynXpn1b9QrkevgT
|
||||
b91uzMA22Prl4DuzKiaMYDcZOQ3vtf0eFBP0GOSSgUKS4bQ3dGgi1JmQ7VuAM4uj
|
||||
+Ug5TnGoLwclTwLksc7v89C5MMPgm2vVXvCUDzyzQA7bIHFeX+Rziby4nymec4Nr
|
||||
eeXYNBJWrEp8XR7UNWmEgroXRoN1x9/6esh5pnoUXGAIWuKzSLQM70/wWxS67+v2
|
||||
aC1GNb+pXXAzYeIIiyLWaZwCSr8sWMvshFT9REk2+lnb6sAeJswQtfTUWI00mVqZ
|
||||
dvI3Wys2h0IyIejuwetTUvGhr9VgpqiLLfGzGlt/y2sg27wdHzSJbMh0VrVAK26/
|
||||
BlvEwWDCFT0ZJUMG9Lvre25DD0ycbougLsRYjzmGb/3k3UktS3XTCxyBa/k3TPw3
|
||||
vqIHrEqk446nGPDqJPS5
|
||||
=9iF7
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
26
coin/provisioning/common/shared/telegraf/telegraf-ioping.sh
Normal file
26
coin/provisioning/common/shared/telegraf/telegraf-ioping.sh
Normal file
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Measure I/O latency once, return data in InfluxDB format
|
||||
#
|
||||
# Run one ioping command for read, and one for write.
|
||||
# Each one sends 3 requests and reports the minimum time, in nanoseconds.
|
||||
# (Because of limitations of ioping, we can't just send one request and get
|
||||
# the number back in the batch format. Additionally, the number seems to be
|
||||
# fluctuating quite a bit so taking the smallest number out of 3 requests is
|
||||
# stabilising it a bit.)
|
||||
|
||||
|
||||
set -e
|
||||
|
||||
[ x"$1" = x ] && echo "$0 takes a path as a first argument" && exit 1
|
||||
|
||||
# Try to run in high priority to avoid slow-downs because of
|
||||
# factors other than I/O.
|
||||
renice -n -10 -p $$ >/dev/null 2>&1 || true
|
||||
|
||||
|
||||
rlatency="$(ioping -B -k -c 3 -i 0.1 "$1" | cut -d " " -f 5)"
|
||||
wlatency="$(ioping -B -k -c 3 -i 0.1 -W "$1" | cut -d " " -f 5)"
|
||||
|
||||
printf "ioping,path=$1 read_latency_ns=%u,write_latency_ns=%u\n" \
|
||||
$rlatency $wlatency
|
||||
@@ -0,0 +1,6 @@
|
||||
https://dl.influxdata.com/telegraf/releases/telegraf-1.12.1_windows_i386.zip d2dea67a28fd7a9e21395d14f0b7ce1b6413e85cc9ffd89cc7ff8f35e8af5837
|
||||
https://dl.influxdata.com/telegraf/releases/telegraf-1.12.1_windows_amd64.zip 88d8c8146b561f43726e61688b42d0b5ab88fc22607b94df5a2c8245bbb27e29
|
||||
https://dl.influxdata.com/telegraf/releases/telegraf-1.12.1_darwin_amd64.tar.gz 58a2b294c1b6408c396b5526719cf7cad557f7075fed10ff0b2a74141ea2d629
|
||||
https://dl.influxdata.com/telegraf/releases/telegraf-1.12.1_linux_amd64.tar.gz 070a76800d1a5f33413b8948286f75caa55ebd924f6fb6996a753b9979799ef5
|
||||
https://dl.influxdata.com/telegraf/releases/telegraf-1.12.1_linux_i386.tar.gz 964077b6846708f579a100d7ea6090e2d8350ace75ec735d539bc452bc551038
|
||||
https://dl.influxdata.com/telegraf/releases/telegraf-1.12.1-static_linux_amd64.tar.gz bb03814c99c037ce0758e3884660910f2f6fd78f3d49a8e1ef531693b3cfe25d
|
||||
@@ -1,7 +1,8 @@
|
||||
FROM ubuntu:16.04
|
||||
ARG packages="apache2 libcgi-session-perl wget avahi-daemon"
|
||||
FROM qt_ubuntu_16.04
|
||||
ARG packages="avahi-daemon apache2 libcgi-session-perl"
|
||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
||||
EXPOSE 80 443
|
||||
|
||||
# install configurations and test data
|
||||
RUN wget https://tools.ietf.org/rfc/rfc3252.txt
|
||||
|
||||
COPY rfc3252.txt .
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:18.04
|
||||
ARG packages="apache2 libcgi-session-perl avahi-daemon"
|
||||
FROM qt_ubuntu_18.04
|
||||
ARG packages="avahi-daemon apache2 libcgi-session-perl"
|
||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
||||
EXPOSE 80 443
|
||||
|
||||
@@ -1,15 +1,13 @@
|
||||
FROM ubuntu:18.04
|
||||
|
||||
RUN apt-get update && apt-get -y install git maven default-jdk avahi-daemon
|
||||
|
||||
RUN mkdir -p /root/src/
|
||||
FROM qt_ubuntu_18.04
|
||||
ARG packages="avahi-daemon maven default-jdk"
|
||||
RUN apt-get update && apt-get -y install $packages
|
||||
|
||||
# Get californium-based CoAP test server
|
||||
WORKDIR /root/src
|
||||
RUN git clone https://github.com/selart/californium.git
|
||||
ADD californium-*.tar.gz .
|
||||
RUN mv californium-* californium
|
||||
WORKDIR /root/src/californium
|
||||
RUN mvn clean install -q -DskipTests
|
||||
|
||||
WORKDIR /
|
||||
|
||||
EXPOSE 5683/udp 5684/udp
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:16.04
|
||||
ARG packages="cyrus-imapd avahi-daemon"
|
||||
FROM qt_ubuntu_16.04
|
||||
ARG packages="avahi-daemon cyrus-imapd"
|
||||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y $packages && dpkg -l $packages
|
||||
EXPOSE 143 993
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:18.04
|
||||
ARG packages="cyrus-imapd avahi-daemon"
|
||||
FROM qt_ubuntu_18.04
|
||||
ARG packages="avahi-daemon cyrus-imapd"
|
||||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y $packages && dpkg -l $packages
|
||||
EXPOSE 143 993
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
FROM ubuntu:16.04
|
||||
ARG packages="gdebi-core wget avahi-daemon"
|
||||
FROM qt_ubuntu_16.04
|
||||
ARG packages="avahi-daemon"
|
||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
||||
RUN wget http://ppa.launchpad.net/dajhorn/dante/ubuntu/pool/main/d/dante/dante-server_1.4.1-1_amd64.deb
|
||||
RUN gdebi -n dante-server_1.4.1-1_amd64.deb
|
||||
COPY dante-server_1.4.1-1_amd64.deb .
|
||||
RUN apt -y install ./dante-server_1.4.1-1_amd64.deb \
|
||||
&& rm -f ./dante-server_1.4.1-1_amd64.deb
|
||||
EXPOSE 1080-1081
|
||||
|
||||
# install configurations and test data
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:18.04
|
||||
ARG packages="dante-server avahi-daemon"
|
||||
FROM qt_ubuntu_18.04
|
||||
ARG packages="avahi-daemon dante-server"
|
||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
||||
EXPOSE 1080-1081
|
||||
|
||||
@@ -33,13 +33,13 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
set -ex
|
||||
set -e
|
||||
|
||||
|
||||
PROVISIONING_DIR="$(dirname "$0")/../../../"
|
||||
. "$PROVISIONING_DIR"/common/unix/common.sourced.sh
|
||||
. "$PROVISIONING_DIR"/common/unix/DownloadURL.sh
|
||||
|
||||
[ -x "$(command -v realpath)" ] && FILE=$(realpath ${BASH_SOURCE[0]}) || FILE=${BASH_SOURCE[0]}
|
||||
case $FILE in
|
||||
*/*) SERVER_PATH="${FILE%/*}" ;;
|
||||
*) SERVER_PATH="." ;;
|
||||
esac
|
||||
|
||||
# Sort files by their SHA-1, and then return the accumulated result
|
||||
sha1tree () {
|
||||
@@ -51,18 +51,76 @@ sha1tree () {
|
||||
sort | ${SHASUM-sha1sum} | cut -d ' ' -f 1
|
||||
}
|
||||
|
||||
# Using SHA-1 of each server context as the tag of docker images. A tag labels a
|
||||
# specific image version. It is used by docker compose file (docker-compose.yml)
|
||||
# to launch the corresponding docker containers. If one of the server contexts
|
||||
# (./apache2, ./danted, ...) gets changes, all the related compose files in
|
||||
# qtbase should be updated as well.
|
||||
|
||||
source "$SERVER_PATH/settings.sh"
|
||||
SERVER_PATH="$PROVISIONING_DIR/common/shared/testserver"
|
||||
|
||||
. "$SERVER_PATH/settings.sh"
|
||||
|
||||
|
||||
# Download all necessary dependencies outside of the dockerfiles, so that we
|
||||
# can use provisioning functionality for cached and verified downloads. In the
|
||||
# dockerfiles we just do COPY to put them where needed.
|
||||
|
||||
echo 'Downloading support files for the docker images'
|
||||
|
||||
DownloadURL \
|
||||
http://ci-files01-hki.intra.qt.io/input/docker/rfc3252.txt \
|
||||
https://tools.ietf.org/rfc/rfc3252.txt \
|
||||
50c323dedce95e4fdc2db35cd1b8ebf9d74711bf5296ef438b88d186d7dd082d
|
||||
cp rfc3252.txt "$SERVER_PATH/vsftpd/"
|
||||
cp rfc3252.txt "$SERVER_PATH/apache2/"
|
||||
|
||||
DownloadURL \
|
||||
http://ci-files01-hki.intra.qt.io/input/docker/dante-server_1.4.1-1_amd64.deb \
|
||||
http://ppa.launchpad.net/dajhorn/dante/ubuntu/pool/main/d/dante/dante-server_1.4.1-1_amd64.deb \
|
||||
674a06f356cebd92c64920cec38a6687650a6f880198fbbad05aaaccca5c0a21
|
||||
mv dante-server_1.4.1-1_amd64.deb "$SERVER_PATH/danted/"
|
||||
|
||||
DownloadURL \
|
||||
http://ci-files01-hki.intra.qt.io/input/docker/FreeCoAP-0.7.tar.gz \
|
||||
https://github.com/keith-cullen/FreeCoAP/archive/v0.7.tar.gz \
|
||||
fa6602e27dc8eaee6e34ff53400c0519da0c5c7cd47bf6f13acb564f52a693ee \
|
||||
FreeCoAP-0.7.tar.gz
|
||||
mv FreeCoAP-0.7.tar.gz "$SERVER_PATH/freecoap/"
|
||||
|
||||
# Custom fork of Eclipse Californium with changes not upstream
|
||||
DownloadURL \
|
||||
http://ci-files01-hki.intra.qt.io/input/docker/californium-secure-test-server.tar.gz \
|
||||
https://github.com/sonakur/californium/archive/secure-test-server.tar.gz \
|
||||
0ee7f5d4366b9e31f6d2d42e389cb7a66d2db54987b700a38a3a31e8f38a7a19 \
|
||||
californium-secure-test-server.tar.gz
|
||||
mv californium-secure-test-server.tar.gz "$SERVER_PATH/californium/"
|
||||
|
||||
|
||||
echo 'Building the docker images...'
|
||||
|
||||
# Build the 2 base layers: qt_ubuntu_1604, qt_ubuntu_1804.
|
||||
# These are the base for all other docker images.
|
||||
for image in qt_ubuntu_16.04 qt_ubuntu_18.04
|
||||
do
|
||||
docker build -t $image \
|
||||
--build-arg COIN_RUNS_IN_QT_COMPANY="$COIN_RUNS_IN_QT_COMPANY" \
|
||||
"$SERVER_PATH/$image"
|
||||
done
|
||||
|
||||
|
||||
for server in $testserver
|
||||
do
|
||||
|
||||
# We label each docker image with `-t name:tag`.
|
||||
# A tag labels a specific image version. In the docker compose file
|
||||
# (docker-compose.yml) that launches the containers, the tag used is
|
||||
# "latest". Here the images are additionally tagged with the SHA1 of each
|
||||
# image directory (context), so that if needed we can modify
|
||||
# docker-compose.yml and modify "latest" to a SHA in order to launch a
|
||||
# very specific image, thus providing a way to stage
|
||||
# backwards-incompatible changes across repositories.
|
||||
|
||||
context="$SERVER_PATH/$server"
|
||||
docker build -t qt-test-server-$server:$(sha1tree $context) $context
|
||||
tag=$(sha1tree $context)
|
||||
docker build -t qt-test-server-$server:latest \
|
||||
-t qt-test-server-$server:$tag \
|
||||
$context
|
||||
done
|
||||
|
||||
docker images
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:16.04
|
||||
ARG packages="xinetd avahi-daemon"
|
||||
FROM qt_ubuntu_16.04
|
||||
ARG packages="avahi-daemon xinetd"
|
||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
||||
EXPOSE 7 7/UDP 13
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:18.04
|
||||
ARG packages="xinetd avahi-daemon"
|
||||
FROM qt_ubuntu_18.04
|
||||
ARG packages="avahi-daemon xinetd"
|
||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
||||
EXPOSE 7 7/UDP 13
|
||||
|
||||
@@ -1,20 +1,14 @@
|
||||
FROM ubuntu:18.04
|
||||
FROM qt_ubuntu_18.04
|
||||
ARG packages="avahi-daemon autoconf automake libtool make libgnutls28-dev"
|
||||
RUN apt-get update && apt-get -y install $packages
|
||||
|
||||
RUN apt-get update && apt-get -y install git avahi-daemon autoconf automake libtool make libgnutls28-dev
|
||||
|
||||
RUN mkdir -p /root/src/
|
||||
|
||||
# Get FreeCoAP test server
|
||||
WORKDIR /root/src
|
||||
RUN git clone https://github.com/keith-cullen/FreeCoAP.git
|
||||
ADD FreeCoAP-*.tar.gz .
|
||||
RUN mv FreeCoAP-* FreeCoAP
|
||||
WORKDIR /root/src/FreeCoAP
|
||||
RUN autoreconf --install
|
||||
RUN ./configure
|
||||
RUN autoreconf --install && ./configure && make && make install
|
||||
WORKDIR sample/time_server
|
||||
RUN make
|
||||
RUN make install
|
||||
WORKDIR /root/src/FreeCoAP/sample/time_server
|
||||
RUN make
|
||||
|
||||
WORKDIR /
|
||||
|
||||
EXPOSE 5685/udp
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:16.04
|
||||
ARG packages="ftp-proxy avahi-daemon"
|
||||
FROM qt_ubuntu_16.04
|
||||
ARG packages="avahi-daemon ftp-proxy"
|
||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
||||
EXPOSE 2121
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:18.04
|
||||
ARG packages="ftp-proxy avahi-daemon"
|
||||
FROM qt_ubuntu_18.04
|
||||
ARG packages="avahi-daemon ftp-proxy"
|
||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
||||
EXPOSE 2121
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:16.04
|
||||
ARG packages="iptables avahi-daemon"
|
||||
FROM qt_ubuntu_16.04
|
||||
ARG packages="avahi-daemon iptables"
|
||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
||||
EXPOSE 1357
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:18.04
|
||||
ARG packages="iptables avahi-daemon"
|
||||
FROM qt_ubuntu_18.04
|
||||
ARG packages="avahi-daemon iptables"
|
||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
||||
EXPOSE 1357
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
FROM ubuntu:16.04
|
||||
ARG COIN_RUNS_IN_QT_COMPANY
|
||||
RUN test x"$COIN_RUNS_IN_QT_COMPANY" = xtrue \
|
||||
&& sed -i 's;\(archive\|security\)\.ubuntu\.com;repo-clones.ci.qt.io/apt-mirror/mirror;' /etc/apt/sources.list \
|
||||
|| echo "Internal package repository not found. Using public repositories."
|
||||
@@ -0,0 +1,5 @@
|
||||
FROM ubuntu:18.04
|
||||
ARG COIN_RUNS_IN_QT_COMPANY
|
||||
RUN test x"$COIN_RUNS_IN_QT_COMPANY" = xtrue \
|
||||
&& sed -i 's;\(archive\|security\)\.ubuntu\.com;repo-clones.ci.qt.io/apt-mirror/mirror;' /etc/apt/sources.list \
|
||||
|| echo "Internal package repository not found. Using public repositories."
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:16.04
|
||||
ARG packages="squid avahi-daemon"
|
||||
FROM qt_ubuntu_16.04
|
||||
ARG packages="avahi-daemon squid"
|
||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
||||
EXPOSE 3128-3130
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:18.04
|
||||
ARG packages="squid avahi-daemon"
|
||||
FROM qt_ubuntu_18.04
|
||||
ARG packages="avahi-daemon squid"
|
||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
||||
EXPOSE 3128-3130
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
FROM ubuntu:16.04
|
||||
ARG packages="vsftpd ftp wget avahi-daemon"
|
||||
FROM qt_ubuntu_16.04
|
||||
ARG packages="avahi-daemon vsftpd ftp"
|
||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
||||
EXPOSE 20-21
|
||||
|
||||
# install configurations and test data
|
||||
RUN wget https://tools.ietf.org/rfc/rfc3252.txt
|
||||
COPY rfc3252.txt .
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:18.04
|
||||
ARG packages="vsftpd avahi-daemon"
|
||||
FROM qt_ubuntu_18.04
|
||||
ARG packages="avahi-daemon vsftpd"
|
||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
||||
EXPOSE 20-21
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/sh
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2019 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -33,31 +33,85 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
|
||||
# A helper script used for downloading a file from a URL or an alternative
|
||||
# URL. Also the SHA1 is checked for the file. Target filename should also
|
||||
# be given.
|
||||
#
|
||||
# If called directly from another script, it will exit the parent script
|
||||
# as well, if not called in its own subshell with parentheses.
|
||||
# URL. Also the SHA is checked for the file (SHA algorithm is autodetected
|
||||
# based on the SHA length). Target filename should also be given.
|
||||
|
||||
set -ex
|
||||
############################ BOILERPLATE ###############################
|
||||
command -v sha1sum >/dev/null || alias sha1sum='shasum -a 1'
|
||||
command -v sha256sum >/dev/null || alias sha256sum='shasum -a 256'
|
||||
command -v sha384sum >/dev/null || alias sha384sum='shasum -a 384'
|
||||
command -v sha512sum >/dev/null || alias sha512sum='shasum -a 512'
|
||||
########################################################################
|
||||
|
||||
function DownloadURL {
|
||||
url=$1
|
||||
url_alt=$2
|
||||
expectedSha1=$3
|
||||
targetFile=$4
|
||||
|
||||
echo "Downloading from primary URL '$url'"
|
||||
curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url" || {
|
||||
echo "Failed to download '$url' multiple times"
|
||||
echo "Downloading from alternative URL '$url_alt'"
|
||||
curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url_alt" || { echo 'Failed to download even from alternative url'; exit 1; }
|
||||
}
|
||||
Download () {
|
||||
url="$1"
|
||||
targetFile="$2"
|
||||
|
||||
echo "Checking SHA1 on PKG '$targetFile'"
|
||||
echo "$expectedSha1 *$targetFile" > "$targetFile.sha1"
|
||||
sha1sum --check "$targetFile.sha1"
|
||||
rm -f "$targetFile.sha1"
|
||||
command -v curl >/dev/null \
|
||||
&& curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url" \
|
||||
|| wget --tries 5 -O "$targetFile" "$url"
|
||||
}
|
||||
|
||||
VerifyHash () {
|
||||
file=$1
|
||||
expectedHash=$2
|
||||
|
||||
if [ ! -f "$file" ]
|
||||
then return 2 # file does not exist
|
||||
fi
|
||||
|
||||
|
||||
hashLength="$(echo "$expectedHash" | wc -c | sed 's/ *//g')"
|
||||
# Use backticks because of bug with bash-3 (default on macOS),
|
||||
# caused when there are unbalanced parentheses inside $()
|
||||
# shellcheck disable=SC2006
|
||||
hash=`case "$hashLength" in
|
||||
41) sha1sum "$file" ;;
|
||||
65) sha256sum "$file" ;;
|
||||
97) sha384sum "$file" ;;
|
||||
129) sha512sum "$file" ;;
|
||||
*) echo "FATAL! Unknown hash length: $hashLength" 1>&2 && exit 1 ;;
|
||||
esac | cut -d ' ' -f 1`
|
||||
|
||||
if [ ! "$expectedHash" = "$hash" ]
|
||||
then
|
||||
echo "FAIL! wrong file hash: $file $hash" 1>&2
|
||||
return 1
|
||||
fi
|
||||
echo "OK verified integrity of: $file"
|
||||
}
|
||||
|
||||
# Check if file already exists and is good, otherwise download it
|
||||
DownloadURL () {
|
||||
url=$1
|
||||
url2=$2
|
||||
expectedHash=$3
|
||||
# Optional argument $4: destination filename
|
||||
if [ x"$4" = x ]
|
||||
then
|
||||
# defaults to the last component of $url
|
||||
targetFile=$(echo $url | sed 's|^.*/||')
|
||||
else
|
||||
targetFile=$4
|
||||
fi
|
||||
|
||||
if VerifyHash "$targetFile" "$expectedHash"
|
||||
then
|
||||
echo "Skipping download, found and validated existing file: $targetFile"
|
||||
else
|
||||
echo "Downloading from primary URL: $url"
|
||||
if ! Download "$url" "$targetFile"
|
||||
then
|
||||
echo "FAIL! to download, trying alternative URL: $url2" 1>&2
|
||||
if ! Download "$url2" "$targetFile"
|
||||
then
|
||||
echo 'FAIL! to download even from alternative URL' 1>&2
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
VerifyHash "$targetFile" "$expectedHash"
|
||||
fi
|
||||
}
|
||||
|
||||
167
coin/provisioning/common/unix/common.sourced.sh
Normal file
167
coin/provisioning/common/unix/common.sourced.sh
Normal file
@@ -0,0 +1,167 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2019 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$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
|
||||
# Script to be sourced from everywhere you need a common environment. Defines:
|
||||
export PROVISIONING_DIR
|
||||
export PROVISIONING_OS
|
||||
export PROVISIONING_OS_ID
|
||||
export PROVISIONING_ARCH
|
||||
export CMD_PKG_INSTALL
|
||||
export CMD_PKG_LOCALINSTALL
|
||||
export CMD_INSTALL
|
||||
export COIN_RUNS_IN_QT_COMPANY
|
||||
|
||||
|
||||
|
||||
if [ x"$IS_PROVISIONING_COMMON_SOURCED" != x ]
|
||||
then
|
||||
echo "common.sourced.sh has already been sourced, re-sourcing skipped"
|
||||
return
|
||||
fi
|
||||
|
||||
# Do not export; you want children to re-source, because they only inherit the
|
||||
# variables but not the functions
|
||||
IS_PROVISIONING_COMMON_SOURCED=1
|
||||
|
||||
|
||||
fatal () {
|
||||
echo "$1" 1>&2
|
||||
if [ x"$2" != x ]
|
||||
then exit "$2"
|
||||
else exit
|
||||
fi
|
||||
}
|
||||
|
||||
# Takes one argument which should be the filename of this script. Returns true
|
||||
# if the script is being sourced, false if the script is being executed.
|
||||
is_script_executed () {
|
||||
[ x"$(basename $(echo "$0" | sed s/^-//))" = x"$1" ]
|
||||
}
|
||||
|
||||
|
||||
is_script_executed common.sourced.sh \
|
||||
&& fatal "Script common.sourced.sh should always be sourced, not executed"
|
||||
|
||||
|
||||
_detect_linux_OS_ID () {
|
||||
if [ -f /etc/os-release ]
|
||||
then
|
||||
. /etc/os-release
|
||||
PROVISIONING_OS_ID="$ID"
|
||||
elif [ -f /etc/redhat-release ]
|
||||
then
|
||||
case "$(cat /etc/redhat-release)" in
|
||||
"Red Hat Enterprise Linux"*)
|
||||
PROVISIONING_OS_ID="rhel"
|
||||
;;
|
||||
"CentOS Linux"*)
|
||||
PROVISIONING_OS_ID="centos"
|
||||
;;
|
||||
*) fatal "Unknown string in /etc/redhat-release" ;;
|
||||
esac
|
||||
fi
|
||||
}
|
||||
|
||||
set_common_environment () {
|
||||
# Unfortunately we can't find the provisioning directory from a sourced
|
||||
# script in a portable way
|
||||
# PROVISIONING_DIR="$(dirname "$0")/../../"
|
||||
|
||||
[ x"$PROVISIONING_DIR" = x ] \
|
||||
&& fatal "PROVISIONING_DIR variable needs to be set before calling set_common_environment"
|
||||
|
||||
uname_s="$(uname -s)"
|
||||
case "$uname_s" in
|
||||
Linux)
|
||||
PROVISIONING_OS=linux
|
||||
_detect_linux_OS_ID
|
||||
case "$PROVISIONING_OS_ID" in
|
||||
suse|sles|opensuse*)
|
||||
CMD_PKG_INSTALL="sudo zypper -nq install"
|
||||
CMD_PKG_LOCALINSTALL="sudo zypper --no-gpg-checks -nq install"
|
||||
;;
|
||||
debian|ubuntu)
|
||||
CMD_PKG_INSTALL="sudo apt -y install"
|
||||
CMD_PKG_LOCALINSTALL="sudo apt -y install"
|
||||
;;
|
||||
rhel|centos|fedora)
|
||||
CMD_PKG_INSTALL="sudo yum -y install"
|
||||
CMD_PKG_LOCALINSTALL="sudo yum -y --nogpgcheck localinstall"
|
||||
;;
|
||||
*) fatal "Unknown ID in /etc/os-release: $PROVISIONING_OS_ID" ;;
|
||||
esac
|
||||
;;
|
||||
Darwin)
|
||||
PROVISIONING_OS=macos
|
||||
PROVISIONING_OS_ID=macos
|
||||
CMD_PKG_INSTALL="brew install"
|
||||
CMD_PKG_LOCALINSTALL="echo 'TODO how to install a package file on macOS'"
|
||||
;;
|
||||
*)
|
||||
fatal "Unknown system in uname: $uname_s" 42
|
||||
;;
|
||||
esac
|
||||
|
||||
uname_m="$(uname -m)"
|
||||
case "$uname_m" in
|
||||
x86_64|amd64) PROVISIONING_ARCH=amd64 ;;
|
||||
i[3456]86) PROVISIONING_ARCH=x86 ;;
|
||||
*) fatal "Unknown architecture in uname: $uname_m" 43 ;;
|
||||
esac
|
||||
|
||||
CMD_INSTALL="sudo install"
|
||||
|
||||
COIN_RUNS_IN_QT_COMPANY=false
|
||||
if ping -c1 repo-clones.ci.qt.io >/dev/null 2>&1
|
||||
then
|
||||
COIN_RUNS_IN_QT_COMPANY=true
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
set_common_environment
|
||||
|
||||
set_dry_run () {
|
||||
if [ x"$PROVISIONING_DRY_RUN" != x ]
|
||||
then
|
||||
CMD_PKG_INSTALL="echo DRYRUN: $CMD_PKG_INSTALL"
|
||||
CMD_PKG_LOCALINSTALL="echo DRYRUN: $CMD_PKG_LOCALINSTALL"
|
||||
CMD_INSTALL="echo DRYRUN: $CMD_INSTALL"
|
||||
fi
|
||||
}
|
||||
|
||||
set_dry_run
|
||||
@@ -42,11 +42,11 @@ source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
version="1.1.1b"
|
||||
version="1.1.1d"
|
||||
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
|
||||
cachedUrl="http://ci-files01-hki.intra.qt.io/input/openssl/openssl-$version.tar.gz"
|
||||
targetFile="/tmp/openssl-$version.tar.gz"
|
||||
sha="e9710abf5e95c48ebf47991b10cbb48c09dae102"
|
||||
sha="056057782325134b76d1931c48f2c7e6595d7ef4"
|
||||
opensslHome="${HOME}/openssl-${version}"
|
||||
opensslSource="${opensslHome}-src"
|
||||
DownloadURL "$cachedUrl" "$officialUrl" "$sha" "$targetFile"
|
||||
|
||||
@@ -64,7 +64,7 @@ if uname -a |grep -q Darwin; then
|
||||
else
|
||||
./configure
|
||||
fi
|
||||
make
|
||||
make -j5
|
||||
sudo make install
|
||||
|
||||
# Refresh shared library cache if OS isn't macOS
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Copyright (C) 2019 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -33,11 +33,6 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
set -ex
|
||||
|
||||
# refresh local certificates
|
||||
sudo subscription-manager refresh
|
||||
|
||||
# Attach available subscriptions to system. This is needed when subscriptions are renewed.
|
||||
sudo subscription-manager attach --auto
|
||||
|
||||
# needed by packaging scripts
|
||||
pip3 install bs4
|
||||
pip3 install sh
|
||||
@@ -38,14 +38,14 @@ set -ex
|
||||
# This script will install squish package for Linux and Mac.
|
||||
# Squish is need by Release Test Automation (RTA)
|
||||
|
||||
version="6.4.3"
|
||||
version="6.5"
|
||||
# Branch version without dot
|
||||
qtBranch="512x"
|
||||
qtBranch="513x"
|
||||
squishFolder="/opt/squish"
|
||||
squishUrl="ci-files01-hki.intra.qt.io:/hdd/www/input/squish/coin/$qtBranch/"
|
||||
squishFile="squish-$version-qt$qtBranch-linux64.run"
|
||||
squishFile="squish-nosignalhandler-$version-qt$qtBranch-linux64.run"
|
||||
if uname -a |grep -q Darwin; then
|
||||
squishFile="squish-$version-qt$qtBranch-macx86_64.dmg"
|
||||
squishFile="squish-nosignalhandler-$version-qt$qtBranch-macx86_64.dmg"
|
||||
fi
|
||||
|
||||
squishLicenseUrl="ci-files01-hki.intra.qt.io:/hdd/www/input/squish/coin/"
|
||||
@@ -122,7 +122,7 @@ function MountAndInstall {
|
||||
sudo cp $targetFileMount /tmp
|
||||
UnMount
|
||||
sudo hdiutil attach "/tmp/$targetFile"
|
||||
sudo /Volumes/froglogic\ Squish/Install\ Squish.app/Contents/MacOS/Squish unattended=1 targetdir="$targetDirectory/package" qtpath="$targetDirectory" > /dev/null 2>&1
|
||||
sudo /Volumes/froglogic\ Squish/Install\ Squish.app/Contents/MacOS/Squish unattended=1 targetdir="$targetDirectory/package" qtpath="$targetDirectory" > /dev/null
|
||||
mountFolder="/Volumes/froglogic Squish"
|
||||
UnMount
|
||||
elif [[ $targetFile == *.run ]]; then
|
||||
@@ -130,7 +130,7 @@ function MountAndInstall {
|
||||
sudo cp $targetFileMount $targetDirectory
|
||||
UnMount
|
||||
sudo chmod +x $targetDirectory/$targetFile
|
||||
sudo $targetDirectory/$targetFile unattended=1 targetdir="$targetDirectory/package" qtpath="$targetDirectory" > /dev/null 2>&1
|
||||
sudo $targetDirectory/$targetFile unattended=1 targetdir="$targetDirectory/package" qtpath="$targetDirectory" > /dev/null
|
||||
sudo rm -fr "$targetDirectory/$targetFile"
|
||||
if uname -a |grep -q "Ubuntu"; then
|
||||
sudo mkdir /usr/lib/tcl8.6
|
||||
|
||||
98
coin/provisioning/common/unix/telegraf_install.sh
Executable file
98
coin/provisioning/common/unix/telegraf_install.sh
Executable file
@@ -0,0 +1,98 @@
|
||||
#!/bin/sh
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2019 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 installs telegraf and ioping and our script telegraf-ioping.sh
|
||||
# to the /usr/bin directory.
|
||||
#
|
||||
# The reasons we don't install to /usr/local/bin are:
|
||||
# 1. On SLES and RHEL, the PATH of sudo (secure_path setting in /etc/sudoers)
|
||||
# does not include /usr/local/bin.
|
||||
# 2. On macOS /usr/local/bin does not even exist early in provisioning.
|
||||
|
||||
|
||||
######################## BOILERPLATE ###########################
|
||||
set -e
|
||||
|
||||
|
||||
PROVISIONING_DIR="$(dirname "$0")/../../"
|
||||
. "$PROVISIONING_DIR"/common/unix/common.sourced.sh
|
||||
|
||||
. "$PROVISIONING_DIR"/common/unix/DownloadURL.sh
|
||||
|
||||
is_script_executed telegraf_install.sh \
|
||||
|| fatal "Script telegraf_install.sh should be executed, not sourced"
|
||||
|
||||
################################################################
|
||||
|
||||
|
||||
[ "$PROVISIONING_OS" = linux ] \
|
||||
&& ioping_sha256=259abf04bcb84f4126ff97c04b6651e1cf5ea6d8a9ff364c769a26c95b6eeb44 \
|
||||
|| ioping_sha256=55de6a2f1a5343e0ce8df31d82d47a9e79c7e612edbc6dfb39b5fc6fb358b2e3
|
||||
DownloadURL "http://ci-files01-hki.intra.qt.io/input/ioping/ioping.${PROVISIONING_OS}-${PROVISIONING_ARCH}" \
|
||||
'' "$ioping_sha256" ioping
|
||||
$CMD_INSTALL -m 755 ./ioping /usr/bin/
|
||||
rm -f ioping
|
||||
|
||||
# 2. Install custom ioping monitoring script
|
||||
$CMD_INSTALL -m 755 "$PROVISIONING_DIR"/common/shared/telegraf/telegraf-ioping.sh /usr/bin/
|
||||
|
||||
# 3. Download and install telegraf
|
||||
|
||||
[ x"$PROVISIONING_OS" = xmacos ] && os=darwin || os=linux
|
||||
[ x"$PROVISIONING_ARCH" = xx86 ] && arch=i386 || arch=amd64
|
||||
package_filename=telegraf-1.12.1_${os}_${arch}.tar.gz
|
||||
package_sha256_list="$PROVISIONING_DIR"/common/shared/telegraf/telegraf_packages.sha256.txt
|
||||
package_sha256=$(sed -n "s/.*$package_filename *//p" "$package_sha256_list")
|
||||
|
||||
DownloadURL \
|
||||
http://ci-files01-hki.intra.qt.io/input/telegraf/"$package_filename" \
|
||||
https://dl.influxdata.com/telegraf/releases/"$package_filename" \
|
||||
"$package_sha256" \
|
||||
telegraf.tar.gz
|
||||
|
||||
tar -xzf ./telegraf.tar.gz -C /tmp
|
||||
telegraf_binary=$(find /tmp/telegraf* -name telegraf -type f | grep /bin/ | head -1)
|
||||
$CMD_INSTALL -m 755 "$telegraf_binary" /usr/bin/
|
||||
rm -rf /tmp/telegraf*
|
||||
|
||||
# 4. Edit config file with passwords
|
||||
"$PROVISIONING_DIR"/common/unix/telegraf_password.sh
|
||||
|
||||
# 5. Start telegraf in background (-b) and with retaining the environment (-E)
|
||||
# in order to report as hostname = $COIN_UNIQUE_JOB_ID.
|
||||
/usr/bin/sudo -b -E telegraf --config /etc/telegraf-coin.conf >/dev/null 2>&1
|
||||
|
||||
echo DONE: "Installed and started telegraf: $package_filename"
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/sh
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2019 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -33,26 +33,28 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# This script installs MySQL
|
||||
|
||||
# MySQL is needed for Qt to be able to support MySQL
|
||||
######################## BOILERPLATE ###########################
|
||||
set -e
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/macos/InstallAppFromCompressedFileFromURL.sh
|
||||
source "${BASH_SOURCE%/*}/../common/macos/InstallAppFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
PROVISIONING_DIR="$(dirname "$0")/../../"
|
||||
. "$PROVISIONING_DIR"/common/unix/common.sourced.sh
|
||||
|
||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/macos_10.12_sierra/mysql-5.7.15-osx10.11-x86_64.tar.gz"
|
||||
AltUrl="https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-osx10.11-x86_64.tar.gz"
|
||||
SHA1="07949bd42f350b0504a1536b8830b809b4a34fca"
|
||||
appPrefix=""
|
||||
targetDir="/opt/mysql57/"
|
||||
is_script_executed telegraf_password.sh \
|
||||
|| fatal "Script telegraf_password.sh should be executed, not sourced, to avoid leaking secrets in the logs"
|
||||
# Avoid leaking secrets in the logs
|
||||
set +x
|
||||
################################################################
|
||||
|
||||
sudo mkdir -p "/opt"
|
||||
|
||||
InstallAppFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$appPrefix" "$targetDir"
|
||||
# Provisioning should run even without the secrets repository
|
||||
influxdb_password=$(cut -d : -f 2 ~qt/work/influxdb/coin_vms_writer.auth) \
|
||||
|| influxdb_password=no_password_provided
|
||||
|
||||
SetEnvVar "MYSQLBINPATH" "/opt/mysql57/bin"
|
||||
echo "MySQL = 5.7.15" >> ~/versions.txt
|
||||
rm -f ~qt/work/influxdb/coin_vms_writer.auth
|
||||
sed "s|COIN_VMS_WRITER_PASS|$influxdb_password|" \
|
||||
"$PROVISIONING_DIR"/common/"$PROVISIONING_OS"/telegraf-coin.conf \
|
||||
> .telegraf-coin.conf.final
|
||||
$CMD_INSTALL -m 600 .telegraf-coin.conf.final /etc/telegraf-coin.conf
|
||||
rm -f .telegraf-coin.conf.final
|
||||
@@ -1,6 +1,6 @@
|
||||
############################################################################
|
||||
##
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Copyright (C) 2019 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -45,9 +45,9 @@ if (Is64BitWinHost) {
|
||||
# Msys need to be installed to target machine
|
||||
# More info and building instructions can be found from http://doc.qt.io/qt-5/opensslsupport.html
|
||||
|
||||
$version = "1.1.1b"
|
||||
$version = "1.1.1d"
|
||||
$zip = Get-DownloadLocation ("openssl-$version.tar.gz")
|
||||
$sha1 = "e9710abf5e95c48ebf47991b10cbb48c09dae102"
|
||||
$sha1 = "056057782325134b76d1931c48f2c7e6595d7ef4"
|
||||
$destination = "C:\Utils\openssl-android-master"
|
||||
|
||||
# msys unix style paths
|
||||
@@ -65,8 +65,25 @@ Remove-Item -Path $zip
|
||||
Write-Host "Configuring OpenSSL $version for Android..."
|
||||
Push-Location $destination
|
||||
# $ must be escaped in powershell...
|
||||
Start-Process -NoNewWindow -Wait -ErrorAction Stop -FilePath "$msys_bash" -ArgumentList ("-lc", "`"pushd $openssl_path; ANDROID_NDK_HOME=$ndkPath PATH=${cc_path}:`$PATH CC=clang $openssl_path/Configure shared android-arm`"")
|
||||
Start-Process -NoNewWindow -Wait -ErrorAction Stop -FilePath "$msys_bash" -ArgumentList ("-lc", "`"pushd $openssl_path; ANDROID_NDK_HOME=$ndkPath PATH=${cc_path}:`$PATH CC=clang make -f $openssl_path/Makefile build_generated`"")
|
||||
|
||||
function CheckExitCode {
|
||||
|
||||
param (
|
||||
$p
|
||||
)
|
||||
|
||||
if ($p.ExitCode) {
|
||||
Write-host "Process failed with exit code: $($p.ExitCode)"
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
||||
$configure = Start-Process -NoNewWindow -Wait -PassThru -ErrorAction Stop -FilePath "$msys_bash" -ArgumentList ("-lc", "`"pushd $openssl_path; ANDROID_NDK_HOME=$ndkPath PATH=${cc_path}:`$PATH CC=clang $openssl_path/Configure shared android-arm`"")
|
||||
CheckExitCode $configure
|
||||
|
||||
$make = Start-Process -NoNewWindow -Wait -PassThru -ErrorAction Stop -FilePath "$msys_bash" -ArgumentList ("-lc", "`"pushd $openssl_path; ANDROID_NDK_HOME=$ndkPath PATH=${cc_path}:`$PATH CC=clang make -f $openssl_path/Makefile build_generated`"")
|
||||
CheckExitCode $make
|
||||
|
||||
Pop-Location
|
||||
|
||||
Set-EnvironmentVariable "OPENSSL_ANDROID_HOME" "$destination"
|
||||
|
||||
@@ -33,8 +33,8 @@
|
||||
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
$majorminorversion = "3.6"
|
||||
$version = "3.6.2"
|
||||
$majorminorversion = "3.7"
|
||||
$version = "3.7.2"
|
||||
|
||||
$zip = Get-DownloadLocation ("cmake-" + $version + "-win32-x86.zip")
|
||||
$officialurl = "https://cmake.org/files/v" + $majorminorversion + "/cmake-" + $version + "-win32-x86.zip"
|
||||
@@ -44,7 +44,7 @@ Write-Host "Removing old cmake"
|
||||
Remove-Item "C:\CMake" -Force -Recurse -ErrorAction SilentlyContinue
|
||||
|
||||
Download $officialurl $cachedurl $zip
|
||||
Verify-Checksum $zip "541F6E7EFD228E46770B8631FFE57097576E4D4E"
|
||||
Verify-Checksum $zip "c80c17e858ecfebfaf16fe8af18b174d2600c4e6"
|
||||
|
||||
Extract-7Zip $zip C:
|
||||
$defaultinstallfolder = "C:\cmake-" + $version + "-win32-x86"
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# This script will disable automatic disk cleanup
|
||||
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
Run-Executable "reg.exe" "ADD `"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy`" /V 04 /T REG_dWORD /D 0 /F"
|
||||
|
||||
# Maintenance task used by the system to launch a silent auto disk cleanup when running low on free disk space.
|
||||
DisableSchedulerTask "DiskCleanup\SilentCleanup"
|
||||
@@ -1,3 +1,36 @@
|
||||
###########################################################################
|
||||
##
|
||||
## Copyright (C) 2019 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$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
# Turning off win defender.
|
||||
#
|
||||
# If disabled manually, windows will automatically enable it after
|
||||
@@ -6,3 +39,21 @@
|
||||
. "$PSScriptRoot\helpers.ps1"
|
||||
|
||||
Run-Executable "reg.exe" "ADD `"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender`" /V DisableAntiSpyware /T REG_dWORD /D 1 /F"
|
||||
|
||||
# 'Windows Defender Cache Maintenance' - "Periodic maintenance task."
|
||||
DisableSchedulerTask "Windows Defender\Windows Defender Cache Maintenance"
|
||||
|
||||
# 'Windows Defender Cleanup' - "Periodic cleanup task."
|
||||
DisableSchedulerTask "Windows Defender\Windows Defender Cleanup"
|
||||
|
||||
# 'Windows Defender Scheduled Scan' - "Periodic scan task."
|
||||
DisableSchedulerTask "Windows Defender\Windows Defender Scheduled Scan"
|
||||
|
||||
# 'Windows Defender Verification' - "Periodic verification task."
|
||||
DisableSchedulerTask "Windows Defender\Windows Defender Verification"
|
||||
|
||||
# Disable 'QueueReporting' - "Windows Error Reporting task to process queued reports."
|
||||
DisableSchedulerTask "Windows Error Reporting\QueueReporting"
|
||||
|
||||
# Disable WindowsUpdate from Task Scheduler
|
||||
DisableSchedulerTask "WindowsUpdate\Scheduled Start"
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
# Disable Windows Module Installer (Trusted Installer).
|
||||
# Trusted Installe enables installation, modification, and removal of Windows updates and optional components.
|
||||
# If this service is disabled, install or uninstall of Windows updates might fail for this computer.
|
||||
sc.exe config TrustedInstaller start=disabled
|
||||
@@ -3,7 +3,7 @@ function Verify-Checksum
|
||||
Param (
|
||||
[string]$File=$(throw("You must specify a filename to get the checksum of.")),
|
||||
[string]$Expected=$(throw("Checksum required")),
|
||||
[ValidateSet("sha1","md5")][string]$Algorithm="sha1"
|
||||
[ValidateSet("sha256","sha1","md5")][string]$Algorithm="sha1"
|
||||
)
|
||||
Write-Host "Verifying checksum of $File"
|
||||
$fs = new-object System.IO.FileStream $File, "Open"
|
||||
@@ -254,3 +254,23 @@ function Remove {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function DisableSchedulerTask {
|
||||
|
||||
Param (
|
||||
[string]$Task = $(BadParam("a task"))
|
||||
)
|
||||
|
||||
Write-Host "Disabling $Task from Task Scheduler"
|
||||
SCHTASKS /Change /TN "Microsoft\Windows\$Task" /DISABLE
|
||||
}
|
||||
|
||||
function DeleteSchedulerTask {
|
||||
|
||||
Param (
|
||||
[string]$Task = $(BadParam("a task"))
|
||||
)
|
||||
|
||||
Write-Host "Disabling $Task from Task Scheduler"
|
||||
SCHTASKS /DELETE /TN "Microsoft\Windows\$Task" /F
|
||||
}
|
||||
|
||||
@@ -44,3 +44,4 @@ Verify-Checksum "$temp\$zipPackage" "d7a34a385ccde2374b8a2ca3369e5b8a1452c5a5"
|
||||
Extract-7Zip "$temp\$zipPackage" C:\Utils
|
||||
|
||||
Write-Output "$prog qt5 commit sha = 98c4f1bbebfb3cc6d8e031d36fd1da3c19e634fb" >> ~\versions.txt
|
||||
Prepend-Path "C:\Utils\gnuwin32\bin"
|
||||
|
||||
@@ -68,8 +68,7 @@ try {
|
||||
Verify-Checksum $javaPackage $sha1
|
||||
|
||||
Run-Executable "$javaPackage" "/s SPONSORS=0"
|
||||
Write-Host "Cleaning $javaPackage.."
|
||||
Remove-Item -Recurse -Force -Path "$javaPackage"
|
||||
Remove "$javaPackage"
|
||||
|
||||
Write-Host "Remove Java update from startup"
|
||||
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run" /v SunJavaUpdateSched /f
|
||||
|
||||
68
coin/provisioning/common/windows/install_telegraf.ps1
Normal file
68
coin/provisioning/common/windows/install_telegraf.ps1
Normal file
@@ -0,0 +1,68 @@
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2019 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\windows\helpers.ps1"
|
||||
|
||||
|
||||
# Install a specific version of Telegraf
|
||||
# https://github.com/influxdata/telegraf/releases
|
||||
|
||||
$version = "1.12.1"
|
||||
|
||||
if (Is64BitWinHost) {
|
||||
$arch = "amd64"
|
||||
$sha256 = "88d8c8146b561f43726e61688b42d0b5ab88fc22607b94df5a2c8245bbb27e29"
|
||||
} else {
|
||||
$arch = "i386"
|
||||
$sha256 = "d2dea67a28fd7a9e21395d14f0b7ce1b6413e85cc9ffd89cc7ff8f35e8af5837"
|
||||
}
|
||||
|
||||
$filename = "telegraf-" + $version + "_windows_" + $arch + ".zip"
|
||||
|
||||
$url_cache = "http://ci-files01-hki.intra.qt.io/input/telegraf/" + $filename
|
||||
$url_official = "https://dl.influxdata.com/telegraf/releases/" + $filename
|
||||
$tempfile = "C:\Windows\Temp\" + $filename
|
||||
|
||||
Write-Host "Fetching Telegraf $version..."
|
||||
Download $url_official $url_cache $tempfile
|
||||
Verify-Checksum $tempfile $sha256 sha256
|
||||
|
||||
Write-Host "Installing telegraf.exe under C:\Utils\telegraf"
|
||||
Extract-7Zip $tempfile C:\Utils "telegraf"
|
||||
Copy-Item "$PSScriptRoot\..\..\common\windows\telegraf-coin.conf" C:\telegraf-coin.conf
|
||||
|
||||
. "$PSScriptRoot\telegraf_password.ps1"
|
||||
|
||||
Start-Process -FilePath C:\Utils\telegraf\telegraf.exe -ArgumentList "--config C:\telegraf-coin.conf"
|
||||
|
||||
Write-Output "Telegraf = $version" >> ~\versions.txt
|
||||
@@ -36,7 +36,7 @@
|
||||
# This script installs OpenSSL $version.
|
||||
# Both x86 and x64 versions needed when x86 integrations are done on x64 machine
|
||||
|
||||
$version = "1_1_1b"
|
||||
$version = "1_1_1d"
|
||||
$packagex64 = "C:\Windows\Temp\Win64OpenSSL-$version.exe"
|
||||
$packagex86 = "C:\Windows\Temp\Win32OpenSSL-$version.exe"
|
||||
|
||||
@@ -47,7 +47,7 @@ if (Is64BitWinHost) {
|
||||
$installFolder = "C:\openssl"
|
||||
$externalUrl = "https://slproweb.com/download/Win64OpenSSL-$version.exe"
|
||||
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\openssl\Win64OpenSSL-$version.exe"
|
||||
$sha1 = "5b50819dd84aa9219e0cad9cdddf78285bdd1bbb"
|
||||
$sha1 = "df9c40e9e82edf693c15302cbc8e8a057857a13c"
|
||||
|
||||
Write-Host "Fetching from URL ..."
|
||||
Download $externalUrl $internalUrl $packagex64
|
||||
@@ -74,7 +74,7 @@ if (Is64BitWinHost) {
|
||||
|
||||
$externalUrl = "https://slproweb.com/download/Win32OpenSSL-$version.exe"
|
||||
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\openssl\Win32OpenSSL-$version.exe"
|
||||
$sha1 = "1ae5ad4fe5dae01dd056274979cce26945c9e86c"
|
||||
$sha1 = "5c49ccd3a5d17f63d25fb819963978f50c7966d0"
|
||||
|
||||
Write-Host "Fetching from URL ..."
|
||||
Download $externalUrl $internalUrl $packagex86
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2020 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -36,7 +36,7 @@
|
||||
# This script installs postgresql $version.
|
||||
# Both x86 and x64 versions needed when x86 integrations are done on x64 machine
|
||||
|
||||
$version = "9.1.9-1"
|
||||
$version = "9.6.16-1"
|
||||
$packagex64 = "C:\Windows\temp\postgresql-$version-windows-x64-binaries.zip"
|
||||
$packagex86 = "C:\Windows\temp\postgresql-$version-windows-binaries.zip"
|
||||
|
||||
@@ -46,7 +46,7 @@ if (Is64BitWinHost) {
|
||||
$installFolder = "C:\Utils\postgresql"
|
||||
$externalUrl = "http://get.enterprisedb.com/postgresql/postgresql-$version-windows-x64-binaries.zip"
|
||||
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\postgresql-$version-windows-x64-binaries.zip"
|
||||
$sha1 = "4da0453cdfda335e064d4437cf5bb9d356054cfd"
|
||||
$sha1 = "5dd604f91973112209362b5abbbd1220c026f645"
|
||||
|
||||
Write-Host "Fetching from URL ..."
|
||||
Download $externalUrl $internalUrl $packagex64
|
||||
@@ -56,6 +56,8 @@ if (Is64BitWinHost) {
|
||||
|
||||
Write-Host "Remove downloaded $packagex64 ..."
|
||||
Remove-Item -Path $packagex64
|
||||
# Remove pthread.h file so it won't be used in mingw builds (QTBUG-79555)
|
||||
Remove-item -Path "$installFolder\pgsql\include\pthread.h"
|
||||
|
||||
Set-EnvironmentVariable "POSTGRESQL_INCLUDE_x64" "$installFolder\pgsql\include"
|
||||
Set-EnvironmentVariable "POSTGRESQL_LIB_x64" "$installFolder\pgsql\lib"
|
||||
@@ -65,7 +67,7 @@ if (Is64BitWinHost) {
|
||||
$architecture = "x86"
|
||||
$externalUrl = "http://get.enterprisedb.com/postgresql/postgresql-$version-windows-binaries.zip"
|
||||
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\postgresql-$version-windows-binaries.zip"
|
||||
$sha1 = "eb4f01845e1592800edbb74f60944b6c0aca51a9"
|
||||
$sha1 = "46309190e60eead99c2d39c1dd18a91f2104d000"
|
||||
if (Is64BitWinHost) {
|
||||
$installFolder = "C:\Utils\postgresql$architecture"
|
||||
} else {
|
||||
@@ -81,6 +83,8 @@ Extract-7Zip $packagex86 $installFolder "pgsql\lib pgsql\bin pgsql\share pgsql\i
|
||||
|
||||
Write-Host "Remove downloaded $packagex86 ..."
|
||||
Remove-Item -Path $packagex86
|
||||
# Remove pthread.h file so it won't be used in mingw builds (QTBUG-79555)
|
||||
Remove-item -Path "$installFolder\pgsql\include\pthread.h"
|
||||
|
||||
Set-EnvironmentVariable "POSTGRESQL_INCLUDE_x86" "$installFolder\pgsql\include"
|
||||
Set-EnvironmentVariable "POSTGRESQL_LIB_x86" "$installFolder\pgsql\lib"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2016 The Qt Company Ltd.
|
||||
## Copyright (C) 2019 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -75,6 +75,9 @@ if (($archVer -eq 32) -And (Is64BitWinHost)) {
|
||||
|
||||
Run-Executable "$targetDir\python.exe" "-m ensurepip"
|
||||
|
||||
Write-Host "Upgrade pip to the latest version available."
|
||||
Run-Executable "$targetDir\python.exe" "-m pip install --upgrade pip"
|
||||
|
||||
# Install python virtual env
|
||||
if (IsProxyEnabled) {
|
||||
$proxy = Get-Proxy
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2019 The Qt Company Ltd.
|
||||
## Copyright (C) 2017 Pelagicore AG
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
@@ -79,6 +79,10 @@ if (IsProxyEnabled) {
|
||||
Write-Host "Using proxy ($proxy) with pip"
|
||||
$pip_args = "--proxy=$proxy"
|
||||
}
|
||||
|
||||
Write-Host "Upgrade pip3 to the latest version available."
|
||||
Run-Executable "$install_path\python.exe" "-m pip install --upgrade pip"
|
||||
|
||||
Run-Executable "$install_path\Scripts\pip3.exe" "$pip_args install virtualenv wheel"
|
||||
|
||||
# Install all needed packages in a special wheel cache directory
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Copyright (C) 2019 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -38,10 +38,10 @@
|
||||
# NOTE! Make sure 64bit versions are always installed before 32bit,
|
||||
# because they use same folder name before a rename
|
||||
|
||||
$version = "6.4.3"
|
||||
$version = "6.5"
|
||||
|
||||
# Qt branch without dot (*.*)
|
||||
$qtBranch = "512x"
|
||||
$qtBranch = "513x"
|
||||
# So far Squish built with Qt5.12 works also with 5.13, but we have to be prepared that on some point
|
||||
# the compatibility breaks, and we may need to have separate Squish packages for different Qt versions.
|
||||
|
||||
@@ -62,18 +62,16 @@ Function DownloadAndInstallSquish {
|
||||
[string]$bit,
|
||||
[string]$squishPackage
|
||||
)
|
||||
# MinGW x86 available only with Qt5.11, to be updated when Squish is supporting 5.13
|
||||
if ("$bit" -eq "win32" -and $squishPackage.StartsWith("mingw")) {
|
||||
$qtBranch = "511x"
|
||||
}
|
||||
$SquishUrl = $squishBranchUrl + "\squish-" + $version + "-qt" + $qtBranch + "-" + $bit + "-" + $squishPackage + ".exe"
|
||||
$SquishUrl = $squishBranchUrl + "\squish-nosignalhandler-" + $version + "-qt" + $qtBranch + "-" + $bit + "-" + $squishPackage + ".exe"
|
||||
$SquishInstaller = "$targetDir\$squishPackage.exe"
|
||||
$SquishParameters = "unattended=1 targetdir=$targetDir\$squishPackage"
|
||||
|
||||
Write-Host "Fetching from URL $squishUrl"
|
||||
Copy-Item "$SquishUrl" "$SquishInstaller"
|
||||
Write-Host "Installing Squish"
|
||||
Run-Executable "$SquishInstaller" "$SquishParameters"
|
||||
$stdoutFile = [System.IO.Path]::GetTempFileName()
|
||||
$stderrFile = [System.IO.Path]::GetTempFileName()
|
||||
Start-Process -FilePath "$SquishInstaller" -Wait -ArgumentList $SquishParameters -PassThru -RedirectStandardOutput $stdoutFile -RedirectStandardError $stderrFile | Out-Null
|
||||
Remove-Item -Path $SquishInstaller
|
||||
if ("$bit" -eq "win64") {
|
||||
if ($squishPackage.StartsWith("mingw")) {
|
||||
|
||||
41
coin/provisioning/common/windows/telegraf-coin.conf
Normal file
41
coin/provisioning/common/windows/telegraf-coin.conf
Normal file
@@ -0,0 +1,41 @@
|
||||
[global_tags]
|
||||
[agent]
|
||||
interval = "10s"
|
||||
round_interval = true
|
||||
metric_batch_size = 100
|
||||
metric_buffer_limit = 10000
|
||||
collection_jitter = "0s"
|
||||
flush_interval = "10s"
|
||||
flush_jitter = "5s"
|
||||
precision = ""
|
||||
logfile = "C:\\telegraf-coin.log"
|
||||
hostname = "$COIN_UNIQUE_JOB_ID"
|
||||
omit_hostname = false
|
||||
[[outputs.influxdb]]
|
||||
urls= ["https://qtinfluxdb01.intra.qt.io:8086"]
|
||||
insecure_skip_verify = true
|
||||
database = "coin_vms"
|
||||
skip_database_creation = true
|
||||
username = "coin_vms_writer"
|
||||
password = "COIN_VMS_WRITER_PASS"
|
||||
[[inputs.cpu]]
|
||||
percpu = true
|
||||
totalcpu = true
|
||||
collect_cpu_time = false
|
||||
report_active = false
|
||||
[[inputs.disk]]
|
||||
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "iso9660", "overlay", "aufs", "squashfs"]
|
||||
[[inputs.diskio]]
|
||||
[[inputs.kernel]]
|
||||
[[inputs.mem]]
|
||||
#[[inputs.processes]]
|
||||
[[inputs.swap]]
|
||||
[[inputs.system]]
|
||||
#[[inputs.kernel_vmstat]] # linux-only
|
||||
[[inputs.netstat]]
|
||||
|
||||
|
||||
# Monitor Coin process
|
||||
[[inputs.procstat]]
|
||||
exe = "coin-"
|
||||
pid_finder = "native"
|
||||
24
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/01-systemsetup.sh → coin/provisioning/common/windows/telegraf_password.ps1
Executable file → Normal file
24
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/01-systemsetup.sh → coin/provisioning/common/windows/telegraf_password.ps1
Executable file → Normal file
@@ -1,8 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2017 The Qt Company Ltd.
|
||||
## Copyright (C) 2019 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -33,14 +31,16 @@
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
set -ex
|
||||
$auth_file = "C:\Users\qt\work\influxdb\coin_vms_writer.auth"
|
||||
|
||||
# shellcheck source=../common/unix/check_and_set_proxy.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh"
|
||||
# Provisioning should run even without the secrets repository
|
||||
if (Test-Path $auth_file) {
|
||||
$auth_content = Get-Content $auth_file
|
||||
$influxdb_password = $auth_content.Substring($auth_content.LastIndexOf(':') + 1)
|
||||
Remove-Item $auth_file
|
||||
} else {
|
||||
$influxdb_password = "no_password_provided"
|
||||
}
|
||||
|
||||
# shellcheck disable=SC2031
|
||||
if [ "$http_proxy" != "" ]; then
|
||||
echo "proxy=$proxy" | sudo tee -a /etc/yum.conf
|
||||
fi
|
||||
|
||||
sudo yum update -y nss curl
|
||||
$telegraf_conf = "C:\telegraf-coin.conf"
|
||||
(Get-Content $telegraf_conf) | ForEach-Object { $_.Replace("COIN_VMS_WRITER_PASS", $influxdb_password) } | Out-File -Encoding UTF8 $telegraf_conf
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
BASEDIR=$(dirname "$0")
|
||||
# shellcheck source=../common/linux/disable-mlocate.sh
|
||||
"$BASEDIR/../common/linux/disable-mlocate.sh"
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# provides: fix for possible bug in the subscription manager
|
||||
# version: provided by RedHat
|
||||
# needed for yum to work properly in case there is incorrect data in
|
||||
# the sslclientkey repository parameter value
|
||||
|
||||
set -ex
|
||||
|
||||
sudo rm -f /etc/pki/entitlement/*
|
||||
sudo subscription-manager refresh
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# provides: odbc devel packages on RHEL
|
||||
# version: provided by default Linux distribution repository
|
||||
# needed for configure -plugin-sql-odbc in qtbase
|
||||
|
||||
set -ex
|
||||
|
||||
sudo yum install -y unixODBC-devel
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
"$(dirname "$0")/../common/linux/cmake_linux.sh"
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
# shellcheck source=../common/unix/install-openssl.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/install-openssl.sh" "linux"
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Required for tqtc-boot2qt/qdb
|
||||
|
||||
set -ex
|
||||
|
||||
sudo yum install -y libusb1-devel
|
||||
@@ -1,74 +0,0 @@
|
||||
#!/usr/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 installs the right ICU version
|
||||
|
||||
set -ex
|
||||
icuVersion="56.1"
|
||||
icuLocation="/usr/lib64"
|
||||
sha1="f2eab775c04ce5f3bdae6c47d06b62158b5d6753"
|
||||
|
||||
function Install7ZPackageFromURL {
|
||||
url=$1
|
||||
expectedSha1=$2
|
||||
targetDirectory=$3
|
||||
|
||||
targetFile=$(mktemp)
|
||||
wget --tries=5 --waitretry=5 --output-document="$targetFile" "$url"
|
||||
echo "$expectedSha1 $targetFile" | sha1sum --check
|
||||
sudo /usr/local/bin/7z x -yo"$targetDirectory" "$targetFile"
|
||||
rm "$targetFile"
|
||||
}
|
||||
|
||||
echo "Installing custom ICU $icuVersion $sha1 packages on RHEL to $icuLocation"
|
||||
|
||||
baseBinaryPackageURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel6.6-x64.7z"
|
||||
Install7ZPackageFromURL "$baseBinaryPackageURL" "$sha1" "/usr/lib64"
|
||||
|
||||
echo "Installing custom ICU devel packages on RHEL"
|
||||
|
||||
sha1Dev="82f8b216371b848b8d36ecec7fe7b6e9b0dba0df"
|
||||
develPackageURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel6.6-x64-devel.7z"
|
||||
tempDir=$(mktemp -d)
|
||||
# shellcheck disable=SC2064
|
||||
trap "sudo rm -fr $tempDir" EXIT
|
||||
Install7ZPackageFromURL "$develPackageURL" "$sha1Dev" "$tempDir"
|
||||
sudo cp -a "$tempDir/lib"/* /usr/lib64
|
||||
sudo cp -a "$tempDir"/* /usr/
|
||||
|
||||
sudo /sbin/ldconfig
|
||||
|
||||
# Storage version information to ~/versions.txt, which is used to print version information to provision log.
|
||||
echo "ICU = $icuVersion" >> ~/versions.txt
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2018 The Qt Company Ltd.
|
||||
## Copyright (C) 2019 The Qt Company Ltd.
|
||||
## Contact: http://www.qt.io/licensing/
|
||||
##
|
||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||
@@ -35,12 +35,5 @@
|
||||
|
||||
set -ex
|
||||
|
||||
installPackages=()
|
||||
|
||||
# For Jenkins
|
||||
installPackages+=(java-1.8.0-openjdk-devel)
|
||||
# For Qt Creator
|
||||
installPackages+=(openssl-devel)
|
||||
|
||||
sudo yum -y install "${installPackages[@]}"
|
||||
|
||||
# shellcheck source=../common/unix/python-modules.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/python-modules.sh"
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user