mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-09 08:26:34 +08:00
Compare commits
61 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
808f63250c | ||
|
|
a4dd97eb2d | ||
|
|
6a564e2ca7 | ||
|
|
3597addab2 | ||
|
|
39e71874c6 | ||
|
|
f03a47caad | ||
|
|
8d51a12667 | ||
|
|
4588fcb542 | ||
|
|
74d6db944a | ||
|
|
b6707952cd | ||
|
|
4b88657d9a | ||
|
|
ba16228de4 | ||
|
|
4ed7ed6920 | ||
|
|
9a31ac4792 | ||
|
|
3421cc61c1 | ||
|
|
6165dbbe3a | ||
|
|
381dd1233b | ||
|
|
44877587a9 | ||
|
|
2e8d07be10 | ||
|
|
227129971b | ||
|
|
e422959b72 | ||
|
|
4266bba080 | ||
|
|
49327b053c | ||
|
|
8ed3ca4015 | ||
|
|
44cf97b06f | ||
|
|
b9af6ca0a2 | ||
|
|
401785e168 | ||
|
|
9ef28bdc83 | ||
|
|
9b481175c4 | ||
|
|
e4447d0b55 | ||
|
|
ba9e54417e | ||
|
|
38f519ed1b | ||
|
|
0b5f41537b | ||
|
|
d5e5ab121e | ||
|
|
e3b200d728 | ||
|
|
ef743be7f3 | ||
|
|
590cad6793 | ||
|
|
891880425a | ||
|
|
cb9d0b0c12 | ||
|
|
b3c088d680 | ||
|
|
f65288d120 | ||
|
|
29d9e74435 | ||
|
|
c289dd100e | ||
|
|
5cdbd915a4 | ||
|
|
78efd7bf10 | ||
|
|
5bec50ae9b | ||
|
|
ad1c93e955 | ||
|
|
1231ca784d | ||
|
|
2bde49c335 | ||
|
|
1b254c32f0 | ||
|
|
237c75fb2b | ||
|
|
7a3e084a4a | ||
|
|
c72f195cba | ||
|
|
dc84684e45 | ||
|
|
3f16ecb328 | ||
|
|
ce9f86f287 | ||
|
|
5e4de74c32 | ||
|
|
d7507263ed | ||
|
|
302d467c59 | ||
|
|
b44fb996e6 | ||
|
|
95e77687a0 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,3 +2,4 @@ Makefile
|
|||||||
.qmake.cache
|
.qmake.cache
|
||||||
.qmake.super
|
.qmake.super
|
||||||
*.pro.user*
|
*.pro.user*
|
||||||
|
CMakeUserPresets.json
|
||||||
|
|||||||
84
.gitmodules
vendored
84
.gitmodules
vendored
@@ -1,40 +1,40 @@
|
|||||||
[submodule "qtbase"]
|
[submodule "qtbase"]
|
||||||
path = qtbase
|
path = qtbase
|
||||||
url = ../qtbase.git
|
url = ../qtbase.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtsvg"]
|
[submodule "qtsvg"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtsvg
|
path = qtsvg
|
||||||
url = ../qtsvg.git
|
url = ../qtsvg.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtdeclarative"]
|
[submodule "qtdeclarative"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtimageformats qtshadertools qtsvg qtlanguageserver
|
recommends = qtimageformats qtshadertools qtsvg qtlanguageserver
|
||||||
path = qtdeclarative
|
path = qtdeclarative
|
||||||
url = ../qtdeclarative.git
|
url = ../qtdeclarative.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtactiveqt"]
|
[submodule "qtactiveqt"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtactiveqt
|
path = qtactiveqt
|
||||||
url = ../qtactiveqt.git
|
url = ../qtactiveqt.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtmultimedia"]
|
[submodule "qtmultimedia"]
|
||||||
depends = qtbase qtshadertools
|
depends = qtbase qtshadertools
|
||||||
recommends = qtdeclarative qtquick3d
|
recommends = qtdeclarative qtquick3d
|
||||||
path = qtmultimedia
|
path = qtmultimedia
|
||||||
url = ../qtmultimedia.git
|
url = ../qtmultimedia.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qttools"]
|
[submodule "qttools"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtactiveqt
|
recommends = qtdeclarative qtactiveqt
|
||||||
path = qttools
|
path = qttools
|
||||||
url = ../qttools.git
|
url = ../qttools.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtxmlpatterns"]
|
[submodule "qtxmlpatterns"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
@@ -47,15 +47,15 @@
|
|||||||
depends = qttools
|
depends = qttools
|
||||||
path = qttranslations
|
path = qttranslations
|
||||||
url = ../qttranslations.git
|
url = ../qttranslations.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = essential
|
status = essential
|
||||||
priority = 30
|
priority = 30
|
||||||
[submodule "qtdoc"]
|
[submodule "qtdoc"]
|
||||||
depends = qtdeclarative qttools
|
depends = qtdeclarative qttools
|
||||||
recommends = qtmultimedia
|
recommends = qtmultimedia qtshadertools qtwebengine
|
||||||
path = qtdoc
|
path = qtdoc
|
||||||
url = ../qtdoc.git
|
url = ../qtdoc.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = essential
|
status = essential
|
||||||
priority = 40
|
priority = 40
|
||||||
[submodule "qtrepotools"]
|
[submodule "qtrepotools"]
|
||||||
@@ -76,21 +76,21 @@
|
|||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtlocation
|
path = qtlocation
|
||||||
url = ../qtlocation.git
|
url = ../qtlocation.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = preview
|
status = preview
|
||||||
[submodule "qtpositioning"]
|
[submodule "qtpositioning"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtserialport
|
recommends = qtdeclarative qtserialport
|
||||||
path = qtpositioning
|
path = qtpositioning
|
||||||
url = ../qtpositioning.git
|
url = ../qtpositioning.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtsensors"]
|
[submodule "qtsensors"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtsensors
|
path = qtsensors
|
||||||
url = ../qtsensors.git
|
url = ../qtsensors.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtsystems"]
|
[submodule "qtsystems"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
@@ -117,61 +117,61 @@
|
|||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtconnectivity
|
path = qtconnectivity
|
||||||
url = ../qtconnectivity.git
|
url = ../qtconnectivity.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwayland"]
|
[submodule "qtwayland"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtwayland
|
path = qtwayland
|
||||||
url = ../qtwayland.git
|
url = ../qtwayland.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qt3d"]
|
[submodule "qt3d"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtshadertools
|
recommends = qtdeclarative qtshadertools
|
||||||
path = qt3d
|
path = qt3d
|
||||||
url = ../qt3d.git
|
url = ../qt3d.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtimageformats"]
|
[submodule "qtimageformats"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtimageformats
|
path = qtimageformats
|
||||||
url = ../qtimageformats.git
|
url = ../qtimageformats.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtserialbus"]
|
[submodule "qtserialbus"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtserialport
|
recommends = qtserialport
|
||||||
path = qtserialbus
|
path = qtserialbus
|
||||||
url = ../qtserialbus.git
|
url = ../qtserialbus.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtserialport"]
|
[submodule "qtserialport"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtserialport
|
path = qtserialport
|
||||||
url = ../qtserialport.git
|
url = ../qtserialport.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebsockets"]
|
[submodule "qtwebsockets"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtwebsockets
|
path = qtwebsockets
|
||||||
url = ../qtwebsockets.git
|
url = ../qtwebsockets.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebchannel"]
|
[submodule "qtwebchannel"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtwebsockets
|
recommends = qtdeclarative qtwebsockets
|
||||||
path = qtwebchannel
|
path = qtwebchannel
|
||||||
url = ../qtwebchannel.git
|
url = ../qtwebchannel.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebengine"]
|
[submodule "qtwebengine"]
|
||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
recommends = qtwebchannel qttools qtpositioning
|
recommends = qtwebchannel qttools qtpositioning
|
||||||
path = qtwebengine
|
path = qtwebengine
|
||||||
url = ../qtwebengine.git
|
url = ../qtwebengine.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
priority = 10
|
priority = 10
|
||||||
[submodule "qtcanvas3d"]
|
[submodule "qtcanvas3d"]
|
||||||
@@ -185,28 +185,28 @@
|
|||||||
recommends = qtwebengine
|
recommends = qtwebengine
|
||||||
path = qtwebview
|
path = qtwebview
|
||||||
url = ../qtwebview.git
|
url = ../qtwebview.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtcharts"]
|
[submodule "qtcharts"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtmultimedia
|
recommends = qtdeclarative qtmultimedia
|
||||||
path = qtcharts
|
path = qtcharts
|
||||||
url = ../qtcharts.git
|
url = ../qtcharts.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtdatavis3d"]
|
[submodule "qtdatavis3d"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtmultimedia
|
recommends = qtdeclarative qtmultimedia
|
||||||
path = qtdatavis3d
|
path = qtdatavis3d
|
||||||
url = ../qtdatavis3d.git
|
url = ../qtdatavis3d.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtvirtualkeyboard"]
|
[submodule "qtvirtualkeyboard"]
|
||||||
depends = qtbase qtdeclarative qtsvg
|
depends = qtbase qtdeclarative qtsvg
|
||||||
recommends = qtmultimedia
|
recommends = qtmultimedia
|
||||||
path = qtvirtualkeyboard
|
path = qtvirtualkeyboard
|
||||||
url = ../qtvirtualkeyboard.git
|
url = ../qtvirtualkeyboard.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtgamepad"]
|
[submodule "qtgamepad"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
@@ -219,27 +219,27 @@
|
|||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
path = qtscxml
|
path = qtscxml
|
||||||
url = ../qtscxml.git
|
url = ../qtscxml.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtspeech"]
|
[submodule "qtspeech"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtmultimedia
|
recommends = qtdeclarative qtmultimedia
|
||||||
path = qtspeech
|
path = qtspeech
|
||||||
url = ../qtspeech.git
|
url = ../qtspeech.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtnetworkauth"]
|
[submodule "qtnetworkauth"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtnetworkauth
|
path = qtnetworkauth
|
||||||
url = ../qtnetworkauth.git
|
url = ../qtnetworkauth.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtremoteobjects"]
|
[submodule "qtremoteobjects"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtremoteobjects
|
path = qtremoteobjects
|
||||||
url = ../qtremoteobjects.git
|
url = ../qtremoteobjects.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebglplugin"]
|
[submodule "qtwebglplugin"]
|
||||||
depends = qtbase qtwebsockets
|
depends = qtbase qtwebsockets
|
||||||
@@ -252,80 +252,80 @@
|
|||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
path = qtlottie
|
path = qtlottie
|
||||||
url = ../qtlottie.git
|
url = ../qtlottie.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtquicktimeline"]
|
[submodule "qtquicktimeline"]
|
||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
path = qtquicktimeline
|
path = qtquicktimeline
|
||||||
url = ../qtquicktimeline
|
url = ../qtquicktimeline
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtquick3d"]
|
[submodule "qtquick3d"]
|
||||||
depends = qtbase qtdeclarative qtshadertools
|
depends = qtbase qtdeclarative qtshadertools
|
||||||
recommends = qtquicktimeline
|
recommends = qtquicktimeline
|
||||||
path = qtquick3d
|
path = qtquick3d
|
||||||
url = ../qtquick3d.git
|
url = ../qtquick3d.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtshadertools"]
|
[submodule "qtshadertools"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtshadertools
|
path = qtshadertools
|
||||||
url = ../qtshadertools.git
|
url = ../qtshadertools.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qt5compat"]
|
[submodule "qt5compat"]
|
||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
path = qt5compat
|
path = qt5compat
|
||||||
url = ../qt5compat.git
|
url = ../qt5compat.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = deprecated
|
status = deprecated
|
||||||
[submodule "qtcoap"]
|
[submodule "qtcoap"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtcoap
|
path = qtcoap
|
||||||
url = ../qtcoap.git
|
url = ../qtcoap.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtmqtt"]
|
[submodule "qtmqtt"]
|
||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
path = qtmqtt
|
path = qtmqtt
|
||||||
url = ../qtmqtt.git
|
url = ../qtmqtt.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtopcua"]
|
[submodule "qtopcua"]
|
||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
path = qtopcua
|
path = qtopcua
|
||||||
url = ../qtopcua.git
|
url = ../qtopcua.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtlanguageserver"]
|
[submodule "qtlanguageserver"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtlanguageserver
|
path = qtlanguageserver
|
||||||
url = ../qtlanguageserver.git
|
url = ../qtlanguageserver.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = preview
|
status = preview
|
||||||
[submodule "qthttpserver"]
|
[submodule "qthttpserver"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtwebsockets
|
recommends = qtwebsockets
|
||||||
path = qthttpserver
|
path = qthttpserver
|
||||||
url = ../qthttpserver.git
|
url = ../qthttpserver.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = preview
|
status = preview
|
||||||
[submodule "qtquick3dphysics"]
|
[submodule "qtquick3dphysics"]
|
||||||
depends = qtbase qtdeclarative qtquick3d qtshadertools
|
depends = qtbase qtdeclarative qtquick3d qtshadertools
|
||||||
path = qtquick3dphysics
|
path = qtquick3dphysics
|
||||||
url = ../qtquick3dphysics.git
|
url = ../qtquick3dphysics.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtgrpc"]
|
[submodule "qtgrpc"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtgrpc
|
path = qtgrpc
|
||||||
url = ../qtgrpc.git
|
url = ../qtgrpc.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = preview
|
status = preview
|
||||||
[submodule "qtquickeffectmaker"]
|
[submodule "qtquickeffectmaker"]
|
||||||
depends = qtbase qtdeclarative qtshadertools
|
depends = qtbase qtdeclarative qtshadertools
|
||||||
recommends = qtquick3d
|
recommends = qtquick3d
|
||||||
path = qtquickeffectmaker
|
path = qtquickeffectmaker
|
||||||
url = ../qtquickeffectmaker.git
|
url = ../qtquickeffectmaker.git
|
||||||
branch = 6.5.0
|
branch = 6.5.2
|
||||||
status = addon
|
status = addon
|
||||||
|
|||||||
@@ -52,6 +52,15 @@ if(NOT QT_BUILD_SUBMODULES)
|
|||||||
endif()
|
endif()
|
||||||
set(QT_BUILD_SUBMODULES "${QT_BUILD_SUBMODULES}" CACHE STRING "Submodules to build")
|
set(QT_BUILD_SUBMODULES "${QT_BUILD_SUBMODULES}" CACHE STRING "Submodules to build")
|
||||||
|
|
||||||
|
foreach(module IN LISTS QT_BUILD_SUBMODULES)
|
||||||
|
if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${module}/CMakeLists.txt)
|
||||||
|
message(FATAL_ERROR
|
||||||
|
"Module '${module}' cannot be found. Please double-check the "
|
||||||
|
"spelling and try again. Or run `./init-repository` to get "
|
||||||
|
"the submodules.")
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
qt_internal_sort_module_dependencies("${QT_BUILD_SUBMODULES}" QT_BUILD_SUBMODULES)
|
qt_internal_sort_module_dependencies("${QT_BUILD_SUBMODULES}" QT_BUILD_SUBMODULES)
|
||||||
|
|
||||||
foreach(module IN LISTS QT_BUILD_SUBMODULES)
|
foreach(module IN LISTS QT_BUILD_SUBMODULES)
|
||||||
|
|||||||
@@ -1061,6 +1061,7 @@ The Agreement includes following Appendices 1-10, as applicable.
|
|||||||
- Appendix 8: Intentionally left blank (optional)
|
- Appendix 8: Intentionally left blank (optional)
|
||||||
- Appendix 9: Support Terms
|
- Appendix 9: Support Terms
|
||||||
- Appendix 10: Conversion from legacy Licenses to Subscription (optional)
|
- Appendix 10: Conversion from legacy Licenses to Subscription (optional)
|
||||||
|
- Appendix 11: TERMS OF USE - QT INSIGHT TRACKER LIBRARY
|
||||||
|
|
||||||
|
|
||||||
APPENDIX 1: LICENSED SOFTWARE
|
APPENDIX 1: LICENSED SOFTWARE
|
||||||
@@ -1252,7 +1253,7 @@ only ("Redistributables") are marked with "R" in the below table.
|
|||||||
+----------------------------------------------------------+
|
+----------------------------------------------------------+
|
||||||
| Device Utilities | | | X,R | X,R |
|
| Device Utilities | | | X,R | X,R |
|
||||||
+----------------------------------------------------------+
|
+----------------------------------------------------------+
|
||||||
| Qt Debugging Bridge (QBD) Daemon | | | X,R | X,R |
|
| Qt Debugging Bridge (QDB) Daemon | | | X,R | X,R |
|
||||||
+----------------------------------------------------------+
|
+----------------------------------------------------------+
|
||||||
| Qt Quick Ultralite Controls | | | X,R | X,R |
|
| Qt Quick Ultralite Controls | | | X,R | X,R |
|
||||||
+----------------------------------------------------------+
|
+----------------------------------------------------------+
|
||||||
@@ -1668,116 +1669,152 @@ Content Format and Channel as mentioned in paragraph 3 and 4.
|
|||||||
APPENDIX 8: INTENTIONALLY LEFT BLANK
|
APPENDIX 8: INTENTIONALLY LEFT BLANK
|
||||||
|
|
||||||
APPENDIX 9: SUPPORT TERMS
|
APPENDIX 9: SUPPORT TERMS
|
||||||
|
Version 2023-04
|
||||||
|
|
||||||
These Qt support terms and conditions ("Support Terms") set forth the legal
|
These Qt support terms and conditions (“Support Terms”) set forth the legal
|
||||||
framework, where under The Qt Company ("The Qt Company") provides support
|
framework, where under The Qt Company (“The Qt Company”) provides support
|
||||||
services (as herein defined) to the Licensee.
|
services (as herein defined) to the Licensee.
|
||||||
|
|
||||||
1 DEFINITIONS
|
1 DEFINITIONS
|
||||||
|
|
||||||
"Application Code" shall mean a computer software program written strictly
|
“Application Code” shall mean a computer software program written strictly
|
||||||
using the Qt programming language, by or for the Licensee, with a user
|
using the Qt programming language, by or for the Licensee, with a user
|
||||||
interface, enabling the Licensee or their users to accomplish a specific task
|
interface, enabling the Licensee or their users to accomplish a specific task
|
||||||
and display any results of the task on the display monitor or screen.
|
and display any results of the task on the display monitor or screen.
|
||||||
|
|
||||||
"Dedicated Contact" shall mean the employee of The Qt Company who will be the
|
“Customer Portal” shall mean The Qt Company’s web-based service and support
|
||||||
first point of contact for all Designated Users' requests for Support.
|
user interface located at https://account.qt.io/ or at another location
|
||||||
|
designated by The Qt Company. Customer Portal is used by a Designated User with
|
||||||
|
Qt Account, and it provides downloads, license management, license certificate
|
||||||
|
and other services for Designated Users.
|
||||||
|
|
||||||
"Errors" shall mean an error, flaw, mistake, failure, or fault in Licensed
|
“Dedicated Contact” shall mean the employee of The Qt Company who will be the
|
||||||
|
first point of contact for all Designated Users’ requests for Support.
|
||||||
|
|
||||||
|
“Errors” shall mean an error, flaw, mistake, failure, or fault in Licensed
|
||||||
Software that prevents it from behaving as described in the relevant
|
Software that prevents it from behaving as described in the relevant
|
||||||
documentation or as agreed between the Parties.
|
documentation or as agreed between the Parties. Designated User can follow the
|
||||||
|
state and progress of Errors in Customer Portal.
|
||||||
|
|
||||||
"Extended Support" shall mean a continuation to the normal Support period,
|
“Extended Support” shall mean a continuation to the normal Support period,
|
||||||
which allows Designated Users to receive selected Support (Standard Support or
|
which allows Designated Users to receive selected Support (Standard Support or
|
||||||
Premium Support) for a version of Licensed Software that is no longer generally
|
Premium Support) for a version of Licensed Software that is no longer generally
|
||||||
supported by The Qt Company.
|
supported by The Qt Company.
|
||||||
|
|
||||||
"Install Support" shall mean Support that is limited to installation related
|
”Install Support” shall mean Support that is limited to installation-related
|
||||||
Error(s) on Development Platforms specified as supported host platforms for
|
Error(s) on Development Platforms specified as supported host platforms for
|
||||||
each Qt release under doc.qt.io.
|
each Qt release under doc.qt.io. Install Support covers also operational use of
|
||||||
|
the QA Tools, but not operational use of Qt Software.
|
||||||
|
|
||||||
"Maintenance Release" shall mean a release or version of Licensed Software
|
“Maintenance Release” shall mean a release or version of Licensed Software
|
||||||
containing bug fixes, error corrections and other changes targeted to
|
containing bug fixes, error corrections and other changes targeted to
|
||||||
maintaining and improving product stability and quality. Maintenance Releases
|
maintaining and improving product stability and quality. Maintenance Releases
|
||||||
are generally depicted as a change to the third digit of Licensed Software
|
are generally depicted as a change to the third digit of Licensed Software
|
||||||
version number.
|
version number.
|
||||||
|
|
||||||
"Platforms" shall mean both Development Platforms and Deployment Platforms.
|
“Platforms” shall mean both Development Platforms and Deployment Platforms.
|
||||||
Supported host and target Platforms may vary from for each Qt release as
|
Supported host and target Platforms may vary from for each Qt release as
|
||||||
defined under doc.qt.io.
|
defined under doc.qt.io.
|
||||||
|
|
||||||
"Premium Support" shall mean an upgraded level of Support that The Qt Company
|
“Premium Support” shall mean an upgraded level of Support that The Qt Company
|
||||||
provides pursuant to these Support Terms to Licensee if Licensee has purchased
|
provides pursuant to these Support Terms to Licensee if Licensee has purchased
|
||||||
Premium Support instead of Standard Support. Premium Support shall always be
|
Premium Support instead of Standard Support. Premium Support also covers what
|
||||||
purchased for all Designated User(s) in the respective development team of the
|
is included in Standard Support. Premium Support shall always be purchased for
|
||||||
Licensee.
|
all Designated User(s) in the respective development team of the Licensee.
|
||||||
|
|
||||||
"Response Time" shall mean the period of time from when Licensee notifies
|
“Qt Account” shall mean the Qt Account for a Designated User used for using Qt
|
||||||
TheQt Company about an Error or requests Support until The Qt Company provides
|
services and Customer Portal. A Qt Account is mapped to the Licensee company
|
||||||
|
with the corporate email domain or domains.
|
||||||
|
|
||||||
|
”Qualification Kit” shall mean a set of documents and validation test cases
|
||||||
|
used for product certification needs as defined in section 2.6.
|
||||||
|
|
||||||
|
“Response Time” shall mean the period of time from when Licensee notifies The
|
||||||
|
Qt Company about an Error or requests Support until The Qt Company provides
|
||||||
Licensee with a response that addresses (but not necessarily resolves) the
|
Licensee with a response that addresses (but not necessarily resolves) the
|
||||||
reported Error or provides the requested Support.
|
reported Error or provides the requested Support.
|
||||||
|
|
||||||
"Standard Support" shall mean standard level of Support that The Qt Company
|
“Standard Support” shall mean standard level of Support that The Qt Company
|
||||||
provides pursuant to these Support Terms to Licensee.
|
provides pursuant to these Support Terms to Licensee. Standard Support also
|
||||||
|
covers what is included in Install Support.
|
||||||
|
|
||||||
"Support" shall mean developer assistance that is provided by The Qt Company
|
“Security Issue” shall mean an Error that may cause a vulnerability in a system
|
||||||
to assist eligible Designated Users in Licensed Software installation, usage
|
or application that uses the Licensed Software.
|
||||||
and functionality problem resolution for Error(s) and Error workarounds
|
|
||||||
pursuant to the terms of these Support Terms. Support for different products is
|
|
||||||
available as specified in the below table ("X" marking the Support that is
|
|
||||||
included in the license price, optional Add-on Support services are marked as
|
|
||||||
"O"):
|
|
||||||
|
|
||||||
+-----------------------------------------------------------------------+
|
“Support” shall mean developer assistance that is provided by The Qt Company to
|
||||||
| |ADP|ADE|DCP|DCE|DSP|DSE|Squish|Coco|Test Center|
|
assist eligible Designated Users in Licensed Software installation, usage and
|
||||||
+-----------------------------------------------------------------------+
|
functionality problem resolution for Error(s) and Error workarounds pursuant to
|
||||||
| Install Support | X | X | X | X | X | X | X | X | X |
|
the terms of these Support Terms. Support for different products is available
|
||||||
+-----------------------------------------------------------------------+
|
as specified in the below table (‘X’ marking the Support that is included in
|
||||||
| Standard Support | | X | X | X | X | X | X | X | X |
|
the license price, optional Add-on Support services are marked as ‘O’):
|
||||||
+-----------------------------------------------------------------------+
|
|
||||||
| Premium Support | | O | O | O | O | O | O | O | O |
|
|
||||||
+-----------------------------------------------------------------------+
|
|
||||||
| Extended Support | | O | O | O | O | O | | | |
|
|
||||||
+-----------------------------------------------------------------------+
|
|
||||||
| Tool Qualification Kit| | | | | | | O | O | |
|
|
||||||
+-----------------------------------------------------------------------+
|
|
||||||
|
|
||||||
"Support Validity Term" shall mean the Development License Term or any other
|
+-----------------------------------------------------------------------------+
|
||||||
fixed time period agreed between the Parties during which time the Customer is
|
| | Install| Standard| Premium| Extended| Qualification|
|
||||||
|
| | Support| Support | Support| Support | Kit |
|
||||||
|
+-----------------------------------------------------------------------------+
|
||||||
|
| DSP | X | X | O | O | |
|
||||||
|
+-----------------------------------------------------------------------------+
|
||||||
|
| DSE | X | X | O | O | |
|
||||||
|
+-----------------------------------------------------------------------------+
|
||||||
|
| ADP | X | | | | |
|
||||||
|
+-----------------------------------------------------------------------------+
|
||||||
|
| ADE | X | X | O | O | |
|
||||||
|
+-----------------------------------------------------------------------------+
|
||||||
|
| DCP | X | X | O | O | |
|
||||||
|
+-----------------------------------------------------------------------------+
|
||||||
|
| DCE | X | X | O | O | |
|
||||||
|
+-----------------------------------------------------------------------------+
|
||||||
|
| Squish | X | X | O | | O |
|
||||||
|
+-----------------------------------------------------------------------------+
|
||||||
|
| Coco | X | X | O | | O |
|
||||||
|
+-----------------------------------------------------------------------------+
|
||||||
|
| Test Center | X | X | O | | O |
|
||||||
|
+-----------------------------------------------------------------------------+
|
||||||
|
| Axivion Suite | X | X | | | |
|
||||||
|
+-----------------------------------------------------------------------------+
|
||||||
|
| Architecture Analysis | X | X | | | |
|
||||||
|
+-----------------------------------------------------------------------------+
|
||||||
|
| Static Code Analysis | X | X | | | |
|
||||||
|
+-----------------------------------------------------------------------------+
|
||||||
|
| Static Coverage | X | X | | | |
|
||||||
|
| Analysis Professional | | | | | |
|
||||||
|
+-----------------------------------------------------------------------------+
|
||||||
|
| Qt Insight | | X | | | |
|
||||||
|
+-----------------------------------------------------------------------------+
|
||||||
|
|
||||||
|
“Support Validity Term” shall mean the Development License Term or any other
|
||||||
|
fixed time period agreed between the Parties during which time the Licensee is
|
||||||
eligible to receive Support from The Qt Company.
|
eligible to receive Support from The Qt Company.
|
||||||
|
|
||||||
"Tool Qualification Kit" shall mean a customized set of documents and
|
|
||||||
validation test cases.
|
|
||||||
|
|
||||||
2 SUPPORT SERVICES
|
2 SUPPORT SERVICES
|
||||||
|
|
||||||
2.1 Support Services Provided by The Qt Company
|
2.1 Support Services Provided by The Qt Company
|
||||||
|
|
||||||
Subject to these Support Terms and during the Support Validity Term, The Qt
|
Subject to these Support Terms and during the Support Validity Term, The Qt
|
||||||
Company will via its web-based support user-interface, provide Designated
|
Company will via its Customer Portal, provide Designated User(s) with Support
|
||||||
User(s) with Support for the Platforms which Customer has licensed under the
|
for the Licensed Software which Licensee has licensed under the Agreement. The
|
||||||
Agreement.
|
Qt Company will make commercially reasonable efforts to solve any Errors
|
||||||
The Qt Company will make commercially reasonable efforts to solve any Errors
|
reported by Designated User(s). Resolution of an Error may be provided through
|
||||||
reported by Designated User(s). Resolution of an Error may be provided through
|
|
||||||
Designated User(s) themselves downloading of a later released version of the
|
Designated User(s) themselves downloading of a later released version of the
|
||||||
applicable Licensed Software product(s) or providing the Designated User with a
|
applicable Licensed Software product(s) or providing the Designated User with a
|
||||||
temporary workaround addressing such Error.
|
workaround addressing such Error or providing the Designated User with an
|
||||||
|
updated tool configuration.
|
||||||
|
|
||||||
2.2 Licensee's Obligations
|
2.2 Licensee's Obligations
|
||||||
|
|
||||||
To report an Error, the Designated User shall register the Error on The Qt
|
To report an Error, the Designated User shall register the Error on the
|
||||||
Company's web-based support user interface located at:
|
Customer Portal. If the Designated User considers the reported Error to be a
|
||||||
https://account.qt.io/login or at another location designated by The Qt Company.
|
Security Issue, the Error shall be marked as a Security Issue.
|
||||||
|
|
||||||
The Designated User must provide adequate information and documentation to The
|
The Designated User must provide adequate information and documentation to The
|
||||||
Qt Company to enable it to recreate the Error or problem for which the
|
Qt Company to enable it to recreate the Error or problem for which the
|
||||||
Designated User has sought assistance.
|
Designated User has sought assistance. To ensure efficient handling of Errors,
|
||||||
To ensure efficient handling of Errors, the Designated User must provide the
|
the Designated User must provide the following information, where relevant:
|
||||||
following information, where relevant:
|
|
||||||
- A clear, detailed description of the problem, question or suggestion;
|
- A clear, detailed description of the problem, question or suggestion;
|
||||||
- Identification of which Licensed Software product and version is affected;
|
- Identification of which Licensed Software product and version is affected;
|
||||||
- Identification of the operating environment (e.g. operating system, hardware
|
- Identification of the operating environment (e.g. operating system, hardware
|
||||||
Platform, build tools, etc.) on which the problem exists;
|
Platform, build tools, tool configuration, etc.) on which the problem exists;
|
||||||
|
- Marking the issue as a Security Issue, when reporting a Security Issue;
|
||||||
- On Standard Support: A complete and compilable test case of not more than 500
|
- On Standard Support: A complete and compilable test case of not more than 500
|
||||||
lines of code that demonstrates the problem;
|
lines of code that demonstrates the problem;
|
||||||
- On Premium Support: A complete and compilable test case that demonstrates the
|
- On Premium Support: A complete and compilable test case that demonstrates the
|
||||||
@@ -1799,29 +1836,30 @@ General limitations:
|
|||||||
|
|
||||||
Each version or release of the Licensed Software will be Supported under
|
Each version or release of the Licensed Software will be Supported under
|
||||||
Standard Support or Premium Support only for limited time period as set forth
|
Standard Support or Premium Support only for limited time period as set forth
|
||||||
in doc.qt.io. For example, regular releases of Qt Software are supported for
|
in doc.qt.io or in documentation provided with the respective Licensed Software
|
||||||
one (1) year from the release date of the version x.y.0 and Long Term Support
|
product. If nothing is documented, a release of Licensed Software is supported
|
||||||
(LTS) Releases are supported for a period of three (3) years from the release
|
for one (1) year from the release date of the version x.y.0 and Long Term
|
||||||
date of the LTS version x.y.0.
|
Support (LTS) Releases are supported for a period of three (3) years from the
|
||||||
|
release date of the LTS version x.y.0.
|
||||||
|
|
||||||
The Qt Company shall only provide Support for Designated User(s).
|
The Qt Company shall only provide Support for Designated User(s) through
|
||||||
|
Customer Portal.Support is made available for the entire development teams
|
||||||
Support is made available for the entire development teams only: It is not
|
only: It is not allowed to purchase Support only for some members of the
|
||||||
allowed to purchase Support only for some members of the development team, and
|
development team, and all Designated Users of the respective development team
|
||||||
all Designated Users of the respective development team must be eligible for
|
must be eligible for the same level of Support.
|
||||||
the same level of Support.
|
|
||||||
|
|
||||||
Support is not provided for snapshots, preview releases, beta releases or
|
Support is not provided for snapshots, preview releases, beta releases or
|
||||||
release candidates.
|
release candidates.
|
||||||
|
|
||||||
The Qt Company shall have no obligation to provide Support for hardware or
|
The Qt Company shall have no obligation to provide Support for 3rd party
|
||||||
operating system specific problems or problems arising from improper use,
|
components, hardware or operating system specific problems or problems arising
|
||||||
accident, neglect or modification of Qt.
|
from improper use, accident, neglect, or modification of Qt.
|
||||||
|
|
||||||
Limitations with Install Support:
|
Limitations with Install Support:
|
||||||
|
|
||||||
Support limited to Error(s) regarding installation and setting up of the Qt
|
Support limited to (i) Error(s) regarding installation and setting up of the Qt
|
||||||
development environment on host Platforms.
|
development environment on host Platforms, or (ii) Errors impacting operational
|
||||||
|
use of the QA Tools.
|
||||||
|
|
||||||
Limitations with Standard Support:
|
Limitations with Standard Support:
|
||||||
|
|
||||||
@@ -1847,31 +1885,60 @@ will make commercially reasonable efforts to provide a solution on closest
|
|||||||
corresponding supported Platform.
|
corresponding supported Platform.
|
||||||
|
|
||||||
Premium Support is optional and purchased for an agreed bucket of hours
|
Premium Support is optional and purchased for an agreed bucket of hours
|
||||||
("Bucket"). Hours can be used by any Designated User in the respective
|
(“Bucket”). Hours can be used by any Designated User in the respective
|
||||||
development team. To encourage continuous usage of the Support, ten percent
|
development team. To encourage continuous usage of the Support, ten percent
|
||||||
(10%) of the purchased Bucket shall automatically expire (regardless of whether
|
(10%) of the purchased Bucket shall automatically expire (regardless of whether
|
||||||
such support hours are actually used or not by the Licensee) each month after
|
such support hours are actually used or not by the Licensee) each month after
|
||||||
three (3) months from the purchase of the Premium Support.
|
three (3) months from the purchase of the Premium Support.
|
||||||
|
|
||||||
2.4 Extended Support
|
2.4 Handling of Security Issues
|
||||||
|
|
||||||
|
The reported Errors marked as Security Issues will be assessed by experts to
|
||||||
|
determine the severity of the issue and to verify if it indeed is a valid
|
||||||
|
Security Issue. The Designated User who reported the issue may be contacted for
|
||||||
|
more details. If the reported issue is not deemed to be a Security Issue, it
|
||||||
|
will be treated as a normal Error and handled accordingly.
|
||||||
|
|
||||||
|
A verified Security Issue will be fixed as soon as possible. Qt Company will
|
||||||
|
notify all Licensees via appropriate channels about the Security Errors and
|
||||||
|
availability of patches for Licensed Software. Typically, a fix for the
|
||||||
|
Security Issue is included in the next Maintenance Release of Licensed
|
||||||
|
Software.
|
||||||
|
|
||||||
|
If the Security Issue is reported in a third-party library used in Licensed
|
||||||
|
Software, The Qt Company will notify the relevant third party of such Security
|
||||||
|
Issue detected in their library. When the Security Issue is fixed in the
|
||||||
|
third-party library, the new version of the third-party library will be in the
|
||||||
|
next feasible Maintenance Release of the Licensed Software. If a fixed version
|
||||||
|
of the third-party library is not available, The Qt Company may instead decide
|
||||||
|
to include documentation regarding the issue, or a patch for this third-party
|
||||||
|
library.
|
||||||
|
|
||||||
|
All known Security Issues in Licensed Software will be mentioned as part of the
|
||||||
|
change notes released with each version of Licensed Software.
|
||||||
|
|
||||||
|
2.5 Extended Support
|
||||||
|
|
||||||
Extended Support extends the Support Validity Term for a release of Licensed
|
Extended Support extends the Support Validity Term for a release of Licensed
|
||||||
Software that is no longer generally supported.
|
Software that is no longer generally supported.
|
||||||
|
|
||||||
Extended Support includes and is by default provided with Standard Support
|
Extended Support includes and is by default provided with Standard Support
|
||||||
rules and limitations, unless Extended Support is purchased with Premium
|
rules and limitations, unless Extended Support is purchased together with
|
||||||
Support in which case Premium Support rules and limitations will apply.
|
Premium Support in which case Premium Support rules and limitations will apply.
|
||||||
|
|
||||||
Extended Support is optional and purchased with annual fee and separately per
|
Extended Support is optional and purchased with annual fee and separately per
|
||||||
each Licensee product. Extended Support will need definition of (i) Licensee
|
each Licensee product. Extended Support will need definition of (i) Licensee
|
||||||
product, (ii) used Platform(s) and (iii) Licensed Software version(s).
|
product, (ii) used Platform(s) and (iii) Licensed Software version(s). For
|
||||||
|
avoidance of doubt, Extended Support requires that the Designated User has a
|
||||||
|
valid license for the respective Licensed Software.
|
||||||
|
|
||||||
2.5 Tool Qualification Kit
|
2.6 Qualification Kit
|
||||||
|
|
||||||
The Qt Company shall provide set of customized documents and validation tests
|
The Qt Company shall provide a set of documents and validation tests that
|
||||||
that enable Licensee to qualify QA testing tool for the purpose of ISO 26262,
|
enable the Licensee to qualify QA testing tool (subject to a separate fee) or
|
||||||
EN 50128, DO-330, IEC 61508, IEC 62304 or IEC 13485 certification Licensee end
|
Qt Safe Renderer for the purpose of safety certification of Licensee end-to-end
|
||||||
to end solution.
|
solution. Exact complied safety standards may vary between products, used
|
||||||
|
features, use case, and industry.
|
||||||
|
|
||||||
3 RESPONSE TIME
|
3 RESPONSE TIME
|
||||||
|
|
||||||
@@ -1884,6 +1951,9 @@ exceed two (2) business days.
|
|||||||
Premium Support: Errors and Support requests will have a Response Time not to
|
Premium Support: Errors and Support requests will have a Response Time not to
|
||||||
exceed one (1) business day.
|
exceed one (1) business day.
|
||||||
|
|
||||||
|
Security Issues: Errors that are Security Issues will have a Response Time not
|
||||||
|
to exceed one (1) business day.
|
||||||
|
|
||||||
For complex issues, The Qt Company may provide an initial response to the
|
For complex issues, The Qt Company may provide an initial response to the
|
||||||
Designated User and then follow up, without undue delay, with additional
|
Designated User and then follow up, without undue delay, with additional
|
||||||
communication before an Error is properly addressed or Support provided.
|
communication before an Error is properly addressed or Support provided.
|
||||||
@@ -1907,7 +1977,7 @@ All Support requests will be handled with high priority.
|
|||||||
|
|
||||||
5 MAINTENANCE RELEASES, UPDATES AND UPGRADES
|
5 MAINTENANCE RELEASES, UPDATES AND UPGRADES
|
||||||
|
|
||||||
Under the Support the Customer is eligible for Maintenance Releases and Updates
|
Under the Support the Licensee is eligible for Maintenance Releases and Updates
|
||||||
that The Qt Company generally makes available to customers who has purchased
|
that The Qt Company generally makes available to customers who has purchased
|
||||||
Support. Unless otherwise decided by The Company at its free and absolute
|
Support. Unless otherwise decided by The Company at its free and absolute
|
||||||
discretion, Upgrades will not be provided under the Support.
|
discretion, Upgrades will not be provided under the Support.
|
||||||
@@ -1919,6 +1989,7 @@ previous version of Licensed Software:
|
|||||||
- Fixes related to build issues on supported Platforms;
|
- Fixes related to build issues on supported Platforms;
|
||||||
- Error corrections specific to a single Platform that are not present on other
|
- Error corrections specific to a single Platform that are not present on other
|
||||||
Platforms;
|
Platforms;
|
||||||
|
- Corrections to Security Issues;
|
||||||
- Critical Error corrections such as crashes, data corruption, loss of data,
|
- Critical Error corrections such as crashes, data corruption, loss of data,
|
||||||
race conditions; and
|
race conditions; and
|
||||||
- Updates to documentation and license information when deemed necessary by
|
- Updates to documentation and license information when deemed necessary by
|
||||||
@@ -1975,3 +2046,46 @@ remain outstanding on the Current Licenses under the applicable terms Licensee
|
|||||||
will continue to make such payments in accordance with the applicable order
|
will continue to make such payments in accordance with the applicable order
|
||||||
documentation, notwithstanding the fact that the Current Licenses are being
|
documentation, notwithstanding the fact that the Current Licenses are being
|
||||||
converted to Development Licenses pursuant to this Appendix.
|
converted to Development Licenses pursuant to this Appendix.
|
||||||
|
|
||||||
|
APPENDIX 11: TERMS OF USE - QT INSIGHT TRACKER LIBRARY
|
||||||
|
Version 1.0
|
||||||
|
|
||||||
|
Qt Insight Tracker Library ("Tracker Library") is a software module used to
|
||||||
|
collect end user data from Customer's Application and Devices relating to The
|
||||||
|
Qt Company's Qt Insight online service the Customer is ordering from The Qt
|
||||||
|
Company under a separate service agreement ("Service Agreement").
|
||||||
|
|
||||||
|
Unless otherwise set forth herein, definitions written in capital letters used
|
||||||
|
herein shall have the meaning set forth in the Service Agreement.
|
||||||
|
|
||||||
|
Subject to these terms The Qt Company grants to Customer a worldwide,
|
||||||
|
non-exclusive, non-transferable, royalty-free, revocable (for cause) right and
|
||||||
|
license, valid for the term of the Service Agreement, to
|
||||||
|
(i) use, copy and modify Tracker Library for the purpose of including it
|
||||||
|
into the Devices and Applications and solely for the purpose of being
|
||||||
|
used only in conjunction with Insight Cloud or Insight Private Cloud,
|
||||||
|
and
|
||||||
|
(ii) distribute, by itself or through its Contractors, Tracker Library as
|
||||||
|
installed, incorporated, or integrated into Applications and/or
|
||||||
|
Devices.
|
||||||
|
|
||||||
|
Use of Tracker Library in a way or for the purpose other than the above is
|
||||||
|
strictly prohibited. Tracker Library is licensed to the Customer in all
|
||||||
|
respects "as is".
|
||||||
|
|
||||||
|
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 TRACKER LIBRARY. THE QT COMPANY DOES NOT
|
||||||
|
WARRANT THAT THE TRACKER LIBRARY WILL SATISFY CUSTOMER'S REQUIREMENTS OR THAT
|
||||||
|
IT WILL OPERATE WITHOUT DEFECT OR ERROR OR THAT THE OPERATION THEREOF WILL BE
|
||||||
|
UNINTERRUPTED.
|
||||||
|
IN NO EVENT SHALL THE QT COMPANY BE LIABLE TO THE CUSTOMER 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 THE USE OF THE TRACKER
|
||||||
|
LIBRARY.
|
||||||
|
|
||||||
|
THE TOTAL MAXIMUM LIABILITY OF THE QT COMPANY UNDER THESE TERMS SHALL IN NO
|
||||||
|
EVENT EXCEED 10,000 EUROS.
|
||||||
|
|||||||
@@ -7,23 +7,37 @@ Include: [
|
|||||||
macos.yaml
|
macos.yaml
|
||||||
]
|
]
|
||||||
Configurations:
|
Configurations:
|
||||||
|
# Build on Ubuntu 22.04 and test on both X11 and Wayland later
|
||||||
-
|
-
|
||||||
Id: 'ubuntu-22.04-documentation'
|
Id: 'ubuntu-22.04-documentation'
|
||||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Sccache', 'Documentation', 'TestDocs', 'UseConfigure']
|
Features: ['Sccache', 'Documentation', 'TestDocs', 'UseConfigure', 'DoNotRunTests']
|
||||||
Configure arguments: '-make examples -developer-build -c++std c++20 -linker gold -no-warnings-are-errors -qtlibinfix TestInfix -qtnamespace TestNamespace'
|
Configure arguments: '-make examples -developer-build -c++std c++20 -linker gold -no-warnings-are-errors -qtlibinfix TestInfix -qtnamespace TestNamespace'
|
||||||
Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}']
|
Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}']
|
||||||
-
|
-
|
||||||
Id: 'ubuntu-22.04'
|
Id: 'ubuntu-22.04'
|
||||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Sccache', 'UseConfigure']
|
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests']
|
||||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'
|
||||||
]
|
]
|
||||||
|
# Test on Ubuntu 22.04 X11
|
||||||
|
-
|
||||||
|
Id: 'ubuntu-22.04-documentation-x11-tests'
|
||||||
|
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||||
|
Compiler: 'GCC'
|
||||||
|
Features: ['Sccache', 'TestOnly']
|
||||||
|
Platform dependency: 'ubuntu-22.04-documentation'
|
||||||
|
-
|
||||||
|
Id: 'ubuntu-22.04-x11-tests'
|
||||||
|
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||||
|
Compiler: 'GCC'
|
||||||
|
Features: ['Sccache', 'TestOnly']
|
||||||
|
Platform dependency: 'ubuntu-22.04'
|
||||||
-
|
-
|
||||||
Id: 'opensuse-15.4-developer-build'
|
Id: 'opensuse-15.4-developer-build'
|
||||||
Template: 'qtci-linux-openSUSE-15.4-x86_64-50'
|
Template: 'qtci-linux-openSUSE-15.4-x86_64-50'
|
||||||
@@ -80,7 +94,7 @@ Configurations:
|
|||||||
Features: ['Sccache', "DebugAndRelease", 'UseConfigure']
|
Features: ['Sccache', "DebugAndRelease", 'UseConfigure']
|
||||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
|
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
|
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
|
||||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}}',
|
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}}',
|
||||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
||||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ Configurations:
|
|||||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||||
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-macos-universal-clang',
|
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-macos-universal-clang',
|
||||||
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-arm64-clang',
|
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-arm64-clang',
|
||||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local',
|
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARM64}}',
|
||||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
||||||
]
|
]
|
||||||
-
|
-
|
||||||
@@ -32,11 +32,11 @@ Configurations:
|
|||||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||||
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-windows-x86_64-mingw',
|
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-windows-x86_64-mingw',
|
||||||
'CONAN_PROFILE=coin/conan/profiles/ci-windows-android-armv7-clang',
|
'CONAN_PROFILE=coin/conan/profiles/ci-windows-android-armv7-clang',
|
||||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}}',
|
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}} -DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_ARMV7}}',
|
||||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
||||||
]
|
]
|
||||||
-
|
-
|
||||||
Id: 'android-x86-on-linux'
|
Id: 'android-6-x86-on-linux'
|
||||||
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
||||||
Target os: 'Android_ANY'
|
Target os: 'Android_ANY'
|
||||||
Target arch: 'x86'
|
Target arch: 'x86'
|
||||||
@@ -47,26 +47,27 @@ Configurations:
|
|||||||
Environment variables: [
|
Environment variables: [
|
||||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
|
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86',
|
||||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
|
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86}}',
|
||||||
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc',
|
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc',
|
||||||
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-x86-clang',
|
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-x86-clang',
|
||||||
'ANDROID_EMULATOR=@emulator_x86_api_23',
|
'ANDROID_EMULATOR=@emulator_x86_api_23',
|
||||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
||||||
]
|
]
|
||||||
-
|
-
|
||||||
Id: 'android-x86_64-on-linux'
|
Id: 'android-13-x86_64-on-linux'
|
||||||
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
||||||
Target os: 'Android_ANY'
|
Target os: 'Android_ANY'
|
||||||
Target arch: 'x86_64'
|
Target arch: 'x86_64'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Target compiler: 'Clang'
|
Target compiler: 'Clang'
|
||||||
Platform dependency: 'rhel-8.4'
|
Platform dependency: 'rhel-8.4'
|
||||||
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure']
|
Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
||||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
|
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86_64}}',
|
||||||
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc',
|
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc',
|
||||||
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-x86_64-clang',
|
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-x86_64-clang',
|
||||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}'
|
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}',
|
||||||
|
'ANDROID_EMULATOR=@emulator_x86_64_api_33'
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,20 +0,0 @@
|
|||||||
Version: 2
|
|
||||||
Configurations:
|
|
||||||
-
|
|
||||||
Id: 'android-12-x86_64-on-linux'
|
|
||||||
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
|
||||||
Target os: 'Android_ANY'
|
|
||||||
Target arch: 'x86_64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Target compiler: 'Clang'
|
|
||||||
Platform dependency: 'rhel-8.4'
|
|
||||||
Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'VMSize8', 'UseConfigure']
|
|
||||||
Environment variables: [
|
|
||||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
|
||||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
|
||||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID}}',
|
|
||||||
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc',
|
|
||||||
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-x86_64-clang',
|
|
||||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}',
|
|
||||||
'ANDROID_EMULATOR=@emulator_x86_64_api_31'
|
|
||||||
]
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
Version: 2
|
|
||||||
Configurations:
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
|
||||||
Target os: 'Android_ANY'
|
|
||||||
Target arch: 'x86_64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Target compiler: 'Clang'
|
|
||||||
Platform dependency: 'rhel-8.4'
|
|
||||||
Features: ['Packaging', 'Sccache', 'AndroidTestRun', 'VMSize8', 'UseConfigure', 'InsignificantTests']
|
|
||||||
Environment variables: [
|
|
||||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -android-ndk {{.Env.ANDROID_NDK_ROOT_DEFAULT}} -android-sdk {{.Env.ANDROID_SDK_ROOT}} -android-abis x86_64',
|
|
||||||
'TARGET_CMAKE_ARGS=-DCMAKE_C_COMPILER_FRONTEND_VARIANT=GNU -DCMAKE_CXX_COMPILER_FRONTEND_VARIANT=GNU -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ANDROID_HOME_DEFAULT}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
|
||||||
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-linux-x86_64-gcc',
|
|
||||||
'CONAN_PROFILE=coin/conan/profiles/ci-unix-android-x86_64-clang',
|
|
||||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_DEFAULT}}',
|
|
||||||
'ANDROID_EMULATOR=@emulator_x86_64_api_31'
|
|
||||||
]
|
|
||||||
@@ -9,8 +9,8 @@ Configurations:
|
|||||||
Target compiler: 'Clang'
|
Target compiler: 'Clang'
|
||||||
Platform dependency: [
|
Platform dependency: [
|
||||||
'rhel-8.4',
|
'rhel-8.4',
|
||||||
'android-x86-on-linux',
|
'android-6-x86-on-linux',
|
||||||
'android-x86_64-on-linux'
|
'android-13-x86_64-on-linux'
|
||||||
]
|
]
|
||||||
Features: [
|
Features: [
|
||||||
'Sccache',
|
'Sccache',
|
||||||
@@ -20,7 +20,7 @@ Configurations:
|
|||||||
]
|
]
|
||||||
Environment variables: [
|
Environment variables: [
|
||||||
'QT_CI_ARTIFACT_ID_PATH_Android-host=QT_CI_ARTIFACT_ID_PATH_rhel-8.4',
|
'QT_CI_ARTIFACT_ID_PATH_Android-host=QT_CI_ARTIFACT_ID_PATH_rhel-8.4',
|
||||||
'QT_CI_ARTIFACT_ID_PATH_Android-x86=QT_CI_ARTIFACT_ID_PATH_android-x86-on-linux',
|
'QT_CI_ARTIFACT_ID_PATH_Android-x86=QT_CI_ARTIFACT_ID_PATH_android-6-x86-on-linux',
|
||||||
'QT_CI_ARTIFACT_ID_PATH_Android-x86_64=QT_CI_ARTIFACT_ID_PATH_android-x86_64-on-linux',
|
'QT_CI_ARTIFACT_ID_PATH_Android-x86_64=QT_CI_ARTIFACT_ID_PATH_android-13-x86_64-on-linux',
|
||||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_ANDROID_ABIS="x86;x86_64"'
|
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_ANDROID_ABIS="x86;x86_64"'
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ Configurations:
|
|||||||
Configure arguments: ''
|
Configure arguments: ''
|
||||||
Environment variables: []
|
Environment variables: []
|
||||||
-
|
-
|
||||||
Template: 'qtci-macos-10.15-x86_64-1022'
|
Template: 'qtci-macos-11-x86_64-106'
|
||||||
Compiler: 'Clang'
|
Compiler: 'Clang'
|
||||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease']
|
Features: ['Packaging', 'Sccache', 'DebugAndRelease']
|
||||||
Configure arguments: ''
|
Configure arguments: ''
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [cmake_platforms.yaml]
|
Include: [
|
||||||
|
cmake_platforms.yaml
|
||||||
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ Include: [
|
|||||||
integrity.yaml,
|
integrity.yaml,
|
||||||
ios-tests.yaml,
|
ios-tests.yaml,
|
||||||
address_sanitizer_platforms.yaml,
|
address_sanitizer_platforms.yaml,
|
||||||
cmake_platforms_target_android_12_insignificant.yaml,
|
|
||||||
linux_android_tests_multi_abi.yaml
|
linux_android_tests_multi_abi.yaml
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ Include: [
|
|||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml,
|
||||||
integrity.yaml,
|
integrity.yaml,
|
||||||
ios-tests.yaml,
|
ios-tests.yaml,
|
||||||
cmake_platforms_static_tests.yaml,
|
cmake_platforms_static_tests.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml,
|
||||||
integrity.yaml,
|
integrity.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml,
|
||||||
integrity.yaml,
|
integrity.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml,
|
||||||
integrity.yaml,
|
integrity.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml,
|
||||||
integrity.yaml,
|
integrity.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
32
coin/platform_configs/qtsaferenderer-runtime.yaml
Normal file
32
coin/platform_configs/qtsaferenderer-runtime.yaml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
Version: 2
|
||||||
|
Include: [
|
||||||
|
macos.yaml: [
|
||||||
|
"macos-universal-on-x86_64",
|
||||||
|
"macos-12-x86_64-tests",
|
||||||
|
"macos-12-arm-on-arm64-tests"
|
||||||
|
],
|
||||||
|
cmake_platforms.yaml: [
|
||||||
|
"ubuntu-22.04",
|
||||||
|
"ubuntu-22.04-documentation",
|
||||||
|
"opensuse-15.4-developer-build",
|
||||||
|
"sles-15_sp4-static",
|
||||||
|
"windows-10_22h2-msvc2019",
|
||||||
|
"windows-10_22h2-msvc2022",
|
||||||
|
"windows-10_22h2-msvc2019-developer-build",
|
||||||
|
"rhel-8.4",
|
||||||
|
"windows-10_22h2-mingw11",
|
||||||
|
"windows-10_22h2-mingw11-developer-build",
|
||||||
|
"windows-10_22h2-llvm",
|
||||||
|
"windows-11_22h2-msvc2019"
|
||||||
|
],
|
||||||
|
cmake_platforms_qemu_qnx710.yaml: [
|
||||||
|
"qnx-710-x86_64-developer-build-on-linux",
|
||||||
|
"qnx-710-arm64-on-linux",
|
||||||
|
"qnx-710-armv7-on-linux"
|
||||||
|
],
|
||||||
|
integrity.yaml: [
|
||||||
|
"integrity-arm64"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
Configurations: []
|
||||||
|
|
||||||
@@ -1,24 +1,59 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
|
Include: [
|
||||||
|
macos.yaml: [
|
||||||
|
"macos-universal-on-x86_64",
|
||||||
|
"macos-12-x86_64-tests",
|
||||||
|
"macos-12-arm-on-arm64-tests"
|
||||||
|
],
|
||||||
|
cmake_platforms.yaml: [
|
||||||
|
"ubuntu-22.04",
|
||||||
|
"ubuntu-22.04-documentation",
|
||||||
|
"opensuse-15.4-developer-build",
|
||||||
|
"sles-15_sp4-static",
|
||||||
|
"windows-10_22h2-msvc2019",
|
||||||
|
"windows-10_22h2-msvc2022",
|
||||||
|
"rhel-8.4",
|
||||||
|
"windows-10_22h2-mingw11",
|
||||||
|
"windows-10_22h2-llvm",
|
||||||
|
"windows-11_22h2-msvc2019"
|
||||||
|
],
|
||||||
|
cmake_platforms_qemu_qnx710.yaml: [
|
||||||
|
"qnx-710-x86_64-developer-build-on-linux",
|
||||||
|
"qnx-710-arm64-on-linux",
|
||||||
|
"qnx-710-armv7-on-linux"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
# Static build configurations for tools
|
||||||
Configurations:
|
Configurations:
|
||||||
-
|
-
|
||||||
Template: 'qtci-windows-10_22H2-x86_64-50'
|
Id: 'macos-latest-xcode-universal-static-build'
|
||||||
Compiler: 'Mingw'
|
Template: 'qtci-macos-12-x86_64-105'
|
||||||
Environment variables: ['PATH=C:\MINGW1120\mingw64\bin;$PATH']
|
Target os: 'MacOS_12_Static'
|
||||||
Configure arguments: '-qmake -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++'
|
Compiler: 'Clang'
|
||||||
Features: ['UseLegacyInstructions']
|
Target arch: 'x86_64-arm64'
|
||||||
-
|
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
|
||||||
Template: 'qtci-windows-10_22H2-x86_64-50'
|
Configure arguments: '-static -nomake examples -release -no-framework -no-icu -qt-doubleconversion -no-sql-mysql'
|
||||||
Compiler: 'Mingw'
|
Environment variables: [
|
||||||
Environment variables: ['PATH=C:\MINGW1120\mingw64\bin;$PATH']
|
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"'
|
||||||
Features: ['Packaging', 'DisableTests', 'UseLegacyInstructions']
|
]
|
||||||
Configure arguments: '-qmake -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++'
|
|
||||||
-
|
-
|
||||||
|
Id: 'Linux-RHEL_8_4_Static'
|
||||||
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
|
||||||
|
Target os: 'RHEL_8_4_Static'
|
||||||
Compiler: 'GCC'
|
Compiler: 'GCC'
|
||||||
Features: ['Packaging', 'DisableTests', 'UseLegacyInstructions']
|
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
|
||||||
Configure arguments: '-qmake -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'
|
Configure arguments: '-static -no-icu -nomake examples -release -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput -no-sql-mysql'
|
||||||
|
Environment variables: [
|
||||||
|
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||||
|
'CONAN_PROFILE=coin/conan/profiles/linux-x86_64-gcc'
|
||||||
|
]
|
||||||
-
|
-
|
||||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64-50'
|
Id: 'Windows-MSVC2019_Static'
|
||||||
Compiler: 'GCC'
|
Template: 'qtci-windows-10_22H2-x86_64-50'
|
||||||
Features: ['Packaging', 'DisableTests', 'UseLegacyInstructions']
|
Target os: 'Windows_10_Static'
|
||||||
Configure arguments: '-qmake -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'
|
Compiler: 'MSVC2019'
|
||||||
|
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
|
||||||
|
Configure arguments: '-release -headersclean -nomake examples -qt-zlib -static -no-icu -no-sql-mysql -no-sql-odbc -no-sql-psql -plugin-sql-sqlite -plugin-sql-odbc'
|
||||||
|
Environment variables: [
|
||||||
|
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\..',
|
||||||
|
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}']
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml,
|
||||||
integrity.yaml,
|
integrity.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml,
|
||||||
integrity.yaml,
|
integrity.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,18 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations:
|
||||||
|
# Test on Ubuntu 22.04 Wayland
|
||||||
|
-
|
||||||
|
Id: 'ubuntu-22.04-documentation-wayland-tests'
|
||||||
|
Template: 'qtci-linux-Ubuntu-22.04-x86_64-50'
|
||||||
|
Compiler: 'GCC'
|
||||||
|
Features: ['Sccache', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
|
||||||
|
Platform dependency: 'ubuntu-22.04-documentation'
|
||||||
|
-
|
||||||
|
Id: 'ubuntu-22.04-wayland-tests'
|
||||||
|
Template: 'qtci-linux-Ubuntu-22.04-x86_64-50'
|
||||||
|
Compiler: 'GCC'
|
||||||
|
Features: ['Sccache', 'TestOnly', 'RunDependencyTests', 'InsignificantTests']
|
||||||
|
Platform dependency: 'ubuntu-22.04'
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
Version: 2
|
Version: 2
|
||||||
Include: [
|
Include: [
|
||||||
cmake_platforms.yaml,
|
cmake_platforms.yaml
|
||||||
cmake_platforms_target_android_12.yaml
|
|
||||||
]
|
]
|
||||||
Configurations: []
|
Configurations: []
|
||||||
|
|||||||
@@ -155,8 +155,9 @@ echo "Android NDK = $ndkVersion" >> ~/versions.txt
|
|||||||
cd "$sdkTargetFolder/cmdline-tools/tools/bin"
|
cd "$sdkTargetFolder/cmdline-tools/tools/bin"
|
||||||
./sdkmanager --install "emulator" --sdk_root=$sdkTargetFolder \
|
./sdkmanager --install "emulator" --sdk_root=$sdkTargetFolder \
|
||||||
| eval $sdkmanager_no_progress_bar_cmd
|
| eval $sdkmanager_no_progress_bar_cmd
|
||||||
echo "y" | ./sdkmanager --install "system-images;android-23;google_apis;x86" \
|
echo "y" | ./sdkmanager --install "system-images;android-23;google_apis;x86" | eval $sdkmanager_no_progress_bar_cmd
|
||||||
"system-images;android-31;google_apis;x86_64" | eval $sdkmanager_no_progress_bar_cmd
|
|
||||||
|
echo "y" | ./sdkmanager --install "system-images;android-33;google_apis;x86_64" | eval $sdkmanager_no_progress_bar_cmd
|
||||||
|
|
||||||
|
|
||||||
echo "Checking the contents of Android SDK again..."
|
echo "Checking the contents of Android SDK again..."
|
||||||
@@ -165,8 +166,8 @@ ls -l "$sdkTargetFolder"
|
|||||||
echo "no" | ./avdmanager create avd -n emulator_x86_api_23 -c 2048M -f \
|
echo "no" | ./avdmanager create avd -n emulator_x86_api_23 -c 2048M -f \
|
||||||
-k "system-images;android-23;google_apis;x86"
|
-k "system-images;android-23;google_apis;x86"
|
||||||
|
|
||||||
echo "no" | ./avdmanager create avd -n emulator_x86_64_api_31 -c 2048M -f \
|
echo "no" | ./avdmanager create avd -n emulator_x86_64_api_33 -c 2048M -f \
|
||||||
-k "system-images;android-31;google_apis;x86_64"
|
-k "system-images;android-33;google_apis;x86_64"
|
||||||
|
|
||||||
echo "Install $sdkApiLevelAutomovie $androidAutomotive"
|
echo "Install $sdkApiLevelAutomovie $androidAutomotive"
|
||||||
DownloadURL "$androidAutomotive11Url" "$androidAutomotive11Url" "$android11Sha" \
|
DownloadURL "$androidAutomotive11Url" "$androidAutomotive11Url" "$android11Sha" \
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ set -ex
|
|||||||
|
|
||||||
echo "Disable Network Time Protocol (NTP)"
|
echo "Disable Network Time Protocol (NTP)"
|
||||||
|
|
||||||
if uname -a |grep -q "Ubuntu"; then
|
if uname -a |grep -q "Ubuntu\|Debian" ; then
|
||||||
sudo timedatectl set-ntp false
|
sudo timedatectl set-ntp false
|
||||||
elif cat /etc/os-release | grep "PRETTY_NAME" | grep -q "Leap 15"; then
|
elif cat /etc/os-release | grep "PRETTY_NAME" | grep -q "Leap 15"; then
|
||||||
(sudo systemctl stop chronyd && sudo systemctl disable chronyd)
|
(sudo systemctl stop chronyd && sudo systemctl disable chronyd)
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
sudo apt -q -y remove update-notifier update-manager python3-distupgrade python3-update-manager ubuntu-release-upgrader-core update-manager-core
|
installPackages+=(update-notifier)
|
||||||
|
|
||||||
|
if uname -a |grep -q "Ubuntu" ; then
|
||||||
|
installPackages+=(update-manager-core)
|
||||||
|
installPackages+=(update-manager)
|
||||||
|
installPackages+=(python3-distupgrade)
|
||||||
|
installPackages+=(python3-update-manager)
|
||||||
|
installPackages+=(ubuntu-release-upgrader-core)
|
||||||
|
fi
|
||||||
|
|
||||||
|
sudo apt -q -y remove "${installPackages[@]}"
|
||||||
|
|||||||
@@ -61,3 +61,14 @@ DownloadURL $urlCache $urlOccifical $sha "/tmp/Docker_${chip}.dmg"
|
|||||||
sudo hdiutil attach "/tmp/Docker_${chip}.dmg"
|
sudo hdiutil attach "/tmp/Docker_${chip}.dmg"
|
||||||
sudo /Volumes/Docker/Docker.app/Contents/MacOS/install --accept-license --user qt
|
sudo /Volumes/Docker/Docker.app/Contents/MacOS/install --accept-license --user qt
|
||||||
sudo hdiutil detach /Volumes/Docker
|
sudo hdiutil detach /Volumes/Docker
|
||||||
|
|
||||||
|
# Add registry mirror for docker images
|
||||||
|
mkdir "$HOME/.docker"
|
||||||
|
sudo tee -a $HOME/.docker/daemon.json <<"EOF"
|
||||||
|
{
|
||||||
|
"builder": { "gc": { "defaultKeepStorage": "20GB", "enabled": true } },
|
||||||
|
"experimental": false,
|
||||||
|
"features": { "buildkit": true },
|
||||||
|
"registry-mirrors": ["http://repo-clones.ci.qt.io:5000"]
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
--disable-programs --disable-doc --disable-debug --disable-network --disable-lzma --enable-pic
|
--disable-programs --disable-doc --disable-debug --enable-network --disable-lzma --enable-pic
|
||||||
|
|||||||
139
coin/provisioning/common/unix/install-ffmpeg-android.sh
Executable file
139
coin/provisioning/common/unix/install-ffmpeg-android.sh
Executable file
@@ -0,0 +1,139 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2022 The Qt Company Ltd.
|
||||||
|
## Contact: https://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL$
|
||||||
|
## 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 https://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at https://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 3 as published by the Free Software
|
||||||
|
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
||||||
|
## packaging of this file. Please review the following information to
|
||||||
|
## ensure the GNU Lesser General Public License version 3 requirements
|
||||||
|
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
||||||
|
##
|
||||||
|
## GNU General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU
|
||||||
|
## General Public License version 2.0 or (at your option) the GNU General
|
||||||
|
## Public license version 3 or any later version approved by the KDE Free
|
||||||
|
## Qt Foundation. The licenses are as published by the Free Software
|
||||||
|
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||||
|
## included in the packaging of this file. Please review the following
|
||||||
|
## information to ensure the GNU General Public License requirements will
|
||||||
|
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
||||||
|
## https://www.gnu.org/licenses/gpl-3.0.html.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# This script will build and install FFmpeg static libs
|
||||||
|
set -ex
|
||||||
|
os="$1"
|
||||||
|
|
||||||
|
# shellcheck source=../unix/InstallFromCompressedFileFromURL.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||||
|
# shellcheck source=../unix/SetEnvVar.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
|
version="n6.0"
|
||||||
|
url_public="https://github.com/FFmpeg/FFmpeg/archive/refs/tags/$version.tar.gz"
|
||||||
|
sha1="78435ec71cc2227017a99c030e858719b8c7c74d"
|
||||||
|
url_cached="http://ci-files01-hki.intra.qt.io/input/ffmpeg/$version.tar.gz"
|
||||||
|
ffmpeg_name="FFmpeg-$version"
|
||||||
|
|
||||||
|
target_dir="$HOME"
|
||||||
|
app_prefix=""
|
||||||
|
ffmpeg_source_dir="$target_dir/$ffmpeg_name"
|
||||||
|
|
||||||
|
if [ ! -d "$ffmpeg_source_dir" ];
|
||||||
|
then
|
||||||
|
InstallFromCompressedFileFromURL "$url_cached" "$url_public" "$sha1" "$target_dir" "$app_prefix"
|
||||||
|
fi
|
||||||
|
|
||||||
|
build_ffmpeg_android() {
|
||||||
|
|
||||||
|
target_arch=$1
|
||||||
|
target_dir=$2
|
||||||
|
|
||||||
|
sudo mkdir -p "$target_dir"
|
||||||
|
|
||||||
|
if [ "$target_arch" == "x86_64" ]; then
|
||||||
|
target_toolchain_arch="x86_64-linux-android"
|
||||||
|
target_arch=x86_64
|
||||||
|
target_cpu=x86_64
|
||||||
|
elif [ "$target_arch" == "x86" ]; then
|
||||||
|
target_toolchain_arch="i686-linux-android"
|
||||||
|
target_arch=x86
|
||||||
|
target_cpu=i686
|
||||||
|
elif [ "$target_arch" == "arm64" ]; then
|
||||||
|
target_toolchain_arch="aarch64-linux-android"
|
||||||
|
target_arch=aarch64
|
||||||
|
target_cpu=armv8-a
|
||||||
|
fi
|
||||||
|
|
||||||
|
api_version=24
|
||||||
|
|
||||||
|
ndk_root=/opt/android/android-ndk-r25b
|
||||||
|
if uname -a |grep -q "Darwin"; then
|
||||||
|
ndk_host=darwin-x86_64
|
||||||
|
else
|
||||||
|
ndk_host=linux-x86_64
|
||||||
|
fi
|
||||||
|
|
||||||
|
toolchain=${ndk_root}/toolchains/llvm/prebuilt/${ndk_host}
|
||||||
|
toolchain_bin=${toolchain}/bin
|
||||||
|
sysroot=${toolchain}/sysroot
|
||||||
|
cxx=${toolchain_bin}/${target_toolchain_arch}${api_version}-clang++
|
||||||
|
cc=${toolchain_bin}/${target_toolchain_arch}${api_version}-clang
|
||||||
|
ld=${toolchain_bin}/ld
|
||||||
|
ar=${toolchain_bin}/llvm-ar
|
||||||
|
ranlib=${toolchain_bin}/llvm-ranlib
|
||||||
|
nm=${toolchain_bin}/llvm-nm
|
||||||
|
strip=${toolchain_bin}/llvm-strip
|
||||||
|
|
||||||
|
ffmpeg_config_options=$(cat "${BASH_SOURCE%/*}/../shared/ffmpeg_config_options.txt")
|
||||||
|
ffmpeg_config_options+=" --disable-vulkan --enable-cross-compile --target-os=android --enable-jni --enable-mediacodec --enable-pthreads --enable-neon --disable-asm --disable-indev=android_camera"
|
||||||
|
ffmpeg_config_options+=" --arch=$target_arch --cpu=${target_cpu} --sysroot=${sysroot} --sysinclude=${sysroot}/usr/include/"
|
||||||
|
ffmpeg_config_options+=" --cc=${cc} --cxx=${cxx} --ar=${ar} --ranlib=${ranlib}"
|
||||||
|
|
||||||
|
local build_dir="$ffmpeg_source_dir/build/$target_arch"
|
||||||
|
sudo mkdir -p "$build_dir"
|
||||||
|
pushd "$build_dir"
|
||||||
|
|
||||||
|
sudo $ffmpeg_source_dir/configure $ffmpeg_config_options --prefix="$target_dir"
|
||||||
|
|
||||||
|
sudo make install -j4
|
||||||
|
popd
|
||||||
|
}
|
||||||
|
|
||||||
|
if [ "$os" == "android-x86" ]; then
|
||||||
|
target_arch=x86
|
||||||
|
target_dir="/usr/local/android/ffmpeg-x86"
|
||||||
|
|
||||||
|
SetEnvVar "FFMPEG_DIR_ANDROID_X86" "$target_dir"
|
||||||
|
elif [ "$os" == "android-x86_64" ]; then
|
||||||
|
target_arch=x86_64
|
||||||
|
target_dir="/usr/local/android/ffmpeg-x86_64"
|
||||||
|
|
||||||
|
SetEnvVar "FFMPEG_DIR_ANDROID_X86_64" "$target_dir"
|
||||||
|
elif [ "$os" == "android-arm64" ]; then
|
||||||
|
target_arch=arm64
|
||||||
|
target_dir="/usr/local/android/ffmpeg-arm64"
|
||||||
|
|
||||||
|
SetEnvVar "FFMPEG_DIR_ANDROID_ARM64" "$target_dir"
|
||||||
|
fi
|
||||||
|
|
||||||
|
build_ffmpeg_android "$target_arch" "$target_dir"
|
||||||
@@ -48,31 +48,9 @@ source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
|||||||
# shellcheck source=../unix/SetEnvVar.sh
|
# shellcheck source=../unix/SetEnvVar.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
function SourceEnvVar {
|
version="n6.0"
|
||||||
echo "Source environment variables file"
|
|
||||||
if [ uname -a | grep -q "Ubuntu" ];
|
|
||||||
then
|
|
||||||
if [ lsb_release -a | grep "Ubuntu 22.04" ];
|
|
||||||
then source ~/.bashrc
|
|
||||||
else source ~/.profile
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
source ~/.bashrc
|
|
||||||
source ~/.zshrc
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ "$os" == "android" ];
|
|
||||||
then
|
|
||||||
version="f0d2ed135c3602670b56a95e0346487730317407"
|
|
||||||
url_public="https://github.com/FFmpeg/FFmpeg/archive/$version.tar.gz"
|
|
||||||
sha1="a429060d07b6d84c849a68741f816a7e91447d12"
|
|
||||||
else
|
|
||||||
version="n5.1"
|
|
||||||
url_public="https://github.com/FFmpeg/FFmpeg/archive/refs/tags/$version.tar.gz"
|
url_public="https://github.com/FFmpeg/FFmpeg/archive/refs/tags/$version.tar.gz"
|
||||||
sha1="1d4283c5ff9e02378893168f55b8672bb30b9176"
|
sha1="78435ec71cc2227017a99c030e858719b8c7c74d"
|
||||||
fi
|
|
||||||
|
|
||||||
url_cached="http://ci-files01-hki.intra.qt.io/input/ffmpeg/$version.tar.gz"
|
url_cached="http://ci-files01-hki.intra.qt.io/input/ffmpeg/$version.tar.gz"
|
||||||
ffmpeg_name="FFmpeg-$version"
|
ffmpeg_name="FFmpeg-$version"
|
||||||
|
|
||||||
@@ -99,8 +77,7 @@ build_ffmpeg() {
|
|||||||
then prefix="/usr/local/$ffmpeg_name"
|
then prefix="/usr/local/$ffmpeg_name"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# android configures its own toolchain, it does not use the system clang
|
if [ -n "$arch" ]
|
||||||
if [ -n "$arch" ] && [ "$os" != "android" ]
|
|
||||||
then cc="clang -arch $arch"
|
then cc="clang -arch $arch"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -112,36 +89,6 @@ build_ffmpeg() {
|
|||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
|
||||||
build_ffmpeg_android() {
|
|
||||||
SourceEnvVar
|
|
||||||
target_arch=$1
|
|
||||||
target_dir=$2
|
|
||||||
|
|
||||||
if [ "$target_arch" == "x86_64" ];
|
|
||||||
then
|
|
||||||
#emulador on CI is x86_64
|
|
||||||
target_toolchain_arch="x86_64-linux-android"
|
|
||||||
target_arch=x86_64
|
|
||||||
target_cpu=x86_64
|
|
||||||
else
|
|
||||||
#emulador on CI is x86
|
|
||||||
target_toolchain_arch="i686-linux-android"
|
|
||||||
target_arch=x86
|
|
||||||
target_cpu=i686
|
|
||||||
fi
|
|
||||||
|
|
||||||
api_version=24
|
|
||||||
|
|
||||||
toolchain=${ANDROID_NDK_ROOT_DEFAULT}/toolchains/llvm/prebuilt/${ANDROID_NDK_HOST}
|
|
||||||
toolchain_bin=${toolchain}/bin
|
|
||||||
sysroot=${toolchain}/sysroot
|
|
||||||
cxx=${toolchain_bin}/${target_toolchain_arch}${api_version}-clang++
|
|
||||||
cc=${toolchain_bin}/${target_toolchain_arch}${api_version}-clang
|
|
||||||
|
|
||||||
ffmpeg_config_options+=" --disable-vulkan --target-os=android --enable-jni --enable-mediacodec --enable-pthreads --enable-neon --disable-asm --cpu=${target_cpu} --disable-indev=android_camera --sysroot=${sysroot} --sysinclude=${sysroot}/usr/include/ --cc=${cc} --cxx=${cxx}"
|
|
||||||
build_ffmpeg ${target_arch} ${target_dir}
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ "$os" == "linux" ]; then
|
if [ "$os" == "linux" ]; then
|
||||||
build_ffmpeg
|
build_ffmpeg
|
||||||
sudo mv "$ffmpeg_source_dir/build/installed/usr/local/$ffmpeg_name" "/usr/local"
|
sudo mv "$ffmpeg_source_dir/build/installed/usr/local/$ffmpeg_name" "/usr/local"
|
||||||
@@ -163,39 +110,5 @@ elif [ "$os" == "macos-universal" ]; then
|
|||||||
sudo "${BASH_SOURCE%/*}/../macos/makeuniversal.sh" "$ffmpeg_source_dir/build/arm64/installed" "$ffmpeg_source_dir/build/x86_64/installed"
|
sudo "${BASH_SOURCE%/*}/../macos/makeuniversal.sh" "$ffmpeg_source_dir/build/arm64/installed" "$ffmpeg_source_dir/build/x86_64/installed"
|
||||||
SetEnvVar "FFMPEG_DIR" "/usr/local/$ffmpeg_name"
|
SetEnvVar "FFMPEG_DIR" "/usr/local/$ffmpeg_name"
|
||||||
|
|
||||||
elif [ "$os" == "android" ]; then
|
|
||||||
|
|
||||||
SourceEnvVar
|
|
||||||
|
|
||||||
url_cached=""
|
|
||||||
url_public=""
|
|
||||||
sha1=""
|
|
||||||
|
|
||||||
#get emulator target arch
|
|
||||||
if [ "$ANDROID_EMULATOR" == *"x86_64"* ];
|
|
||||||
then
|
|
||||||
target_arch=x86_64
|
|
||||||
sha1="0241fd483c16f4ce53206b911214b06854cdef9d"
|
|
||||||
url_cached="http://ci-files01-hki.intra.qt.io/input/ffmpeg/android-ffmpeg-x86_64.zip"
|
|
||||||
target_dir="/opt/android/$ffmpeg_name/ffmpeg-x86_64"
|
|
||||||
else
|
|
||||||
target_arch=x86
|
|
||||||
url_cached="http://ci-files01-hki.intra.qt.io/input/ffmpeg/android-ffmpeg-x86.zip"
|
|
||||||
sha1="8b254e31411a350edb581bb30e31401866abbe7d"
|
|
||||||
target_dir="/opt/android/$ffmpeg_name/ffmpeg-x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
app_prefix=""
|
|
||||||
|
|
||||||
#try install a pre-build
|
|
||||||
InstallFromCompressedFileFromURL "$url_cached" "$url_public" "$sha1" "$target_dir" "$app_prefix"
|
|
||||||
|
|
||||||
#if could not install pre-build, build it
|
|
||||||
if [ ! -d "$target_dir" ];
|
|
||||||
then build_ffmpeg_android "$target_arch" "$target_dir"
|
|
||||||
fi
|
|
||||||
|
|
||||||
#set the var to use in yaml
|
|
||||||
SetEnvVar "FFMPEG_DIR_ANDROID" "$target_dir"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -144,31 +144,7 @@ $env:Path = $oldPath
|
|||||||
|
|
||||||
### MSVC
|
### MSVC
|
||||||
|
|
||||||
# Add cl to path if it is not already there
|
EnterVSDevShell
|
||||||
if (!(Get-Command cl.exe -ErrorAction SilentlyContinue)) {
|
|
||||||
$vswhere = "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe"
|
|
||||||
$vc_component = "Microsoft.VisualStudio.Component.VC.CoreIde"
|
|
||||||
# We pick the oldest build tools we can find and use that to be compatible with it and any newer version:
|
|
||||||
# If MSVC has an ABI break this will stop working, and yet another build must be added.
|
|
||||||
$vs_location = (& $vswhere -nologo -products * -requires $vc_component -sort -format value -property installationPath | Select-Object -Last 1)
|
|
||||||
$vcvars_location = Join-Path $vs_location "VC\Auxiliary\Build\"
|
|
||||||
|
|
||||||
Push-Location $vcvars_location
|
|
||||||
|
|
||||||
# This snippet was stolen from https://stackoverflow.com/a/2124759
|
|
||||||
# Grabs all the environment variables that the script has set and assigns it
|
|
||||||
# to environment variables in PowerShell (calling batch files creates a
|
|
||||||
# cmd.exe instance which does not propagate environment variables)
|
|
||||||
cmd /c "vcvarsall.bat $env:PROCESSOR_ARCHITECTURE & set" |
|
|
||||||
ForEach-Object {
|
|
||||||
if ($_ -match "=") {
|
|
||||||
$v = $_.Split("=");
|
|
||||||
Set-Item -Force -Path "ENV:\$($v[0])" -Value "$($v[1])"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Pop-Location
|
|
||||||
}
|
|
||||||
|
|
||||||
build-install-grpc -CC "cl" -CXX "cl" -BuildType "Release" -Postfix "msvc"
|
build-install-grpc -CC "cl" -CXX "cl" -BuildType "Release" -Postfix "msvc"
|
||||||
|
|
||||||
|
|||||||
@@ -274,3 +274,35 @@ function DeleteSchedulerTask {
|
|||||||
Write-Host "Disabling $Task from Task Scheduler"
|
Write-Host "Disabling $Task from Task Scheduler"
|
||||||
SCHTASKS /DELETE /TN "Microsoft\Windows\$Task" /F
|
SCHTASKS /DELETE /TN "Microsoft\Windows\$Task" /F
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function GetVSPath {
|
||||||
|
Param (
|
||||||
|
[string]$VSWhere = "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe",
|
||||||
|
[string]$Component = "Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
|
||||||
|
)
|
||||||
|
|
||||||
|
return (& $VSWhere -nologo -latest -products * -requires $Component -property installationPath)
|
||||||
|
}
|
||||||
|
|
||||||
|
function EnterVSDevShell {
|
||||||
|
# Add cl to path if it is not already there.
|
||||||
|
if (Get-Command cl.exe -ErrorAction SilentlyContinue) {
|
||||||
|
return $true
|
||||||
|
}
|
||||||
|
|
||||||
|
$vsWere = "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe"
|
||||||
|
$vcComponent = "Microsoft.VisualStudio.Component.VC.CoreIde"
|
||||||
|
# We pick the oldest build tools we can find and use that to be compatible with it and any newer version:
|
||||||
|
# If MSVC has an ABI break this will stop working, and yet another build must be added.
|
||||||
|
$VSPath = (& $vsWere -nologo -products * -requires $vcComponent -sort -format value -property installationPath | Select-Object -Last 1)
|
||||||
|
|
||||||
|
Write-Host "Enter VisualStudio developer shell"
|
||||||
|
try {
|
||||||
|
Import-Module "$VSPath\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
|
||||||
|
Enter-VsDevShell -VsInstallPath $VSPath -DevCmdArguments "-arch=x64 -no_logo"
|
||||||
|
} catch {
|
||||||
|
Write-Host "Failed to enter VisualStudio DevShell"
|
||||||
|
return $false
|
||||||
|
}
|
||||||
|
return $true
|
||||||
|
}
|
||||||
|
|||||||
@@ -42,9 +42,9 @@
|
|||||||
# This script will install FFmpeg
|
# This script will install FFmpeg
|
||||||
$msys = "C:\Utils\msys64\usr\bin\bash"
|
$msys = "C:\Utils\msys64\usr\bin\bash"
|
||||||
|
|
||||||
$version = "n5.1"
|
$version = "n6.0"
|
||||||
$ffmpeg_name = "ffmpeg-" + $version;
|
$ffmpeg_name = "ffmpeg-" + $version;
|
||||||
$sha1 = "9D5AD63032B03922D38F99159728F24C305FC345"
|
$sha1 = "5DDDE739FF966A7EEE810D65D7290860A52709D7"
|
||||||
|
|
||||||
$url_cached = "http://ci-files01-hki.intra.qt.io/input/ffmpeg/" + $version + ".zip"
|
$url_cached = "http://ci-files01-hki.intra.qt.io/input/ffmpeg/" + $version + ".zip"
|
||||||
$url_public = "https://github.com/FFmpeg/FFmpeg/archive/refs/tags/" +$version + ".zip"
|
$url_public = "https://github.com/FFmpeg/FFmpeg/archive/refs/tags/" +$version + ".zip"
|
||||||
@@ -107,15 +107,8 @@ function InstallMingwFfmpeg {
|
|||||||
|
|
||||||
|
|
||||||
function InstallMsvcFfmpeg {
|
function InstallMsvcFfmpeg {
|
||||||
$vsPath = "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional"
|
$result = EnterVSDevShell
|
||||||
#$vsPath = "C:\Program Files\Microsoft Visual Studio\2022\Professional"
|
if (-Not $result) {
|
||||||
|
|
||||||
Write-Host "Enter VisualStudio developer shell"
|
|
||||||
try {
|
|
||||||
Import-Module "$vsPath\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"
|
|
||||||
Enter-VsDevShell -VsInstallPath $vsPath -DevCmdArguments "-arch=x64 -no_logo"
|
|
||||||
} catch {
|
|
||||||
Write-Host "Failed to enter VisualStudio DevShell"
|
|
||||||
return $false
|
return $false
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -141,13 +134,44 @@ function InstallLlvmMingwFfmpeg {
|
|||||||
return InstallFfmpeg -buildSystem "llvm-mingw" -msystem "CLANG64" -ffmpegDirEnvVar "FFMPEG_DIR_LLVM_MINGW" -additionalPath "C:\llvm-mingw\bin"
|
return InstallFfmpeg -buildSystem "llvm-mingw" -msystem "CLANG64" -ffmpegDirEnvVar "FFMPEG_DIR_LLVM_MINGW" -additionalPath "C:\llvm-mingw\bin"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function InstallAndroidArmv7 {
|
||||||
|
|
||||||
|
$target_toolchain_arch="armv7a-linux-androideabi"
|
||||||
|
$target_arch="armv7-a"
|
||||||
|
$target_cpu="armv7-a"
|
||||||
|
$api_version="24"
|
||||||
|
|
||||||
|
$ndkVersionLatest = "r25b"
|
||||||
|
$ndkFolderLatest = "/c/Utils/Android/android-ndk-$ndkVersionLatest"
|
||||||
|
|
||||||
|
$toolchain="${ndkFolderLatest}/toolchains/llvm/prebuilt/windows-x86_64"
|
||||||
|
$toolchain_bin="${toolchain}/bin"
|
||||||
|
$sysroot="${toolchain}/sysroot"
|
||||||
|
$cxx="${toolchain_bin}/${target_toolchain_arch}${api_version}-clang++"
|
||||||
|
$cc="${toolchain_bin}/${target_toolchain_arch}${api_version}-clang"
|
||||||
|
$ld="${toolchain_bin}/ld.exe"
|
||||||
|
$ar="${toolchain_bin}/llvm-ar.exe"
|
||||||
|
$ranlib="${toolchain_bin}/llvm-ranlib.exe"
|
||||||
|
$nm="${toolchain_bin}/llvm-nm.exe"
|
||||||
|
$strip="${toolchain_bin}/llvm-strip.exe"
|
||||||
|
|
||||||
|
$config = Get-Content "$PSScriptRoot\..\shared\ffmpeg_config_options.txt"
|
||||||
|
$config += " --disable-vulkan --enable-cross-compile --target-os=android --enable-jni --enable-mediacodec --enable-pthreads --enable-neon --disable-asm --disable-indev=android_camera"
|
||||||
|
$config += " --arch=$target_arch --cpu=${target_cpu} --sysroot=${sysroot} --sysinclude=${sysroot}/usr/include/"
|
||||||
|
$config += " --cc=${cc} --cxx=${cxx} --ar=${ar} --ranlib=${ranlib}"
|
||||||
|
|
||||||
|
return InstallFfmpeg -buildSystem "android-arm" -msystem "ANDROID_CLANG" -ffmpegDirEnvVar "FFMPEG_DIR_ANDROID_ARMV7"
|
||||||
|
}
|
||||||
|
|
||||||
$mingwRes = InstallMingwFfmpeg
|
$mingwRes = InstallMingwFfmpeg
|
||||||
$msvcRes = InstallMsvcFfmpeg
|
$msvcRes = InstallMsvcFfmpeg
|
||||||
$llvmMingwRes = InstallLlvmMingwFfmpeg
|
$llvmMingwRes = InstallLlvmMingwFfmpeg
|
||||||
|
$androidArmV7Res = InstallAndroidArmv7
|
||||||
|
|
||||||
Write-Host "Ffmpeg installation results:"
|
Write-Host "Ffmpeg installation results:"
|
||||||
Write-Host " mingw:" $(if ($mingwRes) { "OK" } else { "FAIL" })
|
Write-Host " mingw:" $(if ($mingwRes) { "OK" } else { "FAIL" })
|
||||||
Write-Host " msvc:" $(if ($msvcRes) { "OK" } else { "FAIL" })
|
Write-Host " msvc:" $(if ($msvcRes) { "OK" } else { "FAIL" })
|
||||||
Write-Host " llvm-mingw:" $(if ($llvmMingwRes) { "OK" } else { "FAIL" })
|
Write-Host " llvm-mingw:" $(if ($llvmMingwRes) { "OK" } else { "FAIL" })
|
||||||
|
Write-Host " android-armv7:" $(if ($androidArmV7Res) { "OK" } else { "FAIL" })
|
||||||
|
|
||||||
exit $(if ($mingwRes -and $msvcRes -and $llvmMingwRes) { 0 } else { 1 })
|
exit $(if ($mingwRes -and $msvcRes -and $llvmMingwRes -and $androidArmV7Res) { 0 } else { 1 })
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2019 The Qt Company Ltd.
|
## Copyright (C) 2023 The Qt Company Ltd.
|
||||||
## Contact: https://www.qt.io/licensing/
|
## Contact: https://www.qt.io/licensing/
|
||||||
##
|
##
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
@@ -42,48 +42,37 @@
|
|||||||
# This script installs MySQL $version.
|
# This script installs MySQL $version.
|
||||||
# Both x86 and x64 versions needed when x86 integrations are done on x64 machine
|
# Both x86 and x64 versions needed when x86 integrations are done on x64 machine
|
||||||
|
|
||||||
$version = "5.7.25"
|
$version = "6.1.11"
|
||||||
$baseNameX64 = "mysql-$version-winx64"
|
$installFolder = "C:\Utils"
|
||||||
$packagex64 = "C:\Windows\temp\$baseNameX64.zip"
|
$officialUrl = "https://downloads.mysql.com/archives/get/p/19/file/mysql-connector-c-${version}-winx64.zip"
|
||||||
$baseNameX86 = "mysql-$version-win32"
|
$officialUrlDebug = "https://downloads.mysql.com/archives/get/p/19/file/mysql-connector-${version}-winx64-debug.zip"
|
||||||
$packagex86 = "C:\Windows\temp\$baseNameX86.zip"
|
$cacheURl = "http://ci-files01-hki.ci.qt.io/input/windows/mysql-connector-c-${version}-winx64.zip"
|
||||||
$installFolder = "C:\Utils\my_sql"
|
$cacheURlDebug = "http://ci-files01-hki.ci.qt.io/input/windows/mysql-connector-c-${version}-winx64-debug.zip"
|
||||||
|
$sha = "93e22a1ba3944a6c8e01d3ea04c1bfb005b238f9"
|
||||||
|
$shaDebug = "d54088a9182e2f03b4d6f44c327e341eeab16367"
|
||||||
|
$zip = Get-DownloadLocation ("mysql-connector-c-" + $version + "-winx64.zip")
|
||||||
|
$zipDebug = Get-DownloadLocation ("mysql-connector-c-" + $version + "-winx64-debug.zip")
|
||||||
|
|
||||||
function DownloadAndInstall
|
function Install {
|
||||||
{
|
param(
|
||||||
Param (
|
[string]$officialUrl,
|
||||||
[string]$internalUrl,
|
[string]$cacheUrl,
|
||||||
[string]$package,
|
[string]$zip,
|
||||||
[string]$installPath
|
[string]$sha
|
||||||
)
|
)
|
||||||
|
|
||||||
Write-Host "Fetching from URL ..."
|
Download $officialUrl $cacheURl $zip
|
||||||
Copy-Item $internalUrl $package
|
Verify-Checksum $zip $sha
|
||||||
|
Extract-7Zip $zip $installFolder
|
||||||
$zipDir = [io.path]::GetFileNameWithoutExtension($package)
|
Remove $zip
|
||||||
Extract-7Zip $package $installPath "$zipDir\lib $zipDir\bin $zipDir\share $zipDir\include"
|
|
||||||
|
|
||||||
Remove "$package"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Is64BitWinHost) {
|
Install $officialUrl $cacheURl $zip $sha
|
||||||
# Install x64 bit version
|
Install $officialUrlDebug $cacheURlDebug $zipDebug $shaDebug
|
||||||
$architecture = "x64"
|
|
||||||
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\mysql-$version-winx64.zip"
|
|
||||||
|
|
||||||
DownloadAndInstall $internalUrl $packagex64 $installFolder
|
# Can't set MySQL_ROOT & MySQL_LIBRARY_DIR variables. Those will enable mysql in every windows target.
|
||||||
|
# Let's use ENV_MySQL_* and use it in platform_configs
|
||||||
|
Set-EnvironmentVariable "ENV_MySQL_ROOT" "${installFolder}\mysql-connector-c-${version}-winx64"
|
||||||
|
Set-EnvironmentVariable "ENV_MySQL_LIBRARY_DIR" "${installFolder}\mysql-connector-c-${version}-winx64\lib\vs14"
|
||||||
|
|
||||||
Set-EnvironmentVariable "MYSQL_INCLUDE_x64" "$installFolder\$baseNameX64\include"
|
|
||||||
Set-EnvironmentVariable "MYSQL_LIB_x64" "$installFolder\$baseNameX64\lib"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Install x86 bit version
|
|
||||||
$architecture = "x86"
|
|
||||||
$internalUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\mysql-$version-win32.zip"
|
|
||||||
DownloadAndInstall $internalUrl $packagex86 $installFolder
|
|
||||||
|
|
||||||
Set-EnvironmentVariable "MYSQL_INCLUDE_x86" "$installFolder\$baseNameX86\include"
|
|
||||||
Set-EnvironmentVariable "MYSQL_LIB_x86" "$installFolder\$baseNameX86\lib"
|
|
||||||
|
|
||||||
# Store version information to ~/versions.txt, which is used to print version information to provision log.
|
|
||||||
Write-Output "MySQL = $version" >> ~/versions.txt
|
Write-Output "MySQL = $version" >> ~/versions.txt
|
||||||
|
|||||||
@@ -104,31 +104,7 @@ $env:Path = $oldPath
|
|||||||
|
|
||||||
### MSVC
|
### MSVC
|
||||||
|
|
||||||
# Add cl to path if it is not already there
|
EnterVSDevShell
|
||||||
if (!(Get-Command cl.exe -ErrorAction SilentlyContinue)) {
|
|
||||||
$vswhere = "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe"
|
|
||||||
$vc_component = "Microsoft.VisualStudio.Component.VC.CoreIde"
|
|
||||||
# We pick the oldest build tools we can find and use that to be compatible with it and any newer version:
|
|
||||||
# If MSVC has an ABI break this will stop working, and yet another build must be added.
|
|
||||||
$vs_location = (& $vswhere -nologo -products * -requires $vc_component -sort -format value -property installationPath | Select-Object -Last 1)
|
|
||||||
$vcvars_location = Join-Path $vs_location "VC\Auxiliary\Build\"
|
|
||||||
|
|
||||||
Push-Location $vcvars_location
|
|
||||||
|
|
||||||
# This snippet was stolen from https://stackoverflow.com/a/2124759
|
|
||||||
# Grabs all the environment variables that the script has set and assigns it
|
|
||||||
# to environment variables in PowerShell (calling batch files creates a
|
|
||||||
# cmd.exe instance which does not propagate environment variables)
|
|
||||||
cmd /c "vcvarsall.bat $env:PROCESSOR_ARCHITECTURE & set" |
|
|
||||||
ForEach-Object {
|
|
||||||
if ($_ -match "=") {
|
|
||||||
$v = $_.Split("=");
|
|
||||||
Set-Item -Force -Path "ENV:\$($v[0])" -Value "$($v[1])"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Pop-Location
|
|
||||||
}
|
|
||||||
|
|
||||||
# We pass along an extra argument to stop protobuf linking with the static runtime
|
# We pass along an extra argument to stop protobuf linking with the static runtime
|
||||||
build-install-protobuf -CC "cl" -CXX "cl" -BuildType "Release" -Postfix "msvc" -ExtraArguments @("-Dprotobuf_MSVC_STATIC_RUNTIME=OFF")
|
build-install-protobuf -CC "cl" -CXX "cl" -BuildType "Release" -Postfix "msvc" -ExtraArguments @("-Dprotobuf_MSVC_STATIC_RUNTIME=OFF")
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
echo "ETHTOOL_OPTS='-K \${DEVICE} tso off'" | sudo tee -a /etc/sysconfig/network-scripts/ifcfg-Wired_connection_1
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
"$(dirname "$0")"/../common/unix/telegraf_install.sh
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Ipv6 link local becomes tentative and dadfailed if two systems has the same secret_key
|
|
||||||
# New unique secret key will be created automatically during start up.
|
|
||||||
# https://access.redhat.com/solutions/3553581
|
|
||||||
echo "Removing secret_key"
|
|
||||||
sudo rm -f "/var/lib/NetworkManager/secret_key"
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2020 The Qt Company Ltd.
|
|
||||||
## Contact: https://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL$
|
|
||||||
## 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 https://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at https://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 3 as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
|
||||||
## packaging of this file. Please review the following information to
|
|
||||||
## ensure the GNU Lesser General Public License version 3 requirements
|
|
||||||
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
|
||||||
##
|
|
||||||
## GNU General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU
|
|
||||||
## General Public License version 2.0 or (at your option) the GNU General
|
|
||||||
## Public license version 3 or any later version approved by the KDE Free
|
|
||||||
## Qt Foundation. The licenses are as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
|
||||||
## included in the packaging of this file. Please review the following
|
|
||||||
## information to ensure the GNU General Public License requirements will
|
|
||||||
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
|
||||||
## https://www.gnu.org/licenses/gpl-3.0.html.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
echo "Change default stable-secret to based on MAC"
|
|
||||||
sudo sed -i '/^IPV6_ADDR_GEN_MODE/d' "/etc/sysconfig/network-scripts/ifcfg-ens192"
|
|
||||||
@@ -1,90 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2020 The Qt Company Ltd.
|
|
||||||
## Contact: https://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL$
|
|
||||||
## 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 https://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at https://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 3 as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
|
||||||
## packaging of this file. Please review the following information to
|
|
||||||
## ensure the GNU Lesser General Public License version 3 requirements
|
|
||||||
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
|
||||||
##
|
|
||||||
## GNU General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU
|
|
||||||
## General Public License version 2.0 or (at your option) the GNU General
|
|
||||||
## Public license version 3 or any later version approved by the KDE Free
|
|
||||||
## Qt Foundation. The licenses are as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
|
||||||
## included in the packaging of this file. Please review the following
|
|
||||||
## information to ensure the GNU General Public License requirements will
|
|
||||||
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
|
||||||
## https://www.gnu.org/licenses/gpl-3.0.html.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
sudo rm -f /etc/yum.repos.d/*.repo
|
|
||||||
|
|
||||||
sudo tee "/etc/yum.repos.d/local.repo" > /dev/null <<EOC
|
|
||||||
[BaseOS]
|
|
||||||
name = Qt Centos-8 - Base
|
|
||||||
metadata_expire = 86400
|
|
||||||
baseurl = http://repo-clones.ci.qt.io/repos/centos/8/BaseOS/x86_64/os/
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
|
|
||||||
enabled = 1
|
|
||||||
gpgcheck = 1
|
|
||||||
|
|
||||||
[AppStream]
|
|
||||||
name = Qt Centos-8 - AppStream
|
|
||||||
metadata_expire = 86400
|
|
||||||
baseurl = http://repo-clones.ci.qt.io/repos/centos/8/AppStream/x86_64/os/
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
|
|
||||||
enabled = 1
|
|
||||||
gpgcheck = 1
|
|
||||||
|
|
||||||
[PowerTools]
|
|
||||||
name = Qt Centos-8 - PowerTools
|
|
||||||
metadata_expire = 86400
|
|
||||||
baseurl = http://repo-clones.ci.qt.io/repos/centos/8/PowerTools/x86_64/os/
|
|
||||||
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
|
|
||||||
enabled = 1
|
|
||||||
gpgcheck = 1
|
|
||||||
|
|
||||||
[epel]
|
|
||||||
name = Qt Centos-8 - EPEL
|
|
||||||
metadata_expire = 86400
|
|
||||||
baseurl = http://repo-clones.ci.qt.io/repos/centos/epel/8/Everything/x86_64/
|
|
||||||
enabled = 1
|
|
||||||
gpgcheck = 1
|
|
||||||
gpgkey = http://repo-clones.ci.qt.io/repos/centos/epel/RPM-GPG-KEY-EPEL-8
|
|
||||||
|
|
||||||
[epel-playground]
|
|
||||||
name = Qt Centos-8 - EPEL Playground
|
|
||||||
metadata_expire = 86400
|
|
||||||
baseurl = http://repo-clones.ci.qt.io/repos/centos/epel/playground/8/Everything/x86_64/os/
|
|
||||||
enabled = 1
|
|
||||||
gpgcheck = 1
|
|
||||||
gpgkey = http://repo-clones.ci.qt.io/repos/centos/epel/RPM-GPG-KEY-EPEL-8
|
|
||||||
EOC
|
|
||||||
|
|
||||||
sudo yum clean all
|
|
||||||
# As well as this fetching the repository data, we also get a printout of the used repos
|
|
||||||
sudo yum repolist
|
|
||||||
@@ -1,176 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2020 The Qt Company Ltd.
|
|
||||||
## Contact: https://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL$
|
|
||||||
## 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 https://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at https://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 3 as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
|
||||||
## packaging of this file. Please review the following information to
|
|
||||||
## ensure the GNU Lesser General Public License version 3 requirements
|
|
||||||
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
|
||||||
##
|
|
||||||
## GNU General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU
|
|
||||||
## General Public License version 2.0 or (at your option) the GNU General
|
|
||||||
## Public license version 3 or any later version approved by the KDE Free
|
|
||||||
## Qt Foundation. The licenses are as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
|
||||||
## included in the packaging of this file. Please review the following
|
|
||||||
## information to ensure the GNU General Public License requirements will
|
|
||||||
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
|
||||||
## https://www.gnu.org/licenses/gpl-3.0.html.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# Remove update notifications and packagekit running in the background
|
|
||||||
sudo yum -y remove PackageKit gnome-software
|
|
||||||
|
|
||||||
installPackages=()
|
|
||||||
installPackages+=(git)
|
|
||||||
installPackages+=(zlib-devel)
|
|
||||||
installPackages+=(glib2-devel)
|
|
||||||
installPackages+=(openssl-devel)
|
|
||||||
installPackages+=(freetype-devel)
|
|
||||||
installPackages+=(fontconfig-devel)
|
|
||||||
installPackages+=(curl-devel)
|
|
||||||
installPackages+=(expat-devel)
|
|
||||||
installPackages+=(gettext-devel)
|
|
||||||
installPackages+=(perl-devel)
|
|
||||||
installPackages+=(dh-autoreconf)
|
|
||||||
# cmake build
|
|
||||||
installPackages+=(ninja-build)
|
|
||||||
installPackages+=(pcre2-devel)
|
|
||||||
installPackages+=(double-conversion-devel)
|
|
||||||
installPackages+=(zstd)
|
|
||||||
# EGL support
|
|
||||||
installPackages+=(mesa-libEGL-devel)
|
|
||||||
installPackages+=(mesa-libGL-devel)
|
|
||||||
installPackages+=(libxkbfile-devel)
|
|
||||||
# Xinput2
|
|
||||||
installPackages+=(libXi-devel)
|
|
||||||
installPackages+=(mysql-server)
|
|
||||||
installPackages+=(mysql)
|
|
||||||
installPackages+=(mysql-devel)
|
|
||||||
installPackages+=(postgresql-devel)
|
|
||||||
installPackages+=(cups-devel)
|
|
||||||
installPackages+=(dbus-devel)
|
|
||||||
# gstreamer 1 for QtMultimedia
|
|
||||||
# Note! gstreamer1-plugins-bad-free needs to be upgraded or it will conflicts with gstreamer1-plugins-base-devel
|
|
||||||
installPackages+=(gstreamer1-plugins-bad-free)
|
|
||||||
installPackages+=(gstreamer1-devel)
|
|
||||||
installPackages+=(gstreamer1-plugins-base-devel)
|
|
||||||
# yasm for QtMultimedia
|
|
||||||
installPackages+=(yasm)
|
|
||||||
# gtk3 style for QtGui/QStyle
|
|
||||||
installPackages+=(gtk3-devel)
|
|
||||||
# libusb1 for tqtc-boot2qt/qdb
|
|
||||||
installPackages+=(libusbx-devel)
|
|
||||||
# speech-dispatcher-devel for QtSpeech, otherwise it has no backend on Linux
|
|
||||||
installPackages+=(speech-dispatcher-devel)
|
|
||||||
# Python 2 devel and pip. python-pip requires the EPEL repository to be added
|
|
||||||
installPackages+=(python2-devel python2-pip)
|
|
||||||
# Python 3 with python-devel, pip and virtualenv
|
|
||||||
installPackages+=(python36)
|
|
||||||
installPackages+=(python36-devel)
|
|
||||||
# WebEngine
|
|
||||||
installPackages+=(bison)
|
|
||||||
installPackages+=(flex)
|
|
||||||
installPackages+=(gperf)
|
|
||||||
installPackages+=(alsa-lib-devel)
|
|
||||||
installPackages+=(pulseaudio-libs-devel)
|
|
||||||
installPackages+=(libXtst-devel)
|
|
||||||
installPackages+=(nspr-devel)
|
|
||||||
installPackages+=(nss-devel)
|
|
||||||
# For Android builds
|
|
||||||
installPackages+=(java-1.8.0-openjdk-devel)
|
|
||||||
# For receiving shasum
|
|
||||||
installPackages+=(perl-Digest-SHA)
|
|
||||||
# INTEGRITY requirements
|
|
||||||
installPackages+=(glibc.i686)
|
|
||||||
# Enable Qt Bluetooth
|
|
||||||
installPackages+=(bluez-libs-devel)
|
|
||||||
# QtWebKit
|
|
||||||
installPackages+=(libxml2-devel)
|
|
||||||
installPackages+=(libxslt-devel)
|
|
||||||
# For building Wayland from source
|
|
||||||
installPackages+=(libffi-devel)
|
|
||||||
# QtWayland
|
|
||||||
installPackages+=(mesa-libwayland-egl)
|
|
||||||
installPackages+=(mesa-libwayland-egl-devel)
|
|
||||||
installPackages+=(libwayland-client)
|
|
||||||
installPackages+=(libwayland-cursor)
|
|
||||||
installPackages+=(libwayland-server)
|
|
||||||
# Jenkins
|
|
||||||
installPackages+=(chrpath)
|
|
||||||
# libxkbcommon
|
|
||||||
installPackages+=(libxkbcommon-devel)
|
|
||||||
installPackages+=(libxkbcommon-x11-devel)
|
|
||||||
# xcb-util-* libraries
|
|
||||||
installPackages+=(xcb-util-devel)
|
|
||||||
installPackages+=(xcb-util-image-devel)
|
|
||||||
installPackages+=(xcb-util-keysyms-devel)
|
|
||||||
installPackages+=(xcb-util-wm-devel)
|
|
||||||
installPackages+=(xcb-util-renderutil-devel)
|
|
||||||
installPackages+=(xcb-util-cursor)
|
|
||||||
installPackages+=(xcb-util-cursor-devel)
|
|
||||||
|
|
||||||
# ODBC support
|
|
||||||
installPackages+=(unixODBC-devel)
|
|
||||||
installPackages+=(unixODBC)
|
|
||||||
# Vulkan support
|
|
||||||
installPackages+=(vulkan-devel)
|
|
||||||
installPackages+=(vulkan-tools)
|
|
||||||
# Conan: For Python build
|
|
||||||
installPackages+=(xz-devel)
|
|
||||||
installPackages+=(zlib-devel)
|
|
||||||
installPackages+=(libffi-devel)
|
|
||||||
installPackages+=(libsqlite3x-devel)
|
|
||||||
# Build.pl
|
|
||||||
installPackages+=(perl-Data-Dumper)
|
|
||||||
# In RedHat these come with Devtoolset
|
|
||||||
installPackages+=(gcc)
|
|
||||||
installPackages+=(gcc-c++)
|
|
||||||
installPackages+=(libstdc++-static)
|
|
||||||
installPackages+=(make)
|
|
||||||
# Open source VMware Tools
|
|
||||||
installPackages+=(open-vm-tools)
|
|
||||||
|
|
||||||
sudo yum -y install "${installPackages[@]}"
|
|
||||||
|
|
||||||
sudo ln -s /usr/bin/python2 /usr/bin/python
|
|
||||||
|
|
||||||
# We shouldn't use yum to install virtualenv. The one found from package repo is not
|
|
||||||
# working, but we can use installed pip
|
|
||||||
sudo pip3 install --upgrade pip
|
|
||||||
sudo pip3 install virtualenv wheel
|
|
||||||
|
|
||||||
sudo /usr/bin/pip3 install wheel
|
|
||||||
# Install all needed packages in a special wheel cache directory
|
|
||||||
/usr/bin/pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
|
|
||||||
|
|
||||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
|
||||||
SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
|
|
||||||
|
|
||||||
OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
|
||||||
echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
|
||||||
|
|
||||||
@@ -1,52 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
|
||||||
## Contact: https://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL$
|
|
||||||
## 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 https://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at https://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 3 as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
|
||||||
## packaging of this file. Please review the following information to
|
|
||||||
## ensure the GNU Lesser General Public License version 3 requirements
|
|
||||||
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
|
||||||
##
|
|
||||||
## GNU General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU
|
|
||||||
## General Public License version 2.0 or (at your option) the GNU General
|
|
||||||
## Public license version 3 or any later version approved by the KDE Free
|
|
||||||
## Qt Foundation. The licenses are as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
|
||||||
## included in the packaging of this file. Please review the following
|
|
||||||
## information to ensure the GNU General Public License requirements will
|
|
||||||
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
|
||||||
## https://www.gnu.org/licenses/gpl-3.0.html.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
name="p7zip"
|
|
||||||
version="7-11"
|
|
||||||
sudo yum -y install "$name"
|
|
||||||
|
|
||||||
# Link 7za to 7z so we can use existing installation scripts
|
|
||||||
sudo ln -s /usr/bin/7za /usr/bin/7z
|
|
||||||
|
|
||||||
echo "$name = $version" >> ~/versions.txt
|
|
||||||
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
# shellcheck source=../common/unix/libclang-v100-dyn.sh
|
|
||||||
"$BASEDIR/../common/unix/libclang-v100-dyn.sh"
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
# shellcheck source=../common/unix/libclang.sh
|
|
||||||
"$BASEDIR/../common/unix/libclang.sh"
|
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
|
||||||
## Contact: https://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL$
|
|
||||||
## 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 https://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at https://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 3 as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
|
||||||
## packaging of this file. Please review the following information to
|
|
||||||
## ensure the GNU Lesser General Public License version 3 requirements
|
|
||||||
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
|
||||||
##
|
|
||||||
## GNU General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU
|
|
||||||
## General Public License version 2.0 or (at your option) the GNU General
|
|
||||||
## Public license version 3 or any later version approved by the KDE Free
|
|
||||||
## Qt Foundation. The licenses are as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
|
||||||
## included in the packaging of this file. Please review the following
|
|
||||||
## information to ensure the GNU General Public License requirements will
|
|
||||||
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
|
||||||
## https://www.gnu.org/licenses/gpl-3.0.html.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck source=../common/linux/integrity.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/integrity.sh"
|
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
|
||||||
## Contact: https://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL$
|
|
||||||
## 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 https://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at https://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 3 as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
|
||||||
## packaging of this file. Please review the following information to
|
|
||||||
## ensure the GNU Lesser General Public License version 3 requirements
|
|
||||||
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
|
||||||
##
|
|
||||||
## GNU General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU
|
|
||||||
## General Public License version 2.0 or (at your option) the GNU General
|
|
||||||
## Public license version 3 or any later version approved by the KDE Free
|
|
||||||
## Qt Foundation. The licenses are as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
|
||||||
## included in the packaging of this file. Please review the following
|
|
||||||
## information to ensure the GNU General Public License requirements will
|
|
||||||
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
|
||||||
## https://www.gnu.org/licenses/gpl-3.0.html.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck source=../common/linux/disable_selinux.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/disable_selinux.sh"
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/sccache.sh"
|
|
||||||
@@ -1,43 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
|
||||||
## Contact: https://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL$
|
|
||||||
## 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 https://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at https://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 3 as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
|
||||||
## packaging of this file. Please review the following information to
|
|
||||||
## ensure the GNU Lesser General Public License version 3 requirements
|
|
||||||
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
|
||||||
##
|
|
||||||
## GNU General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU
|
|
||||||
## General Public License version 2.0 or (at your option) the GNU General
|
|
||||||
## Public license version 3 or any later version approved by the KDE Free
|
|
||||||
## Qt Foundation. The licenses are as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
|
||||||
## included in the packaging of this file. Please review the following
|
|
||||||
## information to ensure the GNU General Public License requirements will
|
|
||||||
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
|
||||||
## https://www.gnu.org/licenses/gpl-3.0.html.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# shellcheck source=../common/unix/mqtt_broker.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/mqtt_broker.sh"
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
"$BASEDIR/../common/linux/fbx_linux.sh"
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
"$BASEDIR/../common/unix/install-conan.sh" "linux"
|
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2018 The Qt Company Ltd.
|
|
||||||
## Contact: https://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL$
|
|
||||||
## 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 https://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at https://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 3 as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
|
||||||
## packaging of this file. Please review the following information to
|
|
||||||
## ensure the GNU Lesser General Public License version 3 requirements
|
|
||||||
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
|
||||||
##
|
|
||||||
## GNU General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU
|
|
||||||
## General Public License version 2.0 or (at your option) the GNU General
|
|
||||||
## Public license version 3 or any later version approved by the KDE Free
|
|
||||||
## Qt Foundation. The licenses are as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
|
||||||
## included in the packaging of this file. Please review the following
|
|
||||||
## information to ensure the GNU General Public License requirements will
|
|
||||||
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
|
||||||
## https://www.gnu.org/licenses/gpl-3.0.html.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# shellcheck source=../common/unix/DownloadURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# This script will install ICU
|
|
||||||
|
|
||||||
icuVersion="56.1"
|
|
||||||
icuLocation="/usr/lib64"
|
|
||||||
sha1="6dd9ca6b185681a7ddc4bb94fd7fced27647a21c"
|
|
||||||
baseBinaryPackageURL="http://ci-files01-hki.intra.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel7.2-x64.7z"
|
|
||||||
baseBinaryPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel7.2-x64.7z"
|
|
||||||
|
|
||||||
sha1Dev="bffde26cdea752bee0edd281820c57f1adac3864"
|
|
||||||
develPackageURL="http://ci-files01-hki.intra.qt.io/input/icu/$icuVersion/icu-linux-g++-Rhel7.2-x64-devel.7z"
|
|
||||||
develPackageExternalURL="http://master.qt.io/development_releases/prebuilt/icu/prebuilt/$icuVersion/icu-linux-g++-Rhel7.2-x64-devel.7z"
|
|
||||||
|
|
||||||
echo "Installing custom ICU $icuVersion $sha1 packages on CentOS to $icuLocation"
|
|
||||||
|
|
||||||
targetFile=$(mktemp)
|
|
||||||
DownloadURL "$baseBinaryPackageURL" "$baseBinaryPackageExternalURL" "$sha1" "$targetFile"
|
|
||||||
sudo 7z x -y -o/usr/lib64 "$targetFile"
|
|
||||||
sudo rm "$targetFile"
|
|
||||||
|
|
||||||
echo "Installing custom ICU devel packages on CentOS"
|
|
||||||
|
|
||||||
tempDir=$(mktemp -d)
|
|
||||||
|
|
||||||
targetFile=$(mktemp)
|
|
||||||
DownloadURL "$develPackageURL" "$develPackageExternalURL" "$sha1Dev" "$targetFile"
|
|
||||||
7z x -y -o"$tempDir" "$targetFile"
|
|
||||||
|
|
||||||
sudo cp -a "$tempDir"/lib/* /usr/lib64
|
|
||||||
sudo cp -a "$tempDir"/* /usr/
|
|
||||||
|
|
||||||
sudo rm "$targetFile"
|
|
||||||
sudo rm -fr "$tempDir"
|
|
||||||
|
|
||||||
sudo /sbin/ldconfig
|
|
||||||
|
|
||||||
echo "ICU = $icuVersion" >> ~/versions.txt
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck source=../common/unix/install-breakpad.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/install-breakpad.sh"
|
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
|
||||||
## Contact: https://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL$
|
|
||||||
## 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 https://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at https://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 3 as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
|
||||||
## packaging of this file. Please review the following information to
|
|
||||||
## ensure the GNU Lesser General Public License version 3 requirements
|
|
||||||
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
|
||||||
##
|
|
||||||
## GNU General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU
|
|
||||||
## General Public License version 2.0 or (at your option) the GNU General
|
|
||||||
## Public license version 3 or any later version approved by the KDE Free
|
|
||||||
## Qt Foundation. The licenses are as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
|
||||||
## included in the packaging of this file. Please review the following
|
|
||||||
## information to ensure the GNU General Public License requirements will
|
|
||||||
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
|
||||||
## https://www.gnu.org/licenses/gpl-3.0.html.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck source=../common/linux/android_linux.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/android_linux.sh"
|
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2018 The Qt Company Ltd.
|
|
||||||
## Contact: https://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL$
|
|
||||||
## 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 https://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at https://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 3 as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
|
||||||
## packaging of this file. Please review the following information to
|
|
||||||
## ensure the GNU Lesser General Public License version 3 requirements
|
|
||||||
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
|
||||||
##
|
|
||||||
## GNU General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU
|
|
||||||
## General Public License version 2.0 or (at your option) the GNU General
|
|
||||||
## Public license version 3 or any later version approved by the KDE Free
|
|
||||||
## Qt Foundation. The licenses are as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
|
||||||
## included in the packaging of this file. Please review the following
|
|
||||||
## information to ensure the GNU General Public License requirements will
|
|
||||||
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
|
||||||
## https://www.gnu.org/licenses/gpl-3.0.html.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck source=../common/unix/install_protobuf.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/install_protobuf.sh"
|
|
||||||
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2020 The Qt Company Ltd.
|
|
||||||
## Contact: https://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL$
|
|
||||||
## 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 https://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at https://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 3 as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
|
||||||
## packaging of this file. Please review the following information to
|
|
||||||
## ensure the GNU Lesser General Public License version 3 requirements
|
|
||||||
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
|
||||||
##
|
|
||||||
## GNU General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU
|
|
||||||
## General Public License version 2.0 or (at your option) the GNU General
|
|
||||||
## Public license version 3 or any later version approved by the KDE Free
|
|
||||||
## Qt Foundation. The licenses are as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
|
||||||
## included in the packaging of this file. Please review the following
|
|
||||||
## information to ensure the GNU General Public License requirements will
|
|
||||||
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
|
||||||
## https://www.gnu.org/licenses/gpl-3.0.html.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# This script installs QEMU Guest Agent
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
sudo yum -y install qemu-guest-agent
|
|
||||||
sudo systemctl start qemu-guest-agent
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2020 Konstantin Tokarev <annulen@yandex.ru>
|
|
||||||
## Contact: https://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL$
|
|
||||||
## 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 https://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at https://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 3 as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
|
||||||
## packaging of this file. Please review the following information to
|
|
||||||
## ensure the GNU Lesser General Public License version 3 requirements
|
|
||||||
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
|
||||||
##
|
|
||||||
## GNU General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU
|
|
||||||
## General Public License version 2.0 or (at your option) the GNU General
|
|
||||||
## Public license version 3 or any later version approved by the KDE Free
|
|
||||||
## Qt Foundation. The licenses are as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
|
||||||
## included in the packaging of this file. Please review the following
|
|
||||||
## information to ensure the GNU General Public License requirements will
|
|
||||||
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
|
||||||
## https://www.gnu.org/licenses/gpl-3.0.html.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
sudo yum -y install elfutils-libelf-devel
|
|
||||||
|
|
||||||
# shellcheck source=../common/linux/install_dwz.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/linux/install_dwz.sh"
|
|
||||||
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "linux"
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
BASEDIR=$(dirname "$0")
|
|
||||||
"$BASEDIR/../common/unix/squishInstall.sh"
|
|
||||||
|
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2022 The Qt Company Ltd.
|
|
||||||
## Contact: https://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL$
|
|
||||||
## 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 https://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at https://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 3 as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
|
||||||
## packaging of this file. Please review the following information to
|
|
||||||
## ensure the GNU Lesser General Public License version 3 requirements
|
|
||||||
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
|
||||||
##
|
|
||||||
## GNU General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU
|
|
||||||
## General Public License version 2.0 or (at your option) the GNU General
|
|
||||||
## Public license version 3 or any later version approved by the KDE Free
|
|
||||||
## Qt Foundation. The licenses are as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
|
||||||
## included in the packaging of this file. Please review the following
|
|
||||||
## information to ensure the GNU General Public License requirements will
|
|
||||||
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
|
||||||
## https://www.gnu.org/licenses/gpl-3.0.html.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
"$(dirname "$0")"/../common/linux/cleanup_cache.sh
|
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
|
||||||
|
|
||||||
@@ -39,27 +39,42 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
|
# This script modifies system settings for automated use
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
# shellcheck source=../common/unix/check_and_set_proxy.sh
|
||||||
# shellcheck source=../common/shared/network_test_server_ip.txt
|
source "${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh"
|
||||||
source "$BASEDIR/../common/shared/network_test_server_ip.txt"
|
|
||||||
|
|
||||||
echo "Set Network Test Server address to $network_test_server_ip in /etc/hosts"
|
NTS_IP=10.212.2.216
|
||||||
echo "$network_test_server_ip qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
|
||||||
echo "Set DISPLAY"
|
|
||||||
echo 'export DISPLAY=":0"' >> ~/.bashrc
|
|
||||||
# for current session
|
|
||||||
export DISPLAY=:0
|
|
||||||
|
|
||||||
# Set timezone to UTC.
|
echo "Set timezone to UTC."
|
||||||
sudo timedatectl set-timezone Etc/UTC
|
sudo timedatectl set-timezone Etc/UTC
|
||||||
# disable Automatic screen lock
|
echo "Timeout for blanking the screen (0 = never)"
|
||||||
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
|
||||||
# disable blank screen power saving
|
|
||||||
gsettings set org.gnome.desktop.session idle-delay 0
|
gsettings set org.gnome.desktop.session idle-delay 0
|
||||||
|
echo "Prevents screen lock when screesaver goes active."
|
||||||
|
gsettings set org.gnome.desktop.screensaver lock-enabled false
|
||||||
|
echo "Set grub timeout to 0"
|
||||||
|
sudo sed -i 's|GRUB_TIMEOUT=10|GRUB_TIMEOUT=0|g' /etc/default/grub
|
||||||
|
sudo update-grub
|
||||||
|
|
||||||
# Set Wayland enable as false. CentOS may start using Wayland instead of x-session randomly if this is not set
|
# https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1624320
|
||||||
echo "Setting Wayland enable as false"
|
# Checking if Ubuntu 20.04 works without this
|
||||||
sudo sed -i 's/#WaylandEnable=false/WaylandEnable=false/g' /etc/gdm/custom.conf
|
#echo "Setting up workaround for Ubuntu systemd resolve bug"
|
||||||
|
#sudo rm -f /etc/resolv.conf
|
||||||
|
#sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
|
||||||
|
|
||||||
|
# remove hostname to get unique based on IP address
|
||||||
|
sudo rm /etc/hostname
|
||||||
|
|
||||||
|
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
|
||||||
|
echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts
|
||||||
|
|
||||||
|
echo 'LC_ALL=en_US.UTF8' | sudo tee /etc/default/locale
|
||||||
|
|
||||||
|
if [ "$http_proxy" != "" ]; then
|
||||||
|
echo "Acquire::http::Proxy \"$proxy\";" | sudo tee -a /etc/apt/apt.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
# This script diverts qtlogging.ini file so we don't get debugging related auto-test failures.
|
||||||
|
sudo dpkg-divert --divert /etc/xdg/QtProject/qtlogging.ini.foo --rename /etc/xdg/QtProject/qtlogging.ini
|
||||||
298
coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-apt.sh
Executable file
298
coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-apt.sh
Executable file
@@ -0,0 +1,298 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2021 The Qt Company Ltd.
|
||||||
|
## Contact: https://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL$
|
||||||
|
## 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 https://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at https://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 3 as published by the Free Software
|
||||||
|
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
||||||
|
## packaging of this file. Please review the following information to
|
||||||
|
## ensure the GNU Lesser General Public License version 3 requirements
|
||||||
|
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
||||||
|
##
|
||||||
|
## GNU General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU
|
||||||
|
## General Public License version 2.0 or (at your option) the GNU General
|
||||||
|
## Public license version 3 or any later version approved by the KDE Free
|
||||||
|
## Qt Foundation. The licenses are as published by the Free Software
|
||||||
|
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||||
|
## included in the packaging of this file. Please review the following
|
||||||
|
## information to ensure the GNU General Public License requirements will
|
||||||
|
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
||||||
|
## https://www.gnu.org/licenses/gpl-3.0.html.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# Install required packages with APT
|
||||||
|
|
||||||
|
# shellcheck source=../common/linux/apt_wait_loop.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../common/linux/apt_wait_loop.sh"
|
||||||
|
|
||||||
|
echo "Disabling auto update"
|
||||||
|
sudo tee "/etc/apt/apt.conf.d/20auto-upgrades" > /dev/null <<-EOC
|
||||||
|
APT::Periodic::Update-Package-Lists "0";
|
||||||
|
APT::Periodic::Unattended-Upgrade "1";
|
||||||
|
EOC
|
||||||
|
|
||||||
|
for service in apt-daily.timer apt-daily-upgrade.timer apt-daily.service apt-daily-upgrade.service; do
|
||||||
|
sudo systemctl stop $service
|
||||||
|
sudo systemctl disable $service
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
echo "Using public repositories for now. Repo-clones isn't set yet for Debian use"
|
||||||
|
# (ping -c 3 repo-clones.ci.qt.io && set_internal_repo) || echo "Internal package repository not found. Using public repositories."
|
||||||
|
echo "deb http://deb.debian.org/debian bullseye-backports main" | sudo tee -a /etc/apt/sources.list
|
||||||
|
echo "deb-src http://deb.debian.org/debian bullseye-backports main" | sudo tee -a /etc/apt/sources.list
|
||||||
|
|
||||||
|
# Make sure needed ca-certificates are available
|
||||||
|
sudo apt-get install --reinstall ca-certificates
|
||||||
|
|
||||||
|
# Git is not needed by builds themselves, but is nice to have
|
||||||
|
# immediately as one starts debugging
|
||||||
|
installPackages+=(git)
|
||||||
|
# 7zip is a needed decompressing tool
|
||||||
|
installPackages+=(p7zip-full)
|
||||||
|
# To be able to mount yocto-cache during builds
|
||||||
|
installPackages+=(nfs-common)
|
||||||
|
# libssl-dev provides headers for OpenSSL
|
||||||
|
installPackages+=(libssl-dev)
|
||||||
|
# Needed libraries for X11 support accordingly to https://wiki.qt.io/Building_Qt_5_from_Git
|
||||||
|
installPackages+=("^libxcb.*")
|
||||||
|
installPackages+=(libxkbcommon-dev)
|
||||||
|
installPackages+=(libxkbcommon-x11-dev)
|
||||||
|
installPackages+=(libx11-xcb-dev)
|
||||||
|
installPackages+=(libglu1-mesa-dev)
|
||||||
|
installPackages+=(libxrender-dev)
|
||||||
|
installPackages+=(libxi-dev)
|
||||||
|
# Enable linking to system dbus
|
||||||
|
installPackages+=(libdbus-1-dev)
|
||||||
|
# Needed libraries for WebEngine
|
||||||
|
installPackages+=(udev)
|
||||||
|
installPackages+=(libudev-dev)
|
||||||
|
installPackages+=(libegl1-mesa-dev)
|
||||||
|
installPackages+=(libfontconfig1-dev)
|
||||||
|
installPackages+=(libgbm-dev)
|
||||||
|
installPackages+=(libxkbfile-dev)
|
||||||
|
installPackages+=(libxshmfence-dev)
|
||||||
|
installPackages+=(libxss-dev)
|
||||||
|
## installPackages+=(nodejs-mozilla) # use nodejs-mozilla because nodejs is outdated
|
||||||
|
installPackages+=(nodejs)
|
||||||
|
installPackages+=(python3-html5lib)
|
||||||
|
#
|
||||||
|
## Common event loop handling
|
||||||
|
installPackages+=(libglib2.0-dev)
|
||||||
|
# PostgreSQL support
|
||||||
|
installPackages+=(libpq-dev)
|
||||||
|
# SQLite support
|
||||||
|
installPackages+=(libsqlite3-dev)
|
||||||
|
# ODBC support
|
||||||
|
installPackages+=(unixodbc-dev)
|
||||||
|
# Support for FreeType font engine
|
||||||
|
installPackages+=(libfreetype6-dev)
|
||||||
|
# Enable the usage of system jpeg libraries
|
||||||
|
installPackages+=(libjpeg-dev)
|
||||||
|
# Enable support for printer driver
|
||||||
|
installPackages+=(libcups2-dev)
|
||||||
|
# Enable support for printer test
|
||||||
|
installPackages+=(cups-pdf)
|
||||||
|
# Install libraries needed for QtMultimedia to be able to support all plugins
|
||||||
|
installPackages+=(libasound2-dev)
|
||||||
|
installPackages+=(libgstreamer1.0-dev)
|
||||||
|
installPackages+=(libgstreamer-plugins-base1.0-dev)
|
||||||
|
installPackages+=(libgstreamer-plugins-bad1.0-dev)
|
||||||
|
installPackages+=(libgstreamer-gl1.0-0)
|
||||||
|
installPackages+=(gir1.2-gst-plugins-base-1.0)
|
||||||
|
installPackages+=(gir1.2-gst-plugins-bad-1.0)
|
||||||
|
|
||||||
|
## Support for cross-building to x86 (needed by WebEngine boot2qt builds)
|
||||||
|
#installPackages+=(g++-multilib)
|
||||||
|
## python3 development package
|
||||||
|
#installPackages+=(python3-dev)
|
||||||
|
#installPackages+=(python3-pip)
|
||||||
|
#installPackages+=(virtualenv)
|
||||||
|
#installPackages+=(python3-wheel)
|
||||||
|
## python2 development package
|
||||||
|
#installPackages+=(python2-dev)
|
||||||
|
## Automates interactive applications (Needed by RTA to automate configure testing)
|
||||||
|
installPackages+=(expect)
|
||||||
|
installPackages+=(mesa-common-dev)
|
||||||
|
installPackages+=(libgl1-mesa-glx)
|
||||||
|
installPackages+=(libgl1-mesa-dev)
|
||||||
|
installPackages+=(libegl1-mesa-dev)
|
||||||
|
installPackages+=(libegl1)
|
||||||
|
installPackages+=(libegl-mesa0)
|
||||||
|
installPackages+=(libegl-dev)
|
||||||
|
installPackages+=(libglvnd-dev)
|
||||||
|
installPackages+=(libgles2-mesa-dev)
|
||||||
|
installPackages+=(curl)
|
||||||
|
installPackages+=(libcurl4-openssl-dev)
|
||||||
|
installPackages+=(libicu-dev)
|
||||||
|
installPackages+=(zlib1g-dev)
|
||||||
|
installPackages+=(zlib1g)
|
||||||
|
installPackages+=(openjdk-11-jdk)
|
||||||
|
installPackages+=(libgtk-3-dev)
|
||||||
|
installPackages+=(ninja-build)
|
||||||
|
installPackages+=(libssl-dev)
|
||||||
|
installPackages+=(libxcursor-dev)
|
||||||
|
installPackages+=(libxcomposite-dev)
|
||||||
|
installPackages+=(libxdamage-dev)
|
||||||
|
installPackages+=(libxrandr-dev)
|
||||||
|
installPackages+=(libfontconfig1-dev)
|
||||||
|
installPackages+=(libsrtp2-dev)
|
||||||
|
installPackages+=(libwebp-dev)
|
||||||
|
installPackages+=(libjsoncpp-dev)
|
||||||
|
installPackages+=(libopus-dev)
|
||||||
|
installPackages+=(libminizip-dev)
|
||||||
|
installPackages+=(libavutil-dev)
|
||||||
|
installPackages+=(libavformat-dev)
|
||||||
|
installPackages+=(libavcodec-dev)
|
||||||
|
installPackages+=(libevent-dev)
|
||||||
|
installPackages+=(bison)
|
||||||
|
installPackages+=(flex)
|
||||||
|
installPackages+=(gperf)
|
||||||
|
installPackages+=(libasound2-dev)
|
||||||
|
installPackages+=(libpulse-dev)
|
||||||
|
installPackages+=(libxtst-dev)
|
||||||
|
installPackages+=(libnspr4-dev)
|
||||||
|
installPackages+=(libnss3-dev)
|
||||||
|
installPackages+=(libnss3)
|
||||||
|
installPackages+=(libopenal-dev)
|
||||||
|
installPackages+=(libbluetooth-dev)
|
||||||
|
installPackages+=(dkms)
|
||||||
|
# Needed for qtspeech
|
||||||
|
installPackages+=(libspeechd-dev)
|
||||||
|
#Pypdf for PDF reading in RTA tests
|
||||||
|
installPackages+=(python3-pypdf2)
|
||||||
|
# Needed for b2qt
|
||||||
|
installPackages+=(git-lfs)
|
||||||
|
installPackages+=(chrpath)
|
||||||
|
installPackages+=(gawk)
|
||||||
|
installPackages+=(texinfo)
|
||||||
|
# Needed for Poppler test in QtWebEngine
|
||||||
|
installPackages+=(libpoppler-cpp-dev)
|
||||||
|
# Needed for QtCore
|
||||||
|
installPackages+=(libdouble-conversion-dev)
|
||||||
|
installPackages+=(libpcre2-dev)
|
||||||
|
# Needed for qtgampepad
|
||||||
|
installPackages+=(libsdl2-2.0)
|
||||||
|
installPackages+=(libsdl2-dev)
|
||||||
|
# Needed for qtwebkit
|
||||||
|
installPackages+=(ruby)
|
||||||
|
installPackages+=(libxslt1-dev)
|
||||||
|
installPackages+=(libxml2-dev)
|
||||||
|
installPackages+=(libhyphen-dev)
|
||||||
|
## For remote access
|
||||||
|
installPackages+=(ssh)
|
||||||
|
## For bitbake
|
||||||
|
installPackages+=(diffstat)
|
||||||
|
installPackages+=(binfmt-support)
|
||||||
|
installPackages+=(zstd)
|
||||||
|
# Vulkan is needed for examples
|
||||||
|
installPackages+=(libvulkan-dev)
|
||||||
|
# Needed for qtdltlogging
|
||||||
|
installPackages+=(libdlt-dev)
|
||||||
|
# For QNX
|
||||||
|
installPackages+=(nfs-kernel-server)
|
||||||
|
installPackages+=(net-tools)
|
||||||
|
installPackages+=(bridge-utils)
|
||||||
|
## For debian building debian packages
|
||||||
|
installPackages+=(sbuild)
|
||||||
|
installPackages+=(apt-cacher-ng)
|
||||||
|
installPackages+=(devscripts)
|
||||||
|
installPackages+=(piuparts)
|
||||||
|
installPackages+=(ubuntu-dev-tools)
|
||||||
|
installPackages+=(libcurl4-openssl-dev)
|
||||||
|
installPackages+=(libexpat1-dev)
|
||||||
|
installPackages+=(libjsoncpp-dev)
|
||||||
|
installPackages+=(zlib1g-dev)
|
||||||
|
installPackages+=(libarchive-dev)
|
||||||
|
installPackages+=(libncurses5-dev)
|
||||||
|
installPackages+=(librhash-dev)
|
||||||
|
installPackages+=(libuv1-dev)
|
||||||
|
installPackages+=(python3-sphinx:native)
|
||||||
|
installPackages+=(dh-elpa)
|
||||||
|
installPackages+=(dh-sequence-sphinxdoc)
|
||||||
|
installPackages+=(debhelper-compat)
|
||||||
|
installPackages+=(default-libmysqlclient-dev)
|
||||||
|
installPackages+=(dh-exec)
|
||||||
|
installPackages+=(libcups2-dev)
|
||||||
|
installPackages+=(libdbus-1-dev)
|
||||||
|
installPackages+=(libegl-dev)
|
||||||
|
installPackages+=(libfontconfig-dev)
|
||||||
|
installPackages+=(libfreetype-dev)
|
||||||
|
installPackages+=(libgl-dev)
|
||||||
|
installPackages+=(libglib2.0-dev)
|
||||||
|
installPackages+=(libglx-dev)
|
||||||
|
installPackages+=(libgss-dev)
|
||||||
|
installPackages+=(libgtk-3-dev)
|
||||||
|
installPackages+=(libicu-dev)
|
||||||
|
installPackages+=(libpq-dev)
|
||||||
|
installPackages+=(libsqlite3-dev)
|
||||||
|
installPackages+=(libssl-dev)
|
||||||
|
installPackages+=(libvulkan-dev)
|
||||||
|
installPackages+=(libx11-dev)
|
||||||
|
installPackages+=(libx11-xcb-dev)
|
||||||
|
installPackages+=(libxcb-glx0-dev)
|
||||||
|
installPackages+=(libxcb-icccm4-dev)
|
||||||
|
installPackages+=(libxcb-image0-dev)
|
||||||
|
installPackages+=(libxcb-keysyms1-dev)
|
||||||
|
installPackages+=(libxcb-randr0-dev)
|
||||||
|
installPackages+=(libxcb-render-util0-dev)
|
||||||
|
installPackages+=(libxcb-render0-dev)
|
||||||
|
installPackages+=(libxcb-shape0-dev)
|
||||||
|
installPackages+=(libxcb-shm0-dev)
|
||||||
|
installPackages+=(libxcb-sync-dev)
|
||||||
|
installPackages+=(libxcb-util-dev)
|
||||||
|
installPackages+=(libxcb-xfixes0-dev)
|
||||||
|
installPackages+=(libxcb-xinerama0-dev)
|
||||||
|
installPackages+=(libxcb-xinput-dev)
|
||||||
|
installPackages+=(libxcb-xkb-dev)
|
||||||
|
installPackages+=(libxcb1-dev)
|
||||||
|
installPackages+=(libxext-dev)
|
||||||
|
installPackages+=(libxfixes-dev)
|
||||||
|
installPackages+=(libxi-dev)
|
||||||
|
installPackages+=(libxkbcommon-dev)
|
||||||
|
installPackages+=(libxkbcommon-x11-dev)
|
||||||
|
installPackages+=(libxrender-dev)
|
||||||
|
installPackages+=(ninja-build)
|
||||||
|
installPackages+=(pkg-config)
|
||||||
|
installPackages+=(pkg-kde-tools)
|
||||||
|
installPackages+=(unixodbc-dev)
|
||||||
|
installPackages+=(zlib1g-dev)
|
||||||
|
|
||||||
|
|
||||||
|
echo "Running update for apt"
|
||||||
|
waitLoop
|
||||||
|
sudo apt-get update
|
||||||
|
echo "Installing packages"
|
||||||
|
waitLoop
|
||||||
|
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install "${installPackages[@]}"
|
||||||
|
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install cmake apt-cacher-ng -t bullseye-backports
|
||||||
|
|
||||||
|
# Install all needed packages in a special wheel cache directory
|
||||||
|
#pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
|
||||||
|
|
||||||
|
#source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||||
|
#SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
|
||||||
|
# SetEnvVar "PATH" "/usr/lib/nodejs-mozilla/bin:\$PATH"
|
||||||
|
|
||||||
|
#OpenSSLVersion="$(openssl version |cut -b 9-14)"
|
||||||
|
#echo "OpenSSL = $OpenSSLVersion" >> ~/versions.txt
|
||||||
|
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# shellcheck source=../common/linux/disable-notifications.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../common/linux/disable-notifications.sh"
|
||||||
4
coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-disable-ntp.sh
Executable file
4
coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-disable-ntp.sh
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# shellcheck source=../common/linux/disable-ntp_linux.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../common/linux/disable-ntp_linux.sh"
|
||||||
4
coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-remove-apport.sh
Executable file
4
coin/provisioning/qtci-linux-Debian-11.6-aarch64/02-remove-apport.sh
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# shellcheck source=../common/linux/remove-apport.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../common/linux/remove-apport.sh"
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# shellcheck source=../common/linux/remove-update_notifier.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../common/linux/remove-update_notifier.sh"
|
||||||
@@ -38,7 +38,53 @@
|
|||||||
## $QT_END_LICENSE$
|
## $QT_END_LICENSE$
|
||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck source=../common/unix/openssl_for_android.sh
|
# Setups sbuild environment
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/openssl_for_android.sh"
|
|
||||||
|
tee ~/.sbuildrc << EOF
|
||||||
|
##############################################################################
|
||||||
|
# PACKAGE BUILD RELATED (additionally produce _source.changes)
|
||||||
|
##############################################################################
|
||||||
|
# -d
|
||||||
|
\$distribution = 'stable';
|
||||||
|
# -A
|
||||||
|
\$build_arch_all = 1;
|
||||||
|
# -s
|
||||||
|
\$build_source = 1;
|
||||||
|
# -v
|
||||||
|
\$verbose = 1;
|
||||||
|
# parallel build
|
||||||
|
\$ENV{'DEB_BUILD_OPTIONS'} = 'parallel=8';
|
||||||
|
##############################################################################
|
||||||
|
# POST-BUILD RELATED (turn off functionality by setting variables to 0)
|
||||||
|
##############################################################################
|
||||||
|
\$run_lintian = 1;
|
||||||
|
\$lintian_opts = ['-i', '-I'];
|
||||||
|
\$run_piuparts = 0;
|
||||||
|
\$piuparts_opts = ['--schroot', 'stable-arm64-sbuild', '--no-eatmydata'];
|
||||||
|
\$run_autopkgtest = 0;
|
||||||
|
\$autopkgtest_root_args = '';
|
||||||
|
\$autopkgtest_opts = [ '--', 'schroot', '%r-%a-sbuild' ];
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# PERL MAGIC
|
||||||
|
##############################################################################
|
||||||
|
1;
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# Add user group
|
||||||
|
sudo sbuild-adduser $LOGNAME
|
||||||
|
newgrp sbuild
|
||||||
|
|
||||||
|
# Create chroot
|
||||||
|
#sudo sbuild-createchroot --include=eatmydata,ccache,gnupg,ca-certificates stable /srv/chroot/stable-arm64-sbuild http://127.0.0.1:3142/deb.debian.org/debian
|
||||||
|
sudo sbuild-createchroot --include=eatmydata,ccache,gnupg,ca-certificates stable /srv/chroot/stable-arm64-sbuild
|
||||||
|
|
||||||
|
# Update chroot
|
||||||
|
sudo sbuild-update -udcar stable
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -39,9 +39,21 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
set -ex
|
# build cmake for the debian packgaes
|
||||||
|
# Create chroot for Ubuntu focal
|
||||||
|
#mk-sbuild --arch=amd64 --name=focal --debootstrap-mirror="http://archive.ubuntu.com/ubuntu/" --distro=ubuntu focal
|
||||||
|
|
||||||
|
mkdir -p /home/qt/debian_packages
|
||||||
|
cd /home/qt/debian_packages
|
||||||
|
wget https://ci-files01-hki.intra.qt.io/input/debian/cmake/amd64-focal/cmake-3.24-deb.tar.gz
|
||||||
|
tar xzf cmake-3.24-deb.tar.gz
|
||||||
|
#git clone git@gitlab.ics.com:qt6_packaging/tqtc/cmake.git
|
||||||
|
#wget https://github.com/Kitware/CMake/releases/download/v3.24.3/cmake-3.24.3.tar.gz -O cmake_3.24.3.orig.tar.gz
|
||||||
|
#dpkg-source -b cmake
|
||||||
|
#sbuild --build-dep-resolver=aptitude -sAd focal -c focal-amd64 cmake_3.24.3-1~bpo1.dsc
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
sudo yum -y install gcc-toolset-9
|
|
||||||
|
|
||||||
echo "source /opt/rh/gcc-toolset-9/enable" >> ~/.bashrc
|
|
||||||
|
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "linux"
|
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "linux"
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "android"
|
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg-android.sh" "android-x86"
|
||||||
|
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg-android.sh" "android-x86_64"
|
||||||
|
|||||||
@@ -1,62 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2018 The Qt Company Ltd.
|
|
||||||
## Contact: https://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL$
|
|
||||||
## 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 https://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at https://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 3 as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
|
||||||
## packaging of this file. Please review the following information to
|
|
||||||
## ensure the GNU Lesser General Public License version 3 requirements
|
|
||||||
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
|
||||||
##
|
|
||||||
## GNU General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU
|
|
||||||
## General Public License version 2.0 or (at your option) the GNU General
|
|
||||||
## Public license version 3 or any later version approved by the KDE Free
|
|
||||||
## Qt Foundation. The licenses are as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
|
||||||
## included in the packaging of this file. Please review the following
|
|
||||||
## information to ensure the GNU General Public License requirements will
|
|
||||||
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
|
||||||
## https://www.gnu.org/licenses/gpl-3.0.html.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck source=../common/unix/DownloadURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
|
|
||||||
|
|
||||||
url="http://ci-files01-hki.intra.qt.io/input/semisecure/test_farm_id_rsa"
|
|
||||||
sha1="1b0d651661c33a654ac89ef3c97bbe06d6bf1ca1"
|
|
||||||
sshKey="$HOME/.ssh/test_farm_id_rsa"
|
|
||||||
|
|
||||||
DownloadURL "$url" "$url" "$sha1" "$sshKey"
|
|
||||||
chmod 600 "$sshKey"
|
|
||||||
|
|
||||||
echo "Configuring ssh config file for Yocto"
|
|
||||||
cat <<EOT >> "$HOME/.ssh/config"
|
|
||||||
StrictHostKeyChecking=no
|
|
||||||
Host codereview.qt-project.org
|
|
||||||
Port 29418
|
|
||||||
User qt-builder
|
|
||||||
IdentityFile "$sshKey"
|
|
||||||
EOT
|
|
||||||
|
|
||||||
@@ -1,62 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2018 The Qt Company Ltd.
|
|
||||||
## Contact: https://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL$
|
|
||||||
## 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 https://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at https://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 3 as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.LGPL3 included in the
|
|
||||||
## packaging of this file. Please review the following information to
|
|
||||||
## ensure the GNU Lesser General Public License version 3 requirements
|
|
||||||
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
|
||||||
##
|
|
||||||
## GNU General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU
|
|
||||||
## General Public License version 2.0 or (at your option) the GNU General
|
|
||||||
## Public license version 3 or any later version approved by the KDE Free
|
|
||||||
## Qt Foundation. The licenses are as published by the Free Software
|
|
||||||
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
|
||||||
## included in the packaging of this file. Please review the following
|
|
||||||
## information to ensure the GNU General Public License requirements will
|
|
||||||
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
|
||||||
## https://www.gnu.org/licenses/gpl-3.0.html.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck source=../common/unix/DownloadURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../common/unix/DownloadURL.sh"
|
|
||||||
|
|
||||||
url="http://ci-files01-hki.intra.qt.io/input/semisecure/test_farm_id_rsa"
|
|
||||||
sha1="1b0d651661c33a654ac89ef3c97bbe06d6bf1ca1"
|
|
||||||
sshKey="$HOME/.ssh/test_farm_id_rsa"
|
|
||||||
|
|
||||||
DownloadURL "$url" "$url" "$sha1" "$sshKey"
|
|
||||||
chmod 600 "$sshKey"
|
|
||||||
|
|
||||||
echo "Configuring ssh config file for Yocto"
|
|
||||||
cat <<EOT >> "$HOME/.ssh/config"
|
|
||||||
StrictHostKeyChecking=no
|
|
||||||
Host codereview.qt-project.org
|
|
||||||
Port 29418
|
|
||||||
User qt-builder
|
|
||||||
IdentityFile "$sshKey"
|
|
||||||
EOT
|
|
||||||
|
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2022 The Qt Company Ltd.
|
## Copyright (C) 2023 The Qt Company Ltd.
|
||||||
## Contact: https://www.qt.io/licensing/
|
## Contact: https://www.qt.io/licensing/
|
||||||
##
|
##
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
@@ -79,6 +79,17 @@ rm ./docker-compose*
|
|||||||
# Install Avahi to discover Docker containers in the test network
|
# Install Avahi to discover Docker containers in the test network
|
||||||
sudo apt-get install avahi-daemon -y
|
sudo apt-get install avahi-daemon -y
|
||||||
|
|
||||||
|
# Add registry mirror for docker images
|
||||||
|
sudo tee -a /etc/docker/daemon.json <<"EOF"
|
||||||
|
{
|
||||||
|
"registry-mirrors": ["http://repo-clones.ci.qt.io:5000"]
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
|
||||||
|
echo "Restart Docker"
|
||||||
|
sudo systemctl daemon-reload
|
||||||
|
sudo systemctl restart docker
|
||||||
|
|
||||||
# Start testserver provisioning
|
# Start testserver provisioning
|
||||||
sudo "$(readlink -f $(dirname ${BASH_SOURCE[0]}))/../common/shared/testserver/docker_testserver.sh"
|
sudo "$(readlink -f $(dirname ${BASH_SOURCE[0]}))/../common/shared/testserver/docker_testserver.sh"
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user