Compare commits

..

35 Commits

Author SHA1 Message Date
Qt Submodule Update Bot
808f63250c Update submodules on '6.5.2 in qt/qt5'
Change-Id: I08ce333a6e43447f3990211b5ac38f8e42b361ec
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-07-07 21:59:52 +00:00
Qt Submodule Update Bot
a4dd97eb2d Update submodules on '6.5.2 in qt/qt5'
Change-Id: I55a7dd7be1fd229077b58841bdc18e36b2130720
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-07-06 03:18:34 +00:00
Qt Submodule Update Bot
6a564e2ca7 Update submodules on '6.5.2 in qt/qt5'
Change-Id: I3d71880c99cb558eef88d72828aaf3541b50e624
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-07-03 05:53:15 +00:00
Teemu Holappa
3597addab2 Change macOS12 template from 106 to 105
Provisioning fails in 106 template.

Change-Id: Ia0a39b9006cc63d0e587bd18fc189e2a47408635
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
(cherry picked from commit 075592750a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-06-30 03:01:24 +00:00
Antti Kokko
39e71874c6 Update qtsaferenderer.yaml, add 'Target os' field
Add 'Target os' field for static configurations
to make sure targets are not overwritten when
exporting the integration.

Change-Id: I0c1b6602423b97f5be5dd7d146a37a3f41eced00
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
(cherry picked from commit 7d3fec671f)
2023-06-29 08:05:21 +00:00
Qt Submodule Update Bot
f03a47caad Update submodules on '6.5.2 in qt/qt5'
Change-Id: Ib898a31bbbd5a530c1ba186cc526e7fc18967730
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-06-29 03:18:06 +00:00
Qt Submodule Update Bot
8d51a12667 Update submodules on '6.5.2 in qt/qt5'
Change-Id: Idc7793963822f06128cdb54b715bc789af5b73bf
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-06-22 19:47:47 +00:00
Qt Submodule Update Bot
4588fcb542 Update submodules on '6.5.2 in qt/qt5'
Change-Id: I259edde0e386119211f5df28ceaf08f1a8e0acc8
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
2023-06-22 11:42:47 +00:00
Qt Submodule Update Bot
74d6db944a Update submodules on '6.5.2 in qt/qt5'
Change-Id: I15fc4b0110ee6628c49a4352007222ab461d55aa
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-06-20 03:37:38 +00:00
Simo Fält
b6707952cd COIN: Disable linux on arm config again
The only host is down for now.

Change-Id: I82cc9461a16d054da6611f2e2ee0be6426755660
Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io>
(cherry picked from commit 82327bfc4d)
2023-06-15 09:08:31 +00:00
Jani Heikkinen
4b88657d9a Adjust submodule branches
Change-Id: I95a0939954706d50ac9a808832f5ef268e2c2958
2023-06-14 06:23:00 +01:00
Amir Masoud Abdol
ba16228de4 Show an error when a submodule is missing, or misspelled
Stop the configuration and show an error if one of the submodules is
missing, or misspelled in `-submodules` option.

Fixes: QTBUG-114133
Change-Id: I890d4f5f0614288a2be422f839e04a0086a58403
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Alexandru Croitor (OOO) <alexandru.croitor@qt.io>
(cherry picked from commit bb13b7dadf)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-06-12 23:50:43 +00:00
Jøger Hansegård
4ed7ed6920 Add CMakeUserPresets.json to .gitignore
The CMakeUserPresets.json file can be used to simplify configuring Qt,
particularly with tools such as Visual Studio and Visual Studio Code.

As opposed to the CMakePresets.json, the CMakeUserPresets.json should
only contain user specific configurations, and should never be checked
into source code management system. Therefore it makes sense to ignore
it globally.

Change-Id: I971d4505b302dc40e3dd33b6d4680c2067047c27
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit cf4eabc8c2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-06-12 23:50:43 +00:00
Joerg Bornemann
9a31ac4792 init-repository: Fix wrong remote URLs in cloned submodules
The cloned submodules had a wrong origin remote URL if the origin remote
of the local qt5.git repository had a trailing slash.

Fix this by stripping the trailing slash when stripping the trailing
".git" from qt5.git's remote.

Fixes: QTBUG-113793
Change-Id: I199b6e1915f67558ecfe69f7300d0f9ef0d4b232
Reviewed-by: Alexandru Croitor (OOO) <alexandru.croitor@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
(cherry picked from commit 6c40b6160e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-06-12 23:50:42 +00:00
Simo Fält
3421cc61c1 Provisioning: Install nodejs to enable qtwebengine on arm linux
Change-Id: Id39dd3474e0d5f8d214ecf74255073650c82ab47
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
(cherry picked from commit e14434a7ea)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-06-08 16:37:48 +03:00
Simo Fält
6165dbbe3a CI: Enable packaging config on arm linux
Task-number: COIN-1029
Change-Id: I369ce20e24b9adf6b64274dfe07bdfc25888e46f
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
(cherry picked from commit 89edadf3be)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-06-08 16:37:45 +03:00
Qt Submodule Update Bot
381dd1233b Update submodules on '6.5 in qt/qt5'
Change-Id: I7ff5d125595bfa64493f0a938864643af8fd142c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-06-06 19:58:43 +00:00
Qt Submodule Update Bot
44877587a9 Update submodules on '6.5 in qt/qt5'
Change-Id: I72071b0951ec8a506ba0a632999449146bcc726a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-29 18:13:07 +00:00
Qt Submodule Update Bot
2e8d07be10 Update submodules on '6.5 in qt/qt5'
Change-Id: Ia0354cbf5470c1f45a16c91fef07dd3eee4c4918
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-26 02:00:59 +00:00
Qt Submodule Update Bot
227129971b Update submodules on '6.5 in qt/qt5'
Change-Id: I0831f11250391b422ebd03ec115a1e82c42692f7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-24 14:52:56 +00:00
Qt Submodule Update Bot
e422959b72 Update submodules on '6.5 in qt/qt5'
Change-Id: Ieb6cb85a696001d07efa69da1b01f4b6805be0ef
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-23 13:02:28 +00:00
Qt Submodule Update Bot
4266bba080 Update submodules on '6.5 in qt/qt5'
Change-Id: I57270fb9dd655d905d244c97f8bd6051f5622ff7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-22 16:47:39 +00:00
Alexey Edelev
49327b053c Disable openssl for ffmpeg library
Openssl library causes backward compatibility issues. We need to disable
it to make ffmpegmediaplugin work on all supported linux platforms.

Fixes: QTBUG-113324
Change-Id: Ib266e2cf67e9336fb206735b8b2418fccd8f7b00
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit e1b7e865ec)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-05-21 18:08:44 +00:00
Qt Submodule Update Bot
8ed3ca4015 Update submodules on '6.5 in qt/qt5'
Change-Id: I428ec9d0e79ea1d28ed664b4c4e0276f464c7306
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-19 20:14:51 +00:00
Jani Heikkinen
44cf97b06f Update qtqa submodule
Change-Id: Ibe10c422c08fb03f43158dc51fa7c779877df728
Reviewed-by: Akseli Salovaara <akseli.salovaara@qt.io>
2023-05-19 10:10:43 +03:00
Rami Potinkara
b9af6ca0a2 Android: Android OS 13 API 33 to CI as maximum version
Android 13 replaces Android 12 as max version in CI.
Android 6 kept as minimum version of Android in CI.

Task-number: QTQAINFRA-5392
Task-number: QTQAINFRA-5431
Change-Id: If85c6f63d52055e2ba95f92c154b20a6b809c7dc
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
(cherry picked from commit ef12163e25)
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
2023-05-19 07:10:39 +00:00
Qt Submodule Update Bot
401785e168 Update submodules on '6.5 in qt/qt5'
Change-Id: Iff6cae8a9c52cd9596e33c3ec682a900c10d267c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-18 12:56:03 +00:00
Jani Heikkinen
9ef28bdc83 Update Appendix 9 in LICENSE.QT-LICENSE-AGREEMENT
Task-number: QTBUG-113132
Change-Id: I1244bd0e7318120cf5ebde4daae38b9fba862237
Reviewed-by: Akseli Salovaara <akseli.salovaara@qt.io>
(cherry picked from commit 9aae493bc6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-05-18 11:50:10 +00:00
Alexey Edelev
9b481175c4 Uninify MSVC version that is used in provisioning
We pick the oldest build tools we can find because there is lower
chance that the produced binaries will be incomaptible with the newer
version of MSVC.

With the current provisioning design we also cannot change the MSVC
version for the each package on demand. Once Enter-VsDevShell is called
it litters the powershell environment and blocks the use of
Enter-VsDevShell second time. It could be better to run each .ps1 file
in own instance of powershell to avoid mixing build environment.

Amends f58afd5476

Change-Id: Ie752cfc8b69ed985e61ec16209007dd586611866
Reviewed-by: Samuel Mira <samuel.mira@qt.io>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
(cherry picked from commit 84df93d37e)
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2023-05-17 22:55:28 +00:00
Samuel Mira
e4447d0b55 Fix FFmpeg provisioning for Android armv7a
Altered install-ffmpeg.ps1 script to build android armv7a archicture

Task-number: QTQAINFRA-5476
Change-Id: I5179174c8676a3016df2922c00030e9d45a9009c
Reviewed-by: Lars Knoll <lars@knoll.priv.no>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
(cherry picked from commit 2751db4d29)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-05-17 22:55:21 +00:00
Teemu Holappa
ba9e54417e Update qtsaferenderer build configurations
Task-number: QSR-2110
Task-number: QSR-2010
Change-Id: Idbf265ba461d3b383e1bae8b41f00a8cf76e4d3a
Reviewed-by: Toni Saario <toni.saario@qt.io>
(cherry picked from commit a07826f70f)
2023-05-17 12:56:53 +03:00
Qt Submodule Update Bot
38f519ed1b Update submodules on '6.5 in qt/qt5'
Change-Id: I3596758247fa8c0d1022804dff7c5e0746c5c310
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-15 08:24:38 +00:00
Tero Heikkinen
0b5f41537b Provisioning: Upgrade Xcode version to 14.3 for macOS 13
Change also upgrades command line tools

Task-number: QTQAINFRA-5485
Change-Id: I057e4c850c3c7ba938002a2ec444637ae9f51cf4
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
(cherry picked from commit 08ac268561)
2023-05-10 11:51:08 +03:00
Qt Submodule Update Bot
d5e5ab121e Update submodules on '6.5 in qt/qt5'
Change-Id: Ia4058ddcd38a6ea1ef76fc3ccf01630485d2c0ef
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-04 00:32:24 +00:00
Samuel Mira
e3b200d728 Fix FFmpeg provisioning for Android in arm64, x86 and x86_64
Added install-ffmpeg-android script for the android cross-compile
Removed android stuff from install-ffmpeg
Changed the yaml variables to include the target arch
Added the arm64 target arch

Task-number: QTQAINFRA-5476
Change-Id: Id9609ed0427f2fc42f7f27e7787a81ad145f59be
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
Reviewed-by: Lars Knoll <lars@knoll.priv.no>
(cherry picked from commit 99afe7199e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-05-03 11:22:10 +00:00
117 changed files with 1319 additions and 466 deletions

1
.gitignore vendored
View File

@@ -2,3 +2,4 @@ Makefile
.qmake.cache
.qmake.super
*.pro.user*
CMakeUserPresets.json

82
.gitmodules vendored
View File

@@ -1,40 +1,40 @@
[submodule "qtbase"]
path = qtbase
url = ../qtbase.git
branch = 6.5.1
branch = 6.5.2
status = essential
[submodule "qtsvg"]
depends = qtbase
path = qtsvg
url = ../qtsvg.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtdeclarative"]
depends = qtbase
recommends = qtimageformats qtshadertools qtsvg qtlanguageserver
path = qtdeclarative
url = ../qtdeclarative.git
branch = 6.5.1
branch = 6.5.2
status = essential
[submodule "qtactiveqt"]
depends = qtbase
path = qtactiveqt
url = ../qtactiveqt.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtmultimedia"]
depends = qtbase qtshadertools
recommends = qtdeclarative qtquick3d
path = qtmultimedia
url = ../qtmultimedia.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qttools"]
depends = qtbase
recommends = qtdeclarative qtactiveqt
path = qttools
url = ../qttools.git
branch = 6.5.1
branch = 6.5.2
status = essential
[submodule "qtxmlpatterns"]
depends = qtbase
@@ -47,7 +47,7 @@
depends = qttools
path = qttranslations
url = ../qttranslations.git
branch = 6.5.1
branch = 6.5.2
status = essential
priority = 30
[submodule "qtdoc"]
@@ -55,7 +55,7 @@
recommends = qtmultimedia qtshadertools qtwebengine
path = qtdoc
url = ../qtdoc.git
branch = 6.5.1
branch = 6.5.2
status = essential
priority = 40
[submodule "qtrepotools"]
@@ -76,21 +76,21 @@
recommends = qtdeclarative
path = qtlocation
url = ../qtlocation.git
branch = 6.5.1
branch = 6.5.2
status = preview
[submodule "qtpositioning"]
depends = qtbase
recommends = qtdeclarative qtserialport
path = qtpositioning
url = ../qtpositioning.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtsensors"]
depends = qtbase
recommends = qtdeclarative
path = qtsensors
url = ../qtsensors.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtsystems"]
depends = qtbase
@@ -117,61 +117,61 @@
recommends = qtdeclarative
path = qtconnectivity
url = ../qtconnectivity.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtwayland"]
depends = qtbase
recommends = qtdeclarative
path = qtwayland
url = ../qtwayland.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qt3d"]
depends = qtbase
recommends = qtdeclarative qtshadertools
path = qt3d
url = ../qt3d.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtimageformats"]
depends = qtbase
path = qtimageformats
url = ../qtimageformats.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtserialbus"]
depends = qtbase
recommends = qtserialport
path = qtserialbus
url = ../qtserialbus.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtserialport"]
depends = qtbase
path = qtserialport
url = ../qtserialport.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtwebsockets"]
depends = qtbase
recommends = qtdeclarative
path = qtwebsockets
url = ../qtwebsockets.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtwebchannel"]
depends = qtbase
recommends = qtdeclarative qtwebsockets
path = qtwebchannel
url = ../qtwebchannel.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtwebengine"]
depends = qtdeclarative
recommends = qtwebchannel qttools qtpositioning
path = qtwebengine
url = ../qtwebengine.git
branch = 6.5.1
branch = 6.5.2
status = addon
priority = 10
[submodule "qtcanvas3d"]
@@ -185,28 +185,28 @@
recommends = qtwebengine
path = qtwebview
url = ../qtwebview.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtcharts"]
depends = qtbase
recommends = qtdeclarative qtmultimedia
path = qtcharts
url = ../qtcharts.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtdatavis3d"]
depends = qtbase
recommends = qtdeclarative qtmultimedia
path = qtdatavis3d
url = ../qtdatavis3d.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtvirtualkeyboard"]
depends = qtbase qtdeclarative qtsvg
recommends = qtmultimedia
path = qtvirtualkeyboard
url = ../qtvirtualkeyboard.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtgamepad"]
depends = qtbase
@@ -219,27 +219,27 @@
depends = qtbase qtdeclarative
path = qtscxml
url = ../qtscxml.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtspeech"]
depends = qtbase
recommends = qtdeclarative qtmultimedia
path = qtspeech
url = ../qtspeech.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtnetworkauth"]
depends = qtbase
path = qtnetworkauth
url = ../qtnetworkauth.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtremoteobjects"]
depends = qtbase
recommends = qtdeclarative
path = qtremoteobjects
url = ../qtremoteobjects.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtwebglplugin"]
depends = qtbase qtwebsockets
@@ -252,80 +252,80 @@
depends = qtbase qtdeclarative
path = qtlottie
url = ../qtlottie.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtquicktimeline"]
depends = qtbase qtdeclarative
path = qtquicktimeline
url = ../qtquicktimeline
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtquick3d"]
depends = qtbase qtdeclarative qtshadertools
recommends = qtquicktimeline
path = qtquick3d
url = ../qtquick3d.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtshadertools"]
depends = qtbase
path = qtshadertools
url = ../qtshadertools.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qt5compat"]
depends = qtbase qtdeclarative
path = qt5compat
url = ../qt5compat.git
branch = 6.5.1
branch = 6.5.2
status = deprecated
[submodule "qtcoap"]
depends = qtbase
path = qtcoap
url = ../qtcoap.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtmqtt"]
depends = qtbase qtdeclarative
path = qtmqtt
url = ../qtmqtt.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtopcua"]
depends = qtbase qtdeclarative
path = qtopcua
url = ../qtopcua.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtlanguageserver"]
depends = qtbase
path = qtlanguageserver
url = ../qtlanguageserver.git
branch = 6.5.1
branch = 6.5.2
status = preview
[submodule "qthttpserver"]
depends = qtbase
recommends = qtwebsockets
path = qthttpserver
url = ../qthttpserver.git
branch = 6.5.1
branch = 6.5.2
status = preview
[submodule "qtquick3dphysics"]
depends = qtbase qtdeclarative qtquick3d qtshadertools
path = qtquick3dphysics
url = ../qtquick3dphysics.git
branch = 6.5.1
branch = 6.5.2
status = addon
[submodule "qtgrpc"]
depends = qtbase
path = qtgrpc
url = ../qtgrpc.git
branch = 6.5.1
branch = 6.5.2
status = preview
[submodule "qtquickeffectmaker"]
depends = qtbase qtdeclarative qtshadertools
recommends = qtquick3d
path = qtquickeffectmaker
url = ../qtquickeffectmaker.git
branch = 6.5.1
branch = 6.5.2
status = addon

View File

@@ -52,6 +52,15 @@ if(NOT QT_BUILD_SUBMODULES)
endif()
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)
foreach(module IN LISTS QT_BUILD_SUBMODULES)

View File

@@ -1061,6 +1061,7 @@ The Agreement includes following Appendices 1-10, as applicable.
- Appendix 8: Intentionally left blank (optional)
- Appendix 9: Support Terms
- Appendix 10: Conversion from legacy Licenses to Subscription (optional)
- Appendix 11: TERMS OF USE - QT INSIGHT TRACKER LIBRARY
APPENDIX 1: LICENSED SOFTWARE
@@ -1252,7 +1253,7 @@ only ("Redistributables") are marked with "R" in the below table.
+----------------------------------------------------------+
| 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 |
+----------------------------------------------------------+
@@ -1668,116 +1669,152 @@ Content Format and Channel as mentioned in paragraph 3 and 4.
APPENDIX 8: INTENTIONALLY LEFT BLANK
APPENDIX 9: SUPPORT TERMS
Version 2023-04
These Qt support terms and conditions ("Support Terms") set forth the legal
framework, where under The Qt Company ("The Qt Company") provides support
These Qt support terms and conditions (Support Terms) set forth the legal
framework, where under The Qt Company (The Qt Company) provides support
services (as herein defined) to the Licensee.
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
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.
"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.
“Customer Portal” shall mean The Qt Companys web-based service and 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
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
Premium Support) for a version of Licensed Software that is no longer generally
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
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
maintaining and improving product stability and quality. Maintenance Releases
are generally depicted as a change to the third digit of Licensed Software
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
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
Premium Support instead of Standard Support. Premium Support shall always be
purchased for all Designated User(s) in the respective development team of the
Licensee.
Premium Support instead of Standard Support. Premium Support also covers what
is included in Standard Support. Premium Support shall always be purchased for
all Designated User(s) in the respective development team of the Licensee.
"Response Time" shall mean the period of time from when Licensee notifies
TheQt Company about an Error or requests Support until The Qt Company provides
“Qt Account” shall mean the Qt Account for a Designated User used for using Qt
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
reported Error or provides the requested Support.
"Standard Support" shall mean standard level of Support that The Qt Company
provides pursuant to these Support Terms to Licensee.
Standard Support shall mean standard level of Support that The Qt Company
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
to assist eligible Designated Users in Licensed Software installation, usage
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"):
“Security Issue” shall mean an Error that may cause a vulnerability in a system
or application that uses the Licensed Software.
+-----------------------------------------------------------------------+
| |ADP|ADE|DCP|DCE|DSP|DSE|Squish|Coco|Test Center|
+-----------------------------------------------------------------------+
| Install Support | X | X | X | X | X | X | X | X | X |
+-----------------------------------------------------------------------+
| Standard Support | | X | X | X | X | X | X | X | X |
+-----------------------------------------------------------------------+
| Premium Support | | O | O | O | O | O | O | O | O |
+-----------------------------------------------------------------------+
| Extended Support | | O | O | O | O | O | | | |
+-----------------------------------------------------------------------+
| Tool Qualification Kit| | | | | | | O | O | |
+-----------------------------------------------------------------------+
“Support” shall mean developer assistance that is provided by The Qt Company to
assist eligible Designated Users in Licensed Software installation, usage 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 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.
"Tool Qualification Kit" shall mean a customized set of documents and
validation test cases.
2 SUPPORT SERVICES
2.1 Support Services Provided by The Qt Company
Subject to these Support Terms and during the Support Validity Term, The Qt
Company will via its web-based support user-interface, provide Designated
User(s) with Support for the Platforms which Customer has licensed under the
Agreement.
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
Company will via its Customer Portal, provide Designated User(s) with Support
for the Licensed Software which Licensee has licensed under the Agreement. 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
Designated User(s) themselves downloading of a later released version of the
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
To report an Error, the Designated User shall register the Error on The Qt
Company's web-based support user interface located at:
https://account.qt.io/login or at another location designated by The Qt Company.
To report an Error, the Designated User shall register the Error on the
Customer Portal. If the Designated User considers the reported Error to be a
Security Issue, the Error shall be marked as a Security Issue.
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
Designated User has sought assistance.
To ensure efficient handling of Errors, the Designated User must provide the
following information, where relevant:
Designated User has sought assistance. To ensure efficient handling of Errors,
the Designated User must provide the following information, where relevant:
- A clear, detailed description of the problem, question or suggestion;
- Identification of which Licensed Software product and version is affected;
- 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
lines of code that demonstrates the problem;
- 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
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
one (1) year from the release date of the version x.y.0 and Long Term Support
(LTS) Releases are supported for a period of three (3) years from the release
date of the LTS version x.y.0.
in doc.qt.io or in documentation provided with the respective Licensed Software
product. If nothing is documented, a release of Licensed Software is supported
for one (1) year from the release date of the version x.y.0 and Long Term
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).
Support is made available for the entire development teams only: It is not
allowed to purchase Support only for some members of the development team, and
all Designated Users of the respective development team must be eligible for
the same level of Support.
The Qt Company shall only provide Support for Designated User(s) through
Customer Portal.Support is made available for the entire development teams
only: It is not allowed to purchase Support only for some members of the
development team, and all Designated Users of the respective development team
must be eligible for the same level of Support.
Support is not provided for snapshots, preview releases, beta releases or
release candidates.
The Qt Company shall have no obligation to provide Support for hardware or
operating system specific problems or problems arising from improper use,
accident, neglect or modification of Qt.
The Qt Company shall have no obligation to provide Support for 3rd party
components, hardware or operating system specific problems or problems arising
from improper use, accident, neglect, or modification of Qt.
Limitations with Install Support:
Support limited to Error(s) regarding installation and setting up of the Qt
development environment on host Platforms.
Support limited to (i) Error(s) regarding installation and setting up of the Qt
development environment on host Platforms, or (ii) Errors impacting operational
use of the QA Tools.
Limitations with Standard Support:
@@ -1847,31 +1885,60 @@ will make commercially reasonable efforts to provide a solution on closest
corresponding supported Platform.
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
(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
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
Software that is no longer generally supported.
Extended Support includes and is by default provided with Standard Support
rules and limitations, unless Extended Support is purchased with Premium
Support in which case Premium Support rules and limitations will apply.
rules and limitations, unless Extended Support is purchased together with
Premium Support in which case Premium Support rules and limitations will apply.
Extended Support is optional and purchased with annual fee and separately per
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
that enable Licensee to qualify QA testing tool for the purpose of ISO 26262,
EN 50128, DO-330, IEC 61508, IEC 62304 or IEC 13485 certification Licensee end
to end solution.
The Qt Company shall provide a set of documents and validation tests that
enable the Licensee to qualify QA testing tool (subject to a separate fee) or
Qt Safe Renderer for the purpose of safety certification of Licensee end-to-end
solution. Exact complied safety standards may vary between products, used
features, use case, and industry.
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
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
Designated User and then follow up, without undue delay, with additional
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
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
Support. Unless otherwise decided by The Company at its free and absolute
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;
- Error corrections specific to a single Platform that are not present on other
Platforms;
- Corrections to Security Issues;
- Critical Error corrections such as crashes, data corruption, loss of data,
race conditions; and
- 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
documentation, notwithstanding the fact that the Current Licenses are being
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.

View File

@@ -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',
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-macos-universal-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}}'
]
-
@@ -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',
'CONAN_HOST_PROFILE=coin/conan/profiles/ci-windows-x86_64-mingw',
'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}}'
]
-
Id: 'android-x86-on-linux'
Id: 'android-6-x86-on-linux'
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
Target os: 'Android_ANY'
Target arch: 'x86'
@@ -47,26 +47,27 @@ Configurations:
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_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_PROFILE=coin/conan/profiles/ci-unix-android-x86-clang',
'ANDROID_EMULATOR=@emulator_x86_api_23',
'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'
Target os: 'Android_ANY'
Target arch: 'x86_64'
Compiler: 'GCC'
Target compiler: 'Clang'
Platform dependency: 'rhel-8.4'
Features: ['Packaging', 'Sccache', 'DisableTests', 'UseConfigure']
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}}',
'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_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'
]

View File

@@ -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'
]

View File

@@ -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'
]

View File

@@ -9,8 +9,8 @@ Configurations:
Target compiler: 'Clang'
Platform dependency: [
'rhel-8.4',
'android-x86-on-linux',
'android-x86_64-on-linux'
'android-6-x86-on-linux',
'android-13-x86_64-on-linux'
]
Features: [
'Sccache',
@@ -20,7 +20,7 @@ Configurations:
]
Environment variables: [
'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_64=QT_CI_ARTIFACT_ID_PATH_android-x86_64-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-13-x86_64-on-linux',
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_ANDROID_ABIS="x86;x86_64"'
]

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,3 +1,5 @@
Version: 2
Include: [cmake_platforms.yaml]
Include: [
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -5,7 +5,6 @@ Include: [
integrity.yaml,
ios-tests.yaml,
address_sanitizer_platforms.yaml,
cmake_platforms_target_android_12.yaml,
linux_android_tests_multi_abi.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -3,7 +3,6 @@ Include: [
cmake_platforms.yaml,
integrity.yaml,
ios-tests.yaml,
cmake_platforms_static_tests.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms_static_tests.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,7 +1,6 @@
Version: 2
Include: [
cmake_platforms.yaml,
integrity.yaml,
cmake_platforms_target_android_12.yaml
integrity.yaml
]
Configurations: []

View File

@@ -1,7 +1,6 @@
Version: 2
Include: [
cmake_platforms.yaml,
integrity.yaml,
cmake_platforms_target_android_12.yaml
integrity.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,7 +1,6 @@
Version: 2
Include: [
cmake_platforms.yaml,
integrity.yaml,
cmake_platforms_target_android_12.yaml
integrity.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,7 +1,6 @@
Version: 2
Include: [
cmake_platforms.yaml,
integrity.yaml,
cmake_platforms_target_android_12.yaml
integrity.yaml
]
Configurations: []

View 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: []

View File

@@ -1,24 +1,59 @@
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:
-
Template: 'qtci-windows-10_22H2-x86_64-50'
Compiler: 'Mingw'
Environment variables: ['PATH=C:\MINGW1120\mingw64\bin;$PATH']
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++'
Features: ['UseLegacyInstructions']
-
Template: 'qtci-windows-10_22H2-x86_64-50'
Compiler: 'Mingw'
Environment variables: ['PATH=C:\MINGW1120\mingw64\bin;$PATH']
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: 'macos-latest-xcode-universal-static-build'
Template: 'qtci-macos-12-x86_64-105'
Target os: 'MacOS_12_Static'
Compiler: 'Clang'
Target arch: 'x86_64-arm64'
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
Configure arguments: '-static -nomake examples -release -no-framework -no-icu -qt-doubleconversion -no-sql-mysql'
Environment variables: [
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"'
]
-
Id: 'Linux-RHEL_8_4_Static'
Template: 'qtci-linux-RHEL-8.4-x86_64-50'
Target os: 'RHEL_8_4_Static'
Compiler: 'GCC'
Features: ['Packaging', 'DisableTests', 'UseLegacyInstructions']
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'
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
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'
Compiler: 'GCC'
Features: ['Packaging', 'DisableTests', 'UseLegacyInstructions']
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'
Id: 'Windows-MSVC2019_Static'
Template: 'qtci-windows-10_22H2-x86_64-50'
Target os: 'Windows_10_Static'
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}}']

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,7 +1,6 @@
Version: 2
Include: [
cmake_platforms.yaml,
integrity.yaml,
cmake_platforms_target_android_12.yaml
integrity.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,7 +1,6 @@
Version: 2
Include: [
cmake_platforms.yaml,
integrity.yaml,
cmake_platforms_target_android_12.yaml
integrity.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,7 +1,6 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations:
# Test on Ubuntu 22.04 Wayland

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -1,6 +1,5 @@
Version: 2
Include: [
cmake_platforms.yaml,
cmake_platforms_target_android_12.yaml
cmake_platforms.yaml
]
Configurations: []

View File

@@ -155,8 +155,9 @@ echo "Android NDK = $ndkVersion" >> ~/versions.txt
cd "$sdkTargetFolder/cmdline-tools/tools/bin"
./sdkmanager --install "emulator" --sdk_root=$sdkTargetFolder \
| eval $sdkmanager_no_progress_bar_cmd
echo "y" | ./sdkmanager --install "system-images;android-23;google_apis;x86" \
"system-images;android-31;google_apis;x86_64" | eval $sdkmanager_no_progress_bar_cmd
echo "y" | ./sdkmanager --install "system-images;android-23;google_apis;x86" | 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..."
@@ -165,8 +166,8 @@ ls -l "$sdkTargetFolder"
echo "no" | ./avdmanager create avd -n emulator_x86_api_23 -c 2048M -f \
-k "system-images;android-23;google_apis;x86"
echo "no" | ./avdmanager create avd -n emulator_x86_64_api_31 -c 2048M -f \
-k "system-images;android-31;google_apis;x86_64"
echo "no" | ./avdmanager create avd -n emulator_x86_64_api_33 -c 2048M -f \
-k "system-images;android-33;google_apis;x86_64"
echo "Install $sdkApiLevelAutomovie $androidAutomotive"
DownloadURL "$androidAutomotive11Url" "$androidAutomotive11Url" "$android11Sha" \

View File

@@ -43,7 +43,7 @@ set -ex
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
elif cat /etc/os-release | grep "PRETTY_NAME" | grep -q "Leap 15"; then
(sudo systemctl stop chronyd && sudo systemctl disable chronyd)

View File

@@ -1,3 +1,13 @@
#!/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[@]}"

View 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"

View File

@@ -48,26 +48,9 @@ source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
# shellcheck source=../unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
function SourceEnvVar {
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
}
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"
@@ -94,8 +77,7 @@ build_ffmpeg() {
then prefix="/usr/local/$ffmpeg_name"
fi
# android configures its own toolchain, it does not use the system clang
if [ -n "$arch" ] && [ "$os" != "android" ]
if [ -n "$arch" ]
then cc="clang -arch $arch"
fi
@@ -107,36 +89,6 @@ build_ffmpeg() {
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
build_ffmpeg
sudo mv "$ffmpeg_source_dir/build/installed/usr/local/$ffmpeg_name" "/usr/local"
@@ -158,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"
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

View File

@@ -144,31 +144,7 @@ $env:Path = $oldPath
### MSVC
# Add cl to path if it is not already there
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
}
EnterVSDevShell
build-install-grpc -CC "cl" -CXX "cl" -BuildType "Release" -Postfix "msvc"

View File

@@ -274,3 +274,35 @@ function DeleteSchedulerTask {
Write-Host "Disabling $Task from Task Scheduler"
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
}

View File

@@ -107,15 +107,8 @@ function InstallMingwFfmpeg {
function InstallMsvcFfmpeg {
$vsPath = "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional"
#$vsPath = "C:\Program Files\Microsoft Visual Studio\2022\Professional"
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"
$result = EnterVSDevShell
if (-Not $result) {
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"
}
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
$msvcRes = InstallMsvcFfmpeg
$llvmMingwRes = InstallLlvmMingwFfmpeg
$androidArmV7Res = InstallAndroidArmv7
Write-Host "Ffmpeg installation results:"
Write-Host " mingw:" $(if ($mingwRes) { "OK" } else { "FAIL" })
Write-Host " msvc:" $(if ($msvcRes) { "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 })

View File

@@ -104,31 +104,7 @@ $env:Path = $oldPath
### MSVC
# Add cl to path if it is not already there
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
}
EnterVSDevShell
# 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")

View File

@@ -0,0 +1,4 @@
#!/bin/sh
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

View File

@@ -0,0 +1,80 @@
#!/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$
##
#############################################################################
# This script modifies system settings for automated use
set -ex
# shellcheck source=../common/unix/check_and_set_proxy.sh
source "${BASH_SOURCE%/*}/../common/unix/check_and_set_proxy.sh"
NTS_IP=10.212.2.216
echo "Set timezone to UTC."
sudo timedatectl set-timezone Etc/UTC
echo "Timeout for blanking the screen (0 = never)"
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
# https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1624320
# Checking if Ubuntu 20.04 works without this
#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

View 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

View File

@@ -0,0 +1,4 @@
#!/usr/bin/env bash
# shellcheck source=../common/linux/disable-notifications.sh
source "${BASH_SOURCE%/*}/../common/linux/disable-notifications.sh"

View 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"

View File

@@ -0,0 +1,4 @@
#!/usr/bin/env bash
# shellcheck source=../common/linux/remove-apport.sh
source "${BASH_SOURCE%/*}/../common/linux/remove-apport.sh"

View File

@@ -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"

View File

@@ -0,0 +1,90 @@
#!/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$
##
#############################################################################
# Setups sbuild environment
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

View File

@@ -0,0 +1,59 @@
#!/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$
##
#############################################################################
# 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

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bash
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"

View File

@@ -3,3 +3,4 @@
set -ex
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg.sh" "macos-universal"
source "${BASH_SOURCE%/*}/../common/unix/install-ffmpeg-android.sh" "android-arm64"

View File

@@ -56,4 +56,4 @@ set -ex
# shellcheck source=../common/macos/install_xcode.sh
source "${BASH_SOURCE%/*}/../common/macos/install_xcode.sh"
InstallXCode /net/ci-files01-hki.intra.qt.io/hdd/www/input/mac/Xcode_14.2.xip 14.2
InstallXCode /net/ci-files01-hki.intra.qt.io/hdd/www/input/mac/Xcode_14.3.xip 14.3

View File

@@ -43,9 +43,9 @@ set -ex
# shellcheck source=../common/macos/install-commandlinetools.sh
source "${BASH_SOURCE%/*}/../common/macos/install-commandlinetools.sh"
version="14.2"
version="14.3"
packageName="Command_Line_Tools_for_Xcode_$version.dmg"
url="http://ci-files01-hki.intra.qt.io/input/mac/$packageName"
sha1="f9d18da696bc54755bd85fb4f42c0a8866bdade6"
sha1="bd255759d8733c7ea820ebc6ad8f65114e42d36d"
InstallCommandLineTools $url $url $sha1 $packageName $version

View File

@@ -0,0 +1,59 @@
#!/usr/bin/env bash
#############################################################################
##
## Copyright (C) 2023 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 Xcode
# Prerequisites: Have Xcode prefetched to local cache as xz compressed.
# This can be achieved by fetching Xcode_9.xip from Apple Store.
# Uncompress it with 'xar -xf Xcode_9.xip'
# Then get https://gist.githubusercontent.com/pudquick/ff412bcb29c9c1fa4b8d/raw/24b25538ea8df8d0634a2a6189aa581ccc6a5b4b/parse_pbzx2.py
# with which you can run 'python parse_pbzx2.py Content'.
# This will give you five files called "Content.part<00..05>.cpio.xz".
# Extract those that have the extension .xz with xz.
# "cat" together all the content files "cat file1, file2, file3, file4, file5 >file_new"
# Compress the new file with xz back to something like Xcode_9.xz
# Upload the file to temporary storage for this script to use.
set -ex
# shellcheck source=../common/macos/install_xcode.sh
source "${BASH_SOURCE%/*}/../common/macos/install_xcode.sh"
InstallXCode /net/ci-files01-hki.intra.qt.io/hdd/www/input/mac/Xcode_14.3.xip 14.3

View File

@@ -0,0 +1,51 @@
#!/usr/bin/env bash
#############################################################################
##
## Copyright (C) 2023 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/macos/install-commandlinetools.sh
source "${BASH_SOURCE%/*}/../common/macos/install-commandlinetools.sh"
version="14.3"
packageName="Command_Line_Tools_for_Xcode_$version.dmg"
url="http://ci-files01-hki.intra.qt.io/input/mac/$packageName"
sha1="bd255759d8733c7ea820ebc6ad8f65114e42d36d"
InstallCommandLineTools $url $url $sha1 $packageName $version

View File

@@ -666,7 +666,7 @@ sub run
chomp(my $url = `git config remote.origin.url`);
die("Have no origin remote.\n") if (!$url);
$url =~ s,\.git$,,;
$url =~ s,\.git/?$,,;
$url =~ s/((?:tqtc-)?qt5)$//;
my $qtrepo = $1 || 'qt5';
$self->{'base-url'} = $url;

2
qt3d

Submodule qt3d updated: 7da3c72367...4374ab2c87

2
qtbase

Submodule qtbase updated: 55aee86975...af457a9f0f

2
qtcoap

Submodule qtcoap updated: ec535750df...0a98ef4ded

2
qtdoc

Submodule qtdoc updated: 26943ca49c...a14f1b47eb

2
qtgrpc

Submodule qtgrpc updated: 94446d021a...0646deb7ae

2
qtmqtt

Submodule qtmqtt updated: 4fe95ce910...f62cfdee6e

Submodule qtopcua updated: 65b1bf9d2c...360b4704f5

2
qtqa

Submodule qtqa updated: c7a2fff1e2...6bbf38293c

Some files were not shown because too many files have changed in this diff Show More