mirror of
git://code.qt.io/qt/qt5.git
synced 2026-09-25 09:56:40 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7886592e2e | ||
|
|
3088cdf7c0 | ||
|
|
dde7f5b4fc | ||
|
|
e16f7c5ce3 | ||
|
|
1e0165b7e6 | ||
|
|
6db36ca105 | ||
|
|
6306f2427d | ||
|
|
415077ccf9 | ||
|
|
aa815578ba | ||
|
|
1e869737b9 | ||
|
|
0a2cd1af37 | ||
|
|
6942ac8d64 | ||
|
|
a6073008b5 | ||
|
|
d138f2ebe8 | ||
|
|
2fca1c5225 | ||
|
|
e3c1913d9c | ||
|
|
7412d7a43d | ||
|
|
704ab2ae24 | ||
|
|
3e9469131e | ||
|
|
96c827b9fe | ||
|
|
ccb8b97560 | ||
|
|
80da4fc5a4 | ||
|
|
e520cb9aa2 | ||
|
|
82fef3179b | ||
|
|
a424ae2f5a | ||
|
|
b3b4d70880 | ||
|
|
0db62885e4 | ||
|
|
b56102f83c | ||
|
|
81435db9a2 | ||
|
|
713e2a2c67 | ||
|
|
b1c8f40aae | ||
|
|
131027eb60 | ||
|
|
cab74128ed | ||
|
|
05133dde5b | ||
|
|
fe9f7dbaa0 | ||
|
|
83fcb43d5d | ||
|
|
f7ef4d3566 | ||
|
|
e0558b4726 | ||
|
|
d0821a727f | ||
|
|
cc91089c4e | ||
|
|
50affd347a | ||
|
|
2c46046bac | ||
|
|
f024adfcdc | ||
|
|
08c556d85a | ||
|
|
60843a693b | ||
|
|
e09102be0c | ||
|
|
89722e4a1b | ||
|
|
03e36895c1 | ||
|
|
dbc9a28110 | ||
|
|
e32d13a6e9 | ||
|
|
154e4db084 | ||
|
|
8b5467f5f3 | ||
|
|
3abcbc655a | ||
|
|
4a7fd3f5f1 | ||
|
|
8582435db6 | ||
|
|
635b735839 | ||
|
|
39b09f68a8 | ||
|
|
0441935fcb | ||
|
|
331627bab9 | ||
|
|
0076042a0e | ||
|
|
76e662d5c2 | ||
|
|
988c40e4fd | ||
|
|
280b728594 | ||
|
|
688e9b9e18 | ||
|
|
48d9827a9e | ||
|
|
d377250d49 | ||
|
|
37d5bbad37 | ||
|
|
a9f01de02a | ||
|
|
d32d79070a | ||
|
|
603af886a8 | ||
|
|
f7aa0c3374 | ||
|
|
2584b9327f | ||
|
|
fefb7d785c | ||
|
|
8cf1c39fee | ||
|
|
c5909e8b8e | ||
|
|
8af386b795 | ||
|
|
c5a7b12f62 | ||
|
|
c14dc902db | ||
|
|
61a32c365c | ||
|
|
eda1772188 | ||
|
|
00ee1df29e | ||
|
|
9705c9c01a | ||
|
|
8a1ee9fe11 | ||
|
|
bc345548a7 | ||
|
|
3127f71294 | ||
|
|
7fd5990118 | ||
|
|
b3c37d04f6 | ||
|
|
df1f486717 | ||
|
|
15aa91146c | ||
|
|
2a08d5b694 | ||
|
|
f6b673c300 | ||
|
|
cce1fcb986 | ||
|
|
589a1a5809 | ||
|
|
2bce5275e3 | ||
|
|
8b9149ca0c | ||
|
|
367441b41c | ||
|
|
9958d9c9ac | ||
|
|
bbd3c7029f | ||
|
|
37f53cc0d9 | ||
|
|
898440075b | ||
|
|
40944f18c3 | ||
|
|
7d379bca12 | ||
|
|
e1b2031f68 | ||
|
|
7c1d6903ed | ||
|
|
31aee9fcbb | ||
|
|
33eb44f592 | ||
|
|
546f7a3ba8 | ||
|
|
65d1bc2995 | ||
|
|
3c5a67eacb | ||
|
|
7f6d01f3a9 | ||
|
|
b58994808e | ||
|
|
3d1a7e0b80 | ||
|
|
845bc18ba9 | ||
|
|
6369bf40a7 | ||
|
|
50448a3bb8 | ||
|
|
a9fee15f5a | ||
|
|
3897e68506 | ||
|
|
4316ca969b | ||
|
|
54e04d08b8 | ||
|
|
f6c3e33877 | ||
|
|
18e7fca594 | ||
|
|
f449d46879 | ||
|
|
251f469fb7 | ||
|
|
86054fb95a | ||
|
|
fcbd137c15 | ||
|
|
de61eb0b3c | ||
|
|
ed2aa04553 | ||
|
|
480bec0c8f | ||
|
|
e99cbd70fc | ||
|
|
2b3aa0d2eb | ||
|
|
782b6fb70c | ||
|
|
f76a47ab0c | ||
|
|
4a184bed88 | ||
|
|
00b0638d66 | ||
|
|
3b03dc00c1 | ||
|
|
1b6a8c073a | ||
|
|
73cad7fe96 | ||
|
|
b2fb8279dc | ||
|
|
546bcebdaa | ||
|
|
75b333607c | ||
|
|
6c0f85bdbd | ||
|
|
1d998afee6 | ||
|
|
5d247c1e58 | ||
|
|
18956e23c4 | ||
|
|
6722895711 | ||
|
|
87b82c5a62 | ||
|
|
e3ee9617ac | ||
|
|
03c30a97d5 | ||
|
|
3700add7fc | ||
|
|
08cef8ffb2 | ||
|
|
7326e7a3b8 | ||
|
|
59fd96b18f | ||
|
|
30a9d5669c | ||
|
|
49b09bab88 | ||
|
|
8c54a23ab6 | ||
|
|
13db7987b8 | ||
|
|
75d3d6297c | ||
|
|
7b2be59623 | ||
|
|
04f579997c | ||
|
|
474c3e5a67 | ||
|
|
a606693372 | ||
|
|
bd9eace754 | ||
|
|
0796b73482 | ||
|
|
d5459a1d46 | ||
|
|
b170c102dd | ||
|
|
68bc5e611b | ||
|
|
656d26f1c5 | ||
|
|
17b78a06d4 | ||
|
|
064d6696df | ||
|
|
250c07e631 | ||
|
|
7733013b4d | ||
|
|
5fc5b79f16 | ||
|
|
d4dfc9718b | ||
|
|
7383c38f43 | ||
|
|
398d58c520 | ||
|
|
399f581855 | ||
|
|
5217ba2d0a | ||
|
|
b5b86a4508 | ||
|
|
b4bb8734fb | ||
|
|
a757f93331 | ||
|
|
89d35e1a10 | ||
|
|
de278446ba | ||
|
|
77861386ac | ||
|
|
f5f14e7b58 | ||
|
|
5ee15a39c9 | ||
|
|
bed250f1eb | ||
|
|
ac952a3cc3 | ||
|
|
e431a58ebf | ||
|
|
aae69c26d8 | ||
|
|
2fc7f02d02 | ||
|
|
39cfe5772c | ||
|
|
fee8bfc9a9 | ||
|
|
039675855e | ||
|
|
622385a2ba | ||
|
|
bd26fc0730 | ||
|
|
cf5e24cbb4 | ||
|
|
04aab39e54 | ||
|
|
c1037d865f | ||
|
|
ffc932b4e3 | ||
|
|
99f5a9ba83 | ||
|
|
d9cdae957b | ||
|
|
45dd047f29 | ||
|
|
82ba6e4754 | ||
|
|
03f6468edc | ||
|
|
3ce2cfd74c | ||
|
|
be118a32fb | ||
|
|
554dcc4746 | ||
|
|
b571b85cb8 | ||
|
|
189740e5e1 | ||
|
|
7b36e50c64 | ||
|
|
f1d54f955c | ||
|
|
ec20fd6cab | ||
|
|
c3f0773ed2 | ||
|
|
b8b7c30b2a | ||
|
|
e171387d4c | ||
|
|
6e69c9f7a7 | ||
|
|
182960fb5e | ||
|
|
f00a460c60 | ||
|
|
69a8b1abfe | ||
|
|
c78156feca |
+1
-2
@@ -3,5 +3,4 @@
|
||||
.gitattributes export-ignore
|
||||
.commit-template export-ignore eol=lf
|
||||
init-repository export-ignore
|
||||
*.bat text eol=crlf
|
||||
*.bat.in text eol=crlf
|
||||
README.git export-ignore
|
||||
|
||||
-13
@@ -11,16 +11,3 @@ build-*/
|
||||
init-repository.opt
|
||||
init-repository.opt.in
|
||||
config.tl.opt
|
||||
|
||||
# CLion generated files
|
||||
.idea
|
||||
|
||||
# Gradle generated files
|
||||
.gradle/
|
||||
local.properties
|
||||
|
||||
# JDTLS generated files
|
||||
.project
|
||||
.classpath
|
||||
.settings/
|
||||
bin/
|
||||
|
||||
+57
-48
@@ -1,54 +1,54 @@
|
||||
[submodule "qtbase"]
|
||||
path = qtbase
|
||||
url = ../qtbase.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = essential
|
||||
[submodule "qtsvg"]
|
||||
depends = qtbase
|
||||
path = qtsvg
|
||||
url = ../qtsvg.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtdeclarative"]
|
||||
depends = qtbase
|
||||
recommends = qtimageformats qtshadertools qtsvg qtlanguageserver
|
||||
path = qtdeclarative
|
||||
url = ../qtdeclarative.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = essential
|
||||
[submodule "qtactiveqt"]
|
||||
depends = qtbase
|
||||
path = qtactiveqt
|
||||
url = ../qtactiveqt.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtmultimedia"]
|
||||
depends = qtbase qtshadertools
|
||||
recommends = qtdeclarative qtquick3d
|
||||
path = qtmultimedia
|
||||
url = ../qtmultimedia.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qttools"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtactiveqt
|
||||
path = qttools
|
||||
url = ../qttools.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = essential
|
||||
[submodule "qttranslations"]
|
||||
depends = qttools
|
||||
path = qttranslations
|
||||
url = ../qttranslations.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = essential
|
||||
priority = 30
|
||||
[submodule "qtdoc"]
|
||||
depends = qtdeclarative qttools
|
||||
recommends = qtmultimedia qtshadertools qttasktree
|
||||
recommends = qtmultimedia qtshadertools qttasktree qtwebengine
|
||||
path = qtdoc
|
||||
url = ../qtdoc.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = essential
|
||||
priority = 40
|
||||
[submodule "qtrepotools"]
|
||||
@@ -61,7 +61,7 @@
|
||||
depends = qtbase
|
||||
path = qtqa
|
||||
url = ../qtqa.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = essential
|
||||
priority = 50
|
||||
[submodule "qtlocation"]
|
||||
@@ -69,234 +69,243 @@
|
||||
recommends = qtdeclarative
|
||||
path = qtlocation
|
||||
url = ../qtlocation.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = preview
|
||||
[submodule "qtpositioning"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtserialport
|
||||
path = qtpositioning
|
||||
url = ../qtpositioning.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtsensors"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtsensors
|
||||
url = ../qtsensors.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtconnectivity"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtconnectivity
|
||||
url = ../qtconnectivity.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtwayland"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwayland
|
||||
url = ../qtwayland.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qt3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtshadertools qtmultimedia
|
||||
path = qt3d
|
||||
url = ../qt3d.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = deprecated
|
||||
[submodule "qtimageformats"]
|
||||
depends = qtbase
|
||||
path = qtimageformats
|
||||
url = ../qtimageformats.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtserialbus"]
|
||||
depends = qtbase
|
||||
recommends = qtserialport
|
||||
path = qtserialbus
|
||||
url = ../qtserialbus.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtserialport"]
|
||||
depends = qtbase
|
||||
path = qtserialport
|
||||
url = ../qtserialport.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtwebsockets"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtwebsockets
|
||||
url = ../qtwebsockets.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtwebchannel"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtwebsockets
|
||||
path = qtwebchannel
|
||||
url = ../qtwebchannel.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtwebengine"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtwebchannel qttools qtpositioning
|
||||
path = qtwebengine
|
||||
url = ../qtwebengine.git
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
priority = 10
|
||||
[submodule "qtwebview"]
|
||||
depends = qtdeclarative
|
||||
recommends = qtwebengine
|
||||
path = qtwebview
|
||||
url = ../qtwebview.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtcharts"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtcharts
|
||||
url = ../qtcharts.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = deprecated
|
||||
[submodule "qtdatavis3d"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative qtmultimedia
|
||||
path = qtdatavis3d
|
||||
url = ../qtdatavis3d.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = deprecated
|
||||
[submodule "qtvirtualkeyboard"]
|
||||
depends = qtbase qtdeclarative qtsvg
|
||||
recommends = qtmultimedia
|
||||
path = qtvirtualkeyboard
|
||||
url = ../qtvirtualkeyboard.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtscxml"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtscxml
|
||||
url = ../qtscxml.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtspeech"]
|
||||
depends = qtbase qtmultimedia
|
||||
recommends = qtdeclarative
|
||||
path = qtspeech
|
||||
url = ../qtspeech.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtnetworkauth"]
|
||||
depends = qtbase
|
||||
path = qtnetworkauth
|
||||
url = ../qtnetworkauth.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtremoteobjects"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtremoteobjects
|
||||
url = ../qtremoteobjects.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtlottie"]
|
||||
depends = qtbase qtdeclarative qtquicktimeline
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtlottie
|
||||
url = ../qtlottie.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtquicktimeline"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtquicktimeline
|
||||
url = ../qtquicktimeline
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtquick3d"]
|
||||
depends = qtbase qtdeclarative qtshadertools
|
||||
recommends = qtquicktimeline
|
||||
path = qtquick3d
|
||||
url = ../qtquick3d.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtshadertools"]
|
||||
depends = qtbase
|
||||
path = qtshadertools
|
||||
url = ../qtshadertools.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qt5compat"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qt5compat
|
||||
url = ../qt5compat.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = deprecated
|
||||
[submodule "qtcoap"]
|
||||
depends = qtbase
|
||||
path = qtcoap
|
||||
url = ../qtcoap.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtmqtt"]
|
||||
depends = qtbase qtdeclarative
|
||||
recommends = qtwebsockets
|
||||
path = qtmqtt
|
||||
url = ../qtmqtt.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtopcua"]
|
||||
depends = qtbase qtdeclarative
|
||||
path = qtopcua
|
||||
url = ../qtopcua.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtlanguageserver"]
|
||||
depends = qtbase
|
||||
path = qtlanguageserver
|
||||
url = ../qtlanguageserver.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = preview
|
||||
[submodule "qthttpserver"]
|
||||
depends = qtbase
|
||||
recommends = qtwebsockets
|
||||
path = qthttpserver
|
||||
url = ../qthttpserver.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtquick3dphysics"]
|
||||
depends = qtbase qtdeclarative qtquick3d qtshadertools
|
||||
path = qtquick3dphysics
|
||||
url = ../qtquick3dphysics.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtgrpc"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtgrpc
|
||||
url = ../qtgrpc.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtquickeffectmaker"]
|
||||
depends = qtbase qtdeclarative qtshadertools
|
||||
recommends = qtquick3d
|
||||
path = qtquickeffectmaker
|
||||
url = ../qtquickeffectmaker.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qtgraphs"]
|
||||
depends = qtbase qtdeclarative qtquick3d
|
||||
path = qtgraphs
|
||||
url = ../qtgraphs.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = addon
|
||||
[submodule "qttasktree"]
|
||||
depends = qtbase
|
||||
path = qttasktree
|
||||
url = ../qttasktree.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = preview
|
||||
[submodule "qtopenapi"]
|
||||
depends = qtbase
|
||||
recommends = qtdeclarative
|
||||
path = qtopenapi
|
||||
url = ../qtopenapi.git
|
||||
branch = 6.12
|
||||
branch = 6.11.3
|
||||
status = preview
|
||||
[submodule "qtcanvaspainter"]
|
||||
depends = qtbase qtdeclarative qtshadertools
|
||||
path = qtcanvaspainter
|
||||
url = ../qtcanvaspainter.git
|
||||
branch = 6.12
|
||||
status = addon
|
||||
branch = 6.11.3
|
||||
status = preview
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
# Changelog
|
||||
|
||||
This repository does not keep a changelog of its own. Qt is released as a set
|
||||
of modules, and the change information for a release is published with that
|
||||
release rather than tracked here.
|
||||
|
||||
## Where to look
|
||||
|
||||
**Cumulative release notes** are published in
|
||||
[qt/qtreleasenotes](https://code.qt.io/cgit/qt/qtreleasenotes.git/tree/qt).
|
||||
|
||||
**What changed in a Qt version.** Each minor release has a "What's New" page in
|
||||
the Qt documentation. It lists new modules, new and deprecated APIs, and the
|
||||
notable changes per module.
|
||||
See [What's New in Qt 6](https://doc.qt.io/qt-6/whatsnewqt6.html).
|
||||
|
||||
**Release phases and schedule.** Each release has a wiki page with the
|
||||
release plan. See [Qt Releasing Wiki](https://wiki.qt.io/QtReleasing).
|
||||
|
||||
**Moving between major versions.** The
|
||||
[Porting to Qt 6](https://doc.qt.io/qt-6/portingguide.html) guide covers the
|
||||
changes that affect existing code.
|
||||
|
||||
## Qt 4 and Qt 5 changelogs
|
||||
|
||||
Most module repositories feature a `dist` directory holding `changes-*` files.
|
||||
These are no longer maintained. They stop at `changes-6.0.0` and are kept only
|
||||
as a historical record of Qt 4 and Qt 5 releases. Do not add to them, and do
|
||||
not treat them as a current source of change information for Qt 6. Use the
|
||||
sources above instead.
|
||||
@@ -1,23 +0,0 @@
|
||||
# Code of conduct
|
||||
|
||||
The Qt Community Code of Conduct applies to everyone who takes part in the Qt
|
||||
Project. It covers any forum, mailing list, wiki, website, IRC channel, public
|
||||
meeting, or private correspondence in the context of the project and its
|
||||
services.
|
||||
|
||||
[QUIP 12](https://contribute.qt-project.org/quips/12) is the Code of Conduct
|
||||
itself and is the authoritative text. It asks participants to be considerate,
|
||||
respectful, collaborative, pragmatic, and supportive of one another, and it
|
||||
explains what each of those means in practice.
|
||||
|
||||
## If something goes wrong
|
||||
|
||||
QUIP 12 describes how the community handles problems. In short: offer personal
|
||||
support to anyone who is being attacked, and remind those involved of the Code
|
||||
of Conduct. Moderators of a mailing list, channel, or forum can suspend access
|
||||
for anyone who persistently breaks it, so raise the matter with them when it
|
||||
needs to go further. Where a disagreement is technical, ask the community for
|
||||
advice or request mediation rather than escalating it into a public dispute.
|
||||
|
||||
Read [QUIP 12](https://contribute.qt-project.org/quips/12) in full for the
|
||||
complete guidance.
|
||||
+2
-1
@@ -4,4 +4,5 @@ We welcome contributions to Qt!
|
||||
|
||||
Note that we cannot accept pull requests on GitHub. All contributions to the Qt project are exclusively handled through the [Gerrit code review system](https://codereview.qt-project.org).
|
||||
|
||||
See [contribute.qt-project.org](https://contribute.qt-project.org/) to learn more.
|
||||
Read the
|
||||
[Qt Contribution Guidelines](https://wiki.qt.io/Qt_Contribution_Guidelines) to learn more.
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
# Governance
|
||||
|
||||
The Qt Project is a meritocratic, consensus-based community. Anyone with an
|
||||
interest in Qt can join it, take part in its decision-making, and contribute to
|
||||
Qt's development.
|
||||
|
||||
[QUIP 2](https://contribute.qt-project.org/quips/2) is the Qt Governance Model
|
||||
and is the authoritative text. It describes five levels of involvement and how
|
||||
people move between them:
|
||||
|
||||
* **Users** — community members who use Qt. They report bugs, help other
|
||||
users, and advocate for the project.
|
||||
* **Contributors** — community members who provide input to the project, by
|
||||
proposing changes in Gerrit, reviewing, writing documentation, or testing.
|
||||
There is no selection process.
|
||||
* **Approvers** — contributors who have shown a sustained commitment to the
|
||||
project and who can approve changes for inclusion.
|
||||
* **Maintainers** — approvers responsible for a specific area of Qt, who
|
||||
decide what happens in the code they maintain.
|
||||
* **Chief Maintainer** — leads the maintainer group, sets the overall
|
||||
direction of the project, and has the final say when the project fails to
|
||||
reach consensus.
|
||||
|
||||
The current maintainers are listed at
|
||||
[wiki.qt.io/Maintainers](https://wiki.qt.io/Maintainers).
|
||||
|
||||
For the processes that sit alongside this model — the branch policy, the
|
||||
security policy, the code of conduct, and the rest — see
|
||||
[contribute.qt-project.org](https://contribute.qt-project.org/).
|
||||
-69
@@ -1,69 +0,0 @@
|
||||
Qt licensing
|
||||
============
|
||||
|
||||
Qt is not distributed under a single license, and this file is not a license
|
||||
text. Qt is available under commercial terms and under several open source
|
||||
licenses, and which terms apply depends on the module and the file.
|
||||
|
||||
The open source licenses in use across the Qt repositories include LGPL-3.0,
|
||||
GPL-2.0, and GPL-3.0 for module implementations, GFDL-1.3 for documentation,
|
||||
and BSD-3-Clause for build system files, examples, and tooling. Third-party
|
||||
code bundled inside a module carries its own terms.
|
||||
|
||||
|
||||
How licensing is declared
|
||||
-------------------------
|
||||
|
||||
Licensing is declared per file, following the
|
||||
[REUSE version 3.3 specification](https://reuse.software/spec-3.3/). Every file
|
||||
carries an SPDX-License-Identifier header, or is covered by an adjacent
|
||||
REUSE.toml file where an inline header is not possible. The full text of every
|
||||
license referenced this way is in the LICENSES directory of the repository it
|
||||
applies to.
|
||||
|
||||
Those SPDX headers and the LICENSES directory are the authoritative,
|
||||
machine-readable record for the Qt sources. They are what the REUSE tool and
|
||||
Qt's software bill of materials pipeline read when generating the SBOM for the
|
||||
sources; they do not describe the licensing of Qt binaries.
|
||||
|
||||
|
||||
Finding the terms for a module
|
||||
------------------------------
|
||||
|
||||
Each Qt module carries its own licensing, and the terms are stated in the
|
||||
"Licenses and Attributions" section of that module's documentation overview
|
||||
page. For example, see:
|
||||
|
||||
https://doc.qt.io/qt-6/qtcore-index.html
|
||||
|
||||
That section also lists the third-party code the module includes and the
|
||||
license of each such component.
|
||||
|
||||
License of built modules and tools
|
||||
----------------------------------
|
||||
|
||||
When building Qt, you can build SBOM documents alongside (`-sbom` argument for
|
||||
`configure`). You can use the generated SBOM artifacts to query copyrights and
|
||||
licenses for built modules, and tools. For more details, see
|
||||
[Software Bill of Materials](https://doc.qt.io/qt-6/sbom.html}.
|
||||
|
||||
Further information
|
||||
-------------------
|
||||
|
||||
Qt licensing overview
|
||||
https://doc.qt.io/qt-6/licensing.html
|
||||
|
||||
Licenses used in Qt
|
||||
https://doc.qt.io/qt-6/licenses-used-in-qt.html
|
||||
|
||||
All Qt modules
|
||||
https://doc.qt.io/qt-6/qtmodules.html
|
||||
|
||||
Commercial licensing
|
||||
https://www.qt.io/licensing/
|
||||
|
||||
Open source licensing and its obligations
|
||||
https://www.qt.io/download-open-source
|
||||
|
||||
Qt educational license
|
||||
https://www.qt.io/qt-educational-license
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
OBTAINING QT 6 FROM GIT
|
||||
=======================
|
||||
|
||||
Synopsis
|
||||
========
|
||||
|
||||
For a more in-depth description on how to build Qt 6 from git,
|
||||
please see: http://wiki.qt.io/Building_Qt_6_from_Git
|
||||
|
||||
Note that, although the git module is called qt5.git, the dev and 6.x branches
|
||||
do contain Qt 6!
|
||||
|
||||
Get The Submodules
|
||||
==================
|
||||
|
||||
Cloning qt5.git does not automatically clone all submodules.
|
||||
To get the submodules, it is recommended to use the `init-repository' script.
|
||||
|
||||
./init-repository
|
||||
|
||||
See `./init-repository -help' for full documentation on the many supported
|
||||
options.
|
||||
|
||||
|
||||
Update The Submodules (optional)
|
||||
================================
|
||||
|
||||
After a plain `git clone' and `init-repository', you will have each submodule
|
||||
checked out to a particular SHA1. This combination of SHA1s is guaranteed to
|
||||
have passed some basic acceptance testing.
|
||||
|
||||
If (and only if!) you need newer versions of some submodules, you can manually
|
||||
fetch and/or pull and/or reset any modules you like, or use the qt5_tool to
|
||||
pull all modules:
|
||||
|
||||
./qtrepotools/bin/qt5_tool -p
|
||||
|
||||
NOTE! As soon as you change the SHA1 of any submodule, you are using a
|
||||
combination of modules which is potentially untested and broken! If you want
|
||||
something which is more likely to compile, stick to the module SHA1s provided
|
||||
in this repository.
|
||||
|
||||
|
||||
Install The Git Grafts (optional)
|
||||
=================================
|
||||
|
||||
If you want to be able to connect the Qt5 and Qt4 development history, you
|
||||
may set up git grafts with the following command:
|
||||
|
||||
git submodule foreach '../qtrepotools/bin/git-qt-grafts <path_to_history>'
|
||||
|
||||
|
||||
Developing and Contributing to Qt
|
||||
=================================
|
||||
|
||||
For more information on how to develop and contribute to Qt, please see:
|
||||
http://wiki.qt.io/Category:Developing_Qt
|
||||
@@ -1,80 +1,127 @@
|
||||
# Qt 6
|
||||
HOW TO BUILD Qt 6
|
||||
=================
|
||||
|
||||
This repository, `qt5.git`, is the Qt super-repository. It records a git
|
||||
submodule pointer to each Qt module repository, such as `qtbase` and
|
||||
`qtdeclarative`, along with the build system, the `configure` scripts, and the
|
||||
continuous integration configuration that build those modules as a single tree.
|
||||
|
||||
Each submodule points at a specific revision. The combination of revisions that
|
||||
a branch records is a snapshot that has passed Qt's continuous integration.
|
||||
Clone this repository first and let it select the module revisions for you. If
|
||||
you move a submodule to a different revision, you are building a combination
|
||||
that nobody has tested.
|
||||
Synopsis
|
||||
========
|
||||
|
||||
> Despite the name `qt5.git`, the `dev` and `6.x` branches contain Qt 6.
|
||||
System requirements
|
||||
-------------------
|
||||
|
||||
To use Qt rather than build it from sources, see
|
||||
[Get and Install Qt](https://doc.qt.io/qt-6/get-and-install-qt.html).
|
||||
* C++ compiler supporting the C++17 standard
|
||||
* CMake
|
||||
* Ninja
|
||||
* Python 3
|
||||
|
||||
## Repository layout
|
||||
For more details, see also https://doc.qt.io/qt-6/build-sources.html
|
||||
|
||||
Each Qt module lives in its own directory, such as `qtbase` or
|
||||
`qtdeclarative`. Those directories are git submodules.
|
||||
Linux, Mac:
|
||||
-----------
|
||||
|
||||
The other top-level entries are:
|
||||
```
|
||||
cd <path>/<source_package>
|
||||
./configure -prefix $PWD/qtbase
|
||||
cmake --build .
|
||||
```
|
||||
|
||||
| Entry | Purpose |
|
||||
| ----- | ------- |
|
||||
|`.gitmodules`| Lists modules for the current branch.|
|
||||
| `CMakeLists.txt` | Entry point for the top-level build of all modules. |
|
||||
| `configure`, `configure.bat` | Wrappers that configure that build. |
|
||||
| `init-repository` | Checks out the submodules. Git clones only. |
|
||||
| `cmake/` | CMake modules shared by the top-level build. |
|
||||
| `coin/` | Continuous integration configuration and provisioning. |
|
||||
| `LICENSES/`, `REUSE.toml` | License texts and per-file licensing metadata. |
|
||||
Windows:
|
||||
--------
|
||||
|
||||
## Get the sources
|
||||
1. Open a command prompt.
|
||||
2. Ensure that the following tools can be found in the path:
|
||||
* Supported compiler (Visual Studio 2022 or later, or MinGW-builds gcc 13.1 or later)
|
||||
* Python 3 ([https://www.python.org/downloads/windows/] or from Microsoft Store)
|
||||
|
||||
For instructions, see [Getting Qt Sources from the Git repository](https://doc.qt.io/qt-6/getting-sources-from-git.html).
|
||||
```
|
||||
cd <path>\<source_package>
|
||||
configure -prefix %CD%\qtbase
|
||||
cmake --build .
|
||||
```
|
||||
|
||||
## Build Qt
|
||||
More details follow.
|
||||
|
||||
For instructions, see [Build from sources](https://doc.qt.io/qt-6/build-sources.html).
|
||||
|
||||
## Documentation
|
||||
Build!
|
||||
======
|
||||
|
||||
The [Qt 6 documentation](https://doc.qt.io/qt-6/index.html) covers the
|
||||
framework itself.
|
||||
Qt is built with CMake, and a typical
|
||||
`configure && cmake --build .` build process is used.
|
||||
|
||||
## Report an issue
|
||||
If Ninja is installed, it is automatically chosen as CMake generator.
|
||||
|
||||
Report bugs at [bugreports.qt.io](https://bugreports.qt.io/), following
|
||||
[these steps](https://doc.qt.io/qt-6/bughowto.html).
|
||||
Some relevant configure options (see configure -help):
|
||||
|
||||
## Security
|
||||
* `-release` Compile and link Qt with debugging turned off.
|
||||
* `-debug` Compile and link Qt with debugging turned on.
|
||||
|
||||
To report a security vulnerability in Qt, and to read what the Qt Project
|
||||
commits to in response, see [SECURITY.md](SECURITY.md).
|
||||
Example for a release build:
|
||||
|
||||
## Contribute to Qt
|
||||
```
|
||||
./configure -prefix $PWD/qtbase
|
||||
cmake --build .
|
||||
```
|
||||
|
||||
The Qt Project does not accept pull requests on GitHub. Every contribution goes
|
||||
through [Gerrit](https://codereview.qt-project.org), so read
|
||||
[how to contribute](CONTRIBUTING.md) before you push a change. All
|
||||
participation in the project is subject to our
|
||||
[code of conduct](CODE_OF_CONDUCT.md). To learn who decides what, and how
|
||||
someone becomes an approver or a maintainer, see
|
||||
[how the project is governed](GOVERNANCE.md).
|
||||
Development discussions happens in the open on the
|
||||
[Qt Project mailing lists](https://lists.qt-project.org/).
|
||||
Example for a developer build:
|
||||
(enables more autotests, builds debug version of libraries, ...)
|
||||
|
||||
## License
|
||||
```
|
||||
./configure -developer-build
|
||||
cmake --build .
|
||||
```
|
||||
|
||||
Qt is available under both commercial and open source licenses, and the terms
|
||||
depend on the module you use. [LICENSE](LICENSE) explains how licensing is
|
||||
declared across the Qt repositories and where to find the terms that apply to
|
||||
a given module.
|
||||
See output of `./configure -help` for documentation on various options to
|
||||
configure.
|
||||
|
||||
For the full picture, see the
|
||||
[Qt licensing overview](https://doc.qt.io/qt-6/licensing.html) and
|
||||
[qt.io/licensing](https://www.qt.io/licensing/).
|
||||
The above examples will build whatever Qt modules have been enabled
|
||||
by default in the build system.
|
||||
|
||||
It is possible to build selected repositories with their dependencies by doing
|
||||
a `ninja <repo-name>/all`. For example, to build only qtdeclarative,
|
||||
and the modules it depends on:
|
||||
|
||||
```
|
||||
./configure
|
||||
ninja qtdeclarative/all
|
||||
```
|
||||
|
||||
This can save a lot of time if you are only interested in a subset of Qt.
|
||||
|
||||
|
||||
Hints
|
||||
=====
|
||||
|
||||
The submodule repository `qtrepotools` contains useful scripts for
|
||||
developers and release engineers. Consider adding qtrepotools/bin
|
||||
to your `PATH` environment variable to access them.
|
||||
|
||||
|
||||
Building Qt from git
|
||||
====================
|
||||
|
||||
See http://wiki.qt.io/Building_Qt_6_from_Git and [README.git](README.git)
|
||||
for more information.
|
||||
See http://wiki.qt.io/Qt_6 for the reference platforms.
|
||||
|
||||
|
||||
Documentation
|
||||
=============
|
||||
|
||||
After configuring and compiling Qt, building the documentation is possible by running
|
||||
|
||||
```
|
||||
cmake --build . --target docs
|
||||
```
|
||||
|
||||
After having built the documentation, you need to install it with the following
|
||||
command:
|
||||
|
||||
```
|
||||
cmake --build . --target install_docs
|
||||
```
|
||||
|
||||
The documentation is installed in the path specified with the
|
||||
configure argument `-docdir`.
|
||||
|
||||
Information about Qt's documentation is located in qtbase/doc/README
|
||||
|
||||
Note: Building the documentation is only tested on desktop platforms.
|
||||
|
||||
+3
-3
@@ -34,6 +34,6 @@ We welcome contributions to Qt! If you'd like to contribute, read the
|
||||
Qt is available under various licenses. For details, check out the
|
||||
[license documentation](https://doc.qt.io/qt-6/licensing.html).
|
||||
|
||||
*Note that this README.md.template serves as a guideline for the README.md
|
||||
files of Qt module repositories, and that further sections can be added to
|
||||
individual README.md files if necessary.*
|
||||
*Note that this README.md.template serves as a guideline for README.md files,
|
||||
and that further sections can be added to individual README.md files if
|
||||
necessary.*
|
||||
|
||||
+2
-5
@@ -10,8 +10,7 @@ SPDX-License-Identifier = "LicenseRef-Qt-Commercial OR GPL-3.0-only"
|
||||
[[annotations]]
|
||||
path = ["coin/**", "cmake/**", "**.pro", "**.qrc", "**CMakeLists.txt", ".cmake.conf", "**.yaml",
|
||||
"coin/axivion/ci_config_linux.json",
|
||||
"**.cfg", "**.plist", "**.pri", "**.prf", "configure.json",
|
||||
"settings.gradle", "gradle/libs.versions.toml"]
|
||||
"**.cfg", "**.plist", "**.pri", "**.prf", "configure.json"]
|
||||
precedence = "closest"
|
||||
comment = "build system"
|
||||
SPDX-FileCopyrightText = "Copyright (C) 2024 The Qt Company Ltd."
|
||||
@@ -26,9 +25,7 @@ SPDX-FileCopyrightText = "Copyright (C) 2024 The Qt Company Ltd."
|
||||
SPDX-License-Identifier = "BSD-3-Clause"
|
||||
|
||||
[[annotations]]
|
||||
path = ["**README*", "CONTRIBUTING.md", "CODE_OF_CONDUCT.md", "GOVERNANCE.md",
|
||||
"SECURITY.md", "CHANGELOG.md", "LICENSE",
|
||||
".commit-template", ".github/pull_request_template.md"]
|
||||
path = ["**README*", "CONTRIBUTING.md", ".commit-template", ".github/pull_request_template.md"]
|
||||
comment = "documentation"
|
||||
precedence = "closest"
|
||||
SPDX-FileCopyrightText = "Copyright (C) 2024 The Qt Company Ltd."
|
||||
|
||||
-42
@@ -1,42 +0,0 @@
|
||||
# Security policy
|
||||
|
||||
## Reporting a vulnerability
|
||||
|
||||
Report suspected security vulnerabilities in Qt by email to
|
||||
<security@qt-project.org>. Do not report them in the public bug tracker at
|
||||
bugreports.qt.io.
|
||||
|
||||
If you hold a commercial license, you can instead report the issue to the Qt
|
||||
Company support team through the support portal, using the "Security Issues"
|
||||
category.
|
||||
|
||||
## The policy
|
||||
|
||||
[QUIP 15](https://contribute.qt-project.org/quips/15) is the Qt Project
|
||||
Security Policy. It is the authoritative source for how the project handles
|
||||
security issues, and it covers:
|
||||
|
||||
* How reports are received, acknowledged, and triaged, and in what time frame.
|
||||
* Who is responsible for addressing an issue, and how it is escalated.
|
||||
* How issues are disclosed, including CVE handling and notification of
|
||||
packagers.
|
||||
* Which versions of Qt fixes are guaranteed for.
|
||||
|
||||
Security announcements are published to the
|
||||
[announce mailing list](https://lists.qt-project.org/listinfo/announce).
|
||||
|
||||
Qt customers with a commercial license now have the opportunity to subscribe to
|
||||
the Qt Early Warning List in the [Customer Portal](https://account.qt.io/). The
|
||||
EWL subscription requires an active
|
||||
[Commercial Qt license](https://www.qt.io/development/qt-framework/commercial-qt).
|
||||
|
||||
## Related material
|
||||
|
||||
* [Security in Qt](https://doc.qt.io/qt-6/security.html) — what Qt does and
|
||||
does not protect against, and how to use Qt securely.
|
||||
* [QUIP 23](https://contribute.qt-project.org/quips/23) — the `Qt-Security`
|
||||
header that marks how security-relevant a source file is.
|
||||
* [QUIP 16](https://contribute.qt-project.org/quips/16) — the branch policy,
|
||||
which governs which branches accept which changes.
|
||||
* [Coordinated Vulnerability Disclosure Policy](https://www.qt.io/terms-conditions/coordinated-vulnerability-disclosure-policy) -
|
||||
Terms and Conditions of Coordinated Vulnerability Disclosure Policy at Qt Group.
|
||||
@@ -21,9 +21,7 @@ ColumnLimit: 100
|
||||
# Disable reflow of some specific comments
|
||||
# qdoc comments: indentation rules are different.
|
||||
# Translation comments and SPDX license identifiers are also excluded.
|
||||
# REUSE-IgnoreStart
|
||||
CommentPragmas: "^!|^:|^ SPDX-License-Identifier:"
|
||||
# REUSE-IgnoreEnd
|
||||
|
||||
# We want a space between the type and the star for pointer types.
|
||||
PointerBindsToType: false
|
||||
|
||||
@@ -5,37 +5,6 @@
|
||||
# with renamed functions, because we need similar logic for init-repository, but
|
||||
# we can't access qtbase before we clone it.
|
||||
|
||||
function(qt_ir_print_to_stdout text)
|
||||
set(tmp_candidates
|
||||
"${CMAKE_CURRENT_BINARY_DIR}"
|
||||
"$ENV{TMPDIR}"
|
||||
"$ENV{TEMP}"
|
||||
"/tmp"
|
||||
)
|
||||
set(tmp "")
|
||||
foreach(dir IN LISTS tmp_candidates)
|
||||
if(dir STREQUAL "")
|
||||
continue()
|
||||
endif()
|
||||
set(candidate "${dir}/.qt_configure_stdout_tmp")
|
||||
execute_process(
|
||||
COMMAND "${CMAKE_COMMAND}" -E touch "${candidate}"
|
||||
RESULT_VARIABLE touch_result
|
||||
)
|
||||
if(touch_result EQUAL 0)
|
||||
set(tmp "${candidate}")
|
||||
break()
|
||||
endif()
|
||||
endforeach()
|
||||
if(tmp STREQUAL "")
|
||||
message("${text}") # last resort fallback (stderr)
|
||||
return()
|
||||
endif()
|
||||
file(WRITE "${tmp}" "${text}")
|
||||
execute_process(COMMAND "${CMAKE_COMMAND}" -E cat "${tmp}")
|
||||
file(REMOVE "${tmp}")
|
||||
endfunction()
|
||||
|
||||
# Call a function with the given arguments.
|
||||
function(qt_ir_call_function func)
|
||||
set(call_code "${func}(")
|
||||
@@ -399,17 +368,16 @@ endfunction()
|
||||
|
||||
# Shows help for the command line options.
|
||||
function(qt_ir_show_help)
|
||||
set(help "")
|
||||
set(help_file "${CMAKE_CURRENT_LIST_DIR}/QtIRHelp.txt")
|
||||
if(EXISTS "${help_file}")
|
||||
file(READ "${help_file}" content)
|
||||
string(APPEND help "${content}")
|
||||
message("${content}")
|
||||
endif()
|
||||
string(APPEND help [[
|
||||
|
||||
message([[
|
||||
General Options:
|
||||
-help, -h ............ Display this help screen
|
||||
]])
|
||||
qt_ir_print_to_stdout("${help}")
|
||||
endfunction()
|
||||
|
||||
# Gets the unhandled command line args.
|
||||
|
||||
@@ -102,27 +102,18 @@ endfunction()
|
||||
# - ../qt/qttools-litehtml.git
|
||||
function(qt_ir_add_git_remotes repo_relative_url working_directory)
|
||||
set(gerrit_ssh_base "ssh://@[email protected]@PORT@/")
|
||||
set(gerrit_https_base "https://@[email protected]@AUTH@/")
|
||||
set(gerrit_repo_url "${gerrit_ssh_base}")
|
||||
|
||||
qt_ir_get_option_value(codereview-username username)
|
||||
qt_ir_get_option_value(codereview-https https)
|
||||
|
||||
if(https)
|
||||
set(gerrit_repo_url "${gerrit_https_base}")
|
||||
else()
|
||||
set(gerrit_repo_url "${gerrit_ssh_base}")
|
||||
endif()
|
||||
|
||||
# If given a username, make a "verbose" remote.
|
||||
# Otherwise, rely on proper SSH configuration.
|
||||
if(username)
|
||||
string(REPLACE "@USER@" "${username}@" gerrit_repo_url "${gerrit_repo_url}")
|
||||
string(REPLACE "@PORT@" ":29418" gerrit_repo_url "${gerrit_repo_url}")
|
||||
string(REPLACE "@AUTH@" "/a" gerrit_repo_url "${gerrit_repo_url}")
|
||||
else()
|
||||
string(REPLACE "@USER@" "" gerrit_repo_url "${gerrit_repo_url}")
|
||||
string(REPLACE "@PORT@" "" gerrit_repo_url "${gerrit_repo_url}")
|
||||
string(REPLACE "@AUTH@" "" gerrit_repo_url "${gerrit_repo_url}")
|
||||
endif()
|
||||
|
||||
set(namespace "qt")
|
||||
|
||||
@@ -98,9 +98,6 @@ Options:
|
||||
username and port number, and thus relies on a correct SSH
|
||||
configuration.
|
||||
|
||||
--codereview-https
|
||||
Specify this option to use HTTPs instead of SSH.
|
||||
|
||||
--alternates <path to other Qt5 repo>
|
||||
Adds alternates for each submodule to another full qt5 checkout.
|
||||
This makes this qt5 checkout very small, as it will use the object
|
||||
|
||||
@@ -14,7 +14,6 @@ macro(qt_ir_set_known_command_line_options)
|
||||
qt_ir_commandline_option(berlin TYPE boolean)
|
||||
qt_ir_commandline_option(branch TYPE boolean)
|
||||
qt_ir_commandline_option(codereview-username TYPE string)
|
||||
qt_ir_commandline_option(codereview-https TYPE boolean)
|
||||
qt_ir_commandline_option(copy-objects TYPE boolean)
|
||||
qt_ir_commandline_option(fetch TYPE boolean DEFAULT_VALUE yes)
|
||||
qt_ir_commandline_option(force SHORT_NAME f TYPE boolean)
|
||||
|
||||
@@ -60,7 +60,7 @@ endfunction()
|
||||
# Populates $out_module_list with all subdirectories that have a CMakeLists.txt file
|
||||
function(qt_internal_find_modules out_module_list)
|
||||
set(module_list "")
|
||||
file(GLOB directories LIST_DIRECTORIES true RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" qt* tqtc-*)
|
||||
file(GLOB directories LIST_DIRECTORIES true RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" *)
|
||||
foreach(directory IN LISTS directories)
|
||||
if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${directory}"
|
||||
AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${directory}/CMakeLists.txt")
|
||||
|
||||
@@ -30,6 +30,3 @@ enable_if:
|
||||
- condition: property
|
||||
property: target.os
|
||||
equals_value: Linux
|
||||
- condition: property
|
||||
property: target.osVersion
|
||||
not_equals_value: HarmonyOS_ANY
|
||||
|
||||
@@ -52,7 +52,7 @@ disable_if:
|
||||
conditions:
|
||||
- condition: property
|
||||
property: target.osVersion
|
||||
in_values: [HarmonyOS_ANY, Android_ANY, QEMU, IOS_ANY, QNX_710, WebAssembly, INTEGRITY, VxWorks]
|
||||
in_values: [Android_ANY, QEMU, IOS_ANY, QNX_710, WebAssembly, INTEGRITY, VxWorks]
|
||||
- condition: and
|
||||
conditions:
|
||||
- condition: property
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'opensuse-16.0-host-asan'
|
||||
Template: 'qtci-linux-openSUSE-16.0-x86_64-51'
|
||||
Id: 'opensuse-15.6-host-asan'
|
||||
Template: 'qtci-linux-openSUSE-15.6-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure', 'UseAddressSanitizer']
|
||||
Configure arguments: '-nomake examples -developer-build'
|
||||
|
||||
@@ -3,7 +3,6 @@ Include: [
|
||||
cmake_platforms_qemu.yaml,
|
||||
cmake_platforms_qemu_qnx.yaml,
|
||||
cmake_platforms_target_android.yaml,
|
||||
cmake_platforms_target_harmonyos.yaml,
|
||||
cmake_platforms_wasm.yaml,
|
||||
macos.yaml
|
||||
]
|
||||
@@ -59,7 +58,7 @@ Configurations:
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'Packaging', 'UseConfigure', 'DoNotRunTests', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -no-feature-liburing -bundled-xcb-xinput -qpa offscreen\;xcb'
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput -qpa offscreen\;xcb'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON',
|
||||
@@ -105,20 +104,6 @@ Configurations:
|
||||
'VCPKG_HOST_TRIPLET=x64-linux-qt',
|
||||
'VCPKG_TARGET_TRIPLET=x64-linux-qt',
|
||||
]
|
||||
# Ubuntu 26.04 x64 Wayland
|
||||
-
|
||||
Id: 'ubuntu-26.04-x64-developer-build'
|
||||
Template: 'qtci-linux-Ubuntu-26.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure', 'InsignificantTests', 'VerboseCTestOutput', 'StandaloneExamples']
|
||||
Configure arguments: '-make examples -developer-build -c++std c++20 -linker gold -qtlibinfix TestInfix -qtnamespace TestNamespace'
|
||||
Environment variables: [
|
||||
'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'VCPKG_HOST_TRIPLET=x64-linux-qt',
|
||||
'VCPKG_TARGET_TRIPLET=x64-linux-qt',
|
||||
]
|
||||
# Ubuntu 24.04 x64 Wayland
|
||||
-
|
||||
Id: 'ubuntu-24.04-x64'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
||||
@@ -132,20 +117,6 @@ Configurations:
|
||||
'VCPKG_HOST_TRIPLET=x64-linux-qt',
|
||||
'VCPKG_TARGET_TRIPLET=x64-linux-qt',
|
||||
]
|
||||
# Ubuntu 26.04 x64 Wayland
|
||||
-
|
||||
Id: 'ubuntu-26.04-x64'
|
||||
Template: 'qtci-linux-Ubuntu-26.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure', 'InsignificantTests', 'VerboseCTestOutput', 'GenerateSBOM', 'VerifySBOM', 'DocsGenerationV2']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON',
|
||||
'VCPKG_HOST_TRIPLET=x64-linux-qt',
|
||||
'VCPKG_TARGET_TRIPLET=x64-linux-qt',
|
||||
]
|
||||
# Test on Ubuntu 24.04 x64 X11
|
||||
-
|
||||
Id: 'ubuntu-24.04-x64-developer-build-x11-tests'
|
||||
@@ -160,8 +131,8 @@ Configurations:
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'ubuntu-24.04-x64'
|
||||
-
|
||||
Id: 'opensuse-16.0-developer-build'
|
||||
Template: 'qtci-linux-openSUSE-16.0-x86_64-51'
|
||||
Id: 'opensuse-15.6-developer-build'
|
||||
Template: 'qtci-linux-openSUSE-15.6-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure']
|
||||
Configure arguments: '-nomake examples -developer-build'
|
||||
@@ -172,6 +143,20 @@ Configurations:
|
||||
'VCPKG_HOST_TRIPLET=x64-linux-qt',
|
||||
'VCPKG_TARGET_TRIPLET=x64-linux-qt',
|
||||
]
|
||||
-
|
||||
Id: 'opensuse-16.0-developer-build'
|
||||
Template: 'qtci-linux-openSUSE-16.0-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure', 'InsignificantTests', 'DoNotAbortTestingOnFirstFailure']
|
||||
Configure arguments: '-nomake examples -developer-build'
|
||||
Environment variables: [
|
||||
'PATH={{.Env.CMAKE_MIN_SUPPORTED_BIN_PATH}}:{{.Env.PATH}}',
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'VCPKG_HOST_TRIPLET=x64-linux-qt',
|
||||
'VCPKG_TARGET_TRIPLET=x64-linux-qt',
|
||||
'SCCACHE_C_CUSTOM_CACHE_BUSTER=v1'
|
||||
]
|
||||
-
|
||||
Id: 'sles-15_sp6-static'
|
||||
Template: 'qtci-linux-SLES-15_SP6-x86_64-52'
|
||||
@@ -214,55 +199,6 @@ Configurations:
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'WEBVIEW2_SDK_ROOT={{.Env.WEBVIEW2_SDK_ROOT_PATH}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_24H2-msvc2026'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-72'
|
||||
Compiler: 'MSVC2026'
|
||||
Features: ['Sccache', 'DebugAndRelease', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
||||
'VCPKG_HOST_TRIPLET=x64-windows-qt',
|
||||
'VCPKG_TARGET_TRIPLET=x64-windows-qt',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'WEBVIEW2_SDK_ROOT={{.Env.WEBVIEW2_SDK_ROOT_PATH}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_24H2-msvc2026-developer-build'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-72'
|
||||
Compiler: 'MSVC2026'
|
||||
Features: ['Sccache', 'DebugAndRelease', 'WarningsAreErrors', 'UseConfigure', 'StandaloneExamples']
|
||||
Configure arguments: '-debug-and-release -force-asserts -make examples -developer-build -force-debug-info -qt-zlib -c++std c++20'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DMySQL_ROOT={{.Env.ENV_MySQL_ROOT}} -DMySQL_LIBRARY_DIR={{.Env.ENV_MySQL_LIBRARY_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'VCPKG_HOST_TRIPLET=x64-windows-qt',
|
||||
'VCPKG_TARGET_TRIPLET=x64-windows-qt',
|
||||
'gRPC_ROOT={{.Env.gRPC_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_24H2-msvc2026-arm64ec'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-72'
|
||||
Compiler: 'MSVC2026'
|
||||
Target arch: 'arm64'
|
||||
Features: ['Sccache', 'ARM64EC', 'TargetBuildOnly', 'DoNotRunTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Platform dependency: 'windows-11_24H2-msvc2026'
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -force-debug-info -platform win32-arm64ec-msvc -qt-zlib -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-psql -no-sql-mimer',
|
||||
'TARGET_CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\..',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_FEATURE_qdoc=OFF -DFEATURE_qtwebengine_build=OFF -DFEATURE_qtpdf_build=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_24H2-msvc2026-arm64ec-tests'
|
||||
Template: 'qtci-windows-11_23H2-aarch64-54'
|
||||
Compiler: 'MSVC2026'
|
||||
Features: ['TestOnly', 'InsignificantTests']
|
||||
Configure arguments: '-cross-compiled'
|
||||
Platform dependency: 'windows-11_24H2-msvc2026-arm64ec'
|
||||
-
|
||||
Id: 'windows-11_23h2-arm64-msvc2022'
|
||||
Template: 'qtci-windows-11_23H2-aarch64-53'
|
||||
@@ -277,27 +213,13 @@ Configurations:
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'WEBVIEW2_SDK_ROOT={{.Env.WEBVIEW2_SDK_ROOT_PATH}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_23h2-arm64-msvc2026'
|
||||
Template: 'qtci-windows-11_23H2-aarch64-54'
|
||||
Compiler: 'MSVC2026'
|
||||
Features: ['Sccache', 'DebugAndRelease', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-debug-and-release -force-debug-info -headersclean -nomake examples -qt-zlib -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-psql -no-sql-mimer'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_arm64}}\..',
|
||||
'NON_QTBASE_CMAKE_ARGS= -DFEATURE_clangcpp=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'VCPKG_HOST_TRIPLET=arm64-windows-qt',
|
||||
'VCPKG_TARGET_TRIPLET=arm64-windows-qt',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'WEBVIEW2_SDK_ROOT={{.Env.WEBVIEW2_SDK_ROOT_PATH}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_24H2-msvc2022-arm64'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Target arch: 'arm64'
|
||||
Features: ['Sccache', 'Packaging', 'DoNotRunTests', 'TargetBuildOnly', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Platform dependency: 'windows-11_24h2-mingw15'
|
||||
Platform dependency: 'windows-11_24h2-mingw13'
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -force-debug-info -platform win32-arm64-msvc -qt-zlib -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-psql -no-sql-mimer',
|
||||
@@ -313,49 +235,12 @@ Configurations:
|
||||
'WEBVIEW2_SDK_ROOT={{.Env.WEBVIEW2_SDK_ROOT_PATH}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_24H2-msvc2026-arm64'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-72'
|
||||
Compiler: 'MSVC2026'
|
||||
Target arch: 'arm64'
|
||||
Features: ['Sccache', 'DoNotRunTests', 'TargetBuildOnly', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Platform dependency: 'windows-11_24h2-mingw15'
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -force-debug-info -platform win32-arm64-msvc -qt-zlib -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-psql -no-sql-mimer',
|
||||
'TARGET_CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ROOT_DIR_x64_arm64}} -DQT_FORCE_BUILD_TOOLS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'OPENSSL_INCLUDE={{.Env.OPENSSL_INCLUDE_x64_arm64}}',
|
||||
'OPENSSL_LIB={{.Env.OPENSSL_LIB_x64_arm64}}',
|
||||
'OPENSSL_ROOT_DIR={{.Env.OPENSSL_ROOT_DIR_x64_arm64}}',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc_arm64}}',
|
||||
'VCPKG_HOST_TRIPLET=x64-windows-qt',
|
||||
'VCPKG_TARGET_TRIPLET=arm64-windows-qt',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
'WEBVIEW2_SDK_ROOT={{.Env.WEBVIEW2_SDK_ROOT_PATH}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11-x86_64-arm64-native-tests'
|
||||
Id: 'windows-11-x86_64-arm64-tests'
|
||||
Template: 'qtci-windows-11_23H2-aarch64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['TestOnly', 'BuildTestsInTest', 'UseToolchainFromTargetDir']
|
||||
Configure arguments: '-cross-compiled'
|
||||
Platform dependency: 'windows-11_24H2-msvc2022-arm64'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ROOT_DIR_x64_arm64}}',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'OPENSSL_CONF_x64={{.Env.OPENSSL_CONF_x64_arm64}}',
|
||||
'OPENSSL_INCLUDE_x64={{.Env.OPENSSL_INCLUDE_x64_arm64}}',
|
||||
'OPENSSL_LIB_x64={{.Env.OPENSSL_LIB_x64_arm64}}',
|
||||
'VCPKG_HOST_TRIPLET=arm64-windows-qt',
|
||||
'VCPKG_TARGET_TRIPLET=arm64-windows-qt',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11-x86_64-arm64-tests-msvc2026'
|
||||
Template: 'qtci-windows-11_23H2-aarch64-54'
|
||||
Compiler: 'MSVC2026'
|
||||
Features: ['TestOnly']
|
||||
Configure arguments: '-cross-compiled'
|
||||
Platform dependency: 'windows-11_24H2-msvc2026-arm64'
|
||||
Platform dependency: 'windows-11_24H2-msvc2022-arm64'
|
||||
-
|
||||
Id: 'windows-11_24H2-msvc2022-developer-build'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
@@ -375,7 +260,7 @@ Configurations:
|
||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'GenerateSBOM', 'VerifySBOM']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -no-feature-liburing -bundled-xcb-xinput'
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON -DINPUT_tiff=qt -DINPUT_webp=qt',
|
||||
@@ -395,8 +280,8 @@ Configurations:
|
||||
'VCPKG_TARGET_TRIPLET=x64-linux-qt',
|
||||
]
|
||||
-
|
||||
Id: 'ios-device'
|
||||
Template: 'qtci-macos-26-arm-105'
|
||||
Id: 'ios-universal'
|
||||
Template: 'qtci-macos-14-arm-106'
|
||||
Target os: 'IOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
@@ -404,40 +289,12 @@ Configurations:
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests', 'UseConfigure', 'WarningsAreErrors', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -nomake examples -platform macx-ios-clang -sdk iphoneos',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS= -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include -DFFMPEG_DIR={{.Env.FFMPEG_DIR_IOS}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
]
|
||||
-
|
||||
Id: 'ios-arm64-simulator'
|
||||
Template: 'qtci-macos-26-arm-105'
|
||||
Target os: 'IOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests', 'UseConfigure', 'WarningsAreErrors', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -nomake examples -platform macx-ios-clang -sdk iphonesimulator',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="arm64"',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS= -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include -DFFMPEG_DIR={{.Env.FFMPEG_DIR_IOS}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
]
|
||||
-
|
||||
Id: 'ios-x86_64-simulator'
|
||||
Template: 'qtci-macos-26-arm-105'
|
||||
Target os: 'IOS_ANY'
|
||||
Target arch: 'x86_64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
Features: ['Packaging', 'Sccache', 'DebugAndRelease', 'DisableTests', 'UseConfigure', 'WarningsAreErrors', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -nomake examples -platform macx-ios-clang -sdk iphonesimulator',
|
||||
'TARGET_CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64"',
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -nomake examples -platform macx-ios-clang',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS= -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include -DFFMPEG_DIR={{.Env.FFMPEG_DIR_IOS}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
]
|
||||
-
|
||||
Id: 'visionos-developer-build'
|
||||
Template: 'qtci-macos-26-arm-105'
|
||||
Template: 'qtci-macos-15-arm-105'
|
||||
Target os: 'IOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
@@ -448,7 +305,7 @@ Configurations:
|
||||
'TARGET_CONFIGURE_ARGS=-developer-build -no-warnings-are-errors -nomake examples -nomake tests -platform macx-visionos-clang',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_24h2-mingw15'
|
||||
Id: 'windows-11_24h2-mingw13'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'Mingw'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
@@ -474,7 +331,7 @@ Configurations:
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_llvm_mingw}}',
|
||||
]
|
||||
-
|
||||
Id: 'windows-11_24H2-mingw15-developer-build'
|
||||
Id: 'windows-11_24H2-mingw13-developer-build'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'Mingw'
|
||||
Features: ['Sccache', 'WarningsAreErrors', 'UseConfigure', 'StandaloneExamples']
|
||||
@@ -492,7 +349,7 @@ Configurations:
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging','DebianPackaging','DisableTests', 'Insignificant']
|
||||
Environment variables: [
|
||||
'DEBIAN_RULES_REF=6.12_dev',
|
||||
'DEBIAN_RULES_REF=6.11_dev',
|
||||
'COIN_TARGET_DIST=tqtc-jammy',
|
||||
'COIN_EXTRA_DEBIAN_PACKAGES={{.Env.HOME}}/debian_packages/',
|
||||
'COIN_SBUILD_CHROOT=jammy-arm64-sbuild',
|
||||
@@ -505,7 +362,7 @@ Configurations:
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging','DebianPackaging','DisableTests', 'Insignificant']
|
||||
Environment variables: [
|
||||
'DEBIAN_RULES_REF=6.12_dev',
|
||||
'DEBIAN_RULES_REF=6.11_dev',
|
||||
'COIN_TARGET_DIST=tqtc-jammy',
|
||||
'COIN_EXTRA_DEBIAN_PACKAGES={{.Env.HOME}}/debian_packages/',
|
||||
'COIN_SBUILD_CHROOT=jammy-amd64-sbuild',
|
||||
@@ -518,7 +375,7 @@ Configurations:
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging','DebianPackaging','DisableTests', 'Insignificant']
|
||||
Environment variables: [
|
||||
'DEBIAN_RULES_REF=6.12_gles',
|
||||
'DEBIAN_RULES_REF=6.11_gles',
|
||||
'COIN_TARGET_DIST=tqtc-bookworm',
|
||||
'COIN_EXTRA_DEBIAN_PACKAGES={{.Env.HOME}}/debian_packages/',
|
||||
'COIN_SBUILD_CHROOT=bookworm-arm64-sbuild',
|
||||
|
||||
@@ -2,11 +2,11 @@ Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'qemu-armv7-developer-build'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'ubuntu-24.04-x64'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Sccache', 'UseConfigure', 'InsignificantTests', 'StandaloneExamples']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-asserts -force-debug-info -developer-build -no-warnings-are-errors -make examples -qt-harfbuzz -device linux-imx7-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARMV7_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=hard-float boot2qt" -no-feature-forkfd_pidfd',
|
||||
@@ -21,11 +21,11 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'qemu-arm64-developer-build'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'ubuntu-24.04-x64'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Sccache', 'UseConfigure', 'InsignificantTests']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-asserts -force-debug-info -developer-build -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUARM64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd',
|
||||
@@ -40,11 +40,11 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'qemu-mips64-developer-build'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Target os: 'QEMU'
|
||||
Target arch: 'mips64'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'ubuntu-24.04-x64'
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['Sccache', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-asserts -force-debug-info -developer-build -no-warnings-are-errors -nomake examples -qt-harfbuzz -device linux-generic-g++ -device-option "CROSS_COMPILE={{.Env.QEMUMIPS64_TOOLCHAIN_CROSS_COMPILE}}" -device-option "DISTRO_OPTS=boot2qt" -no-feature-forkfd_pidfd',
|
||||
|
||||
@@ -10,7 +10,7 @@ Configurations:
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['VMSize8', 'UseConfigure', 'DoNotRunTests', 'DoNotUploadTests']
|
||||
Environment variables: [
|
||||
'WIND_CC_SYSROOT=/opt/fsl_imx6_2_0_6_3_VSB',
|
||||
'WIND_CC_SYSROOT=/opt/fsl_imx6_2_0_6_2_VSB',
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -qpa offscreen -nomake examples',
|
||||
'TARGET_CMAKE_ARGS=-DBUILD_SHARED_LIBS=OFF -DWARNINGS_ARE_ERRORS=OFF -DCMAKE_TOOLCHAIN_FILE="{{.Env.WIND_CC_SYSROOT}}/mk/rtp.toolchain.cmake" -DFEATURE_vulkan=OFF -DQT_QMAKE_TARGET_MKSPEC=vxworks-clang -DQT_HOST_PATH=/home/qt/work/install -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_STAGING_PREFIX:PATH=/home/qt/work/install/target',
|
||||
'VCPKG_HOST_TRIPLET=x64-linux-qt',
|
||||
@@ -26,8 +26,8 @@ Configurations:
|
||||
Platform dependency: 'ubuntu-22.04'
|
||||
Features: ['VMSize8', 'UseConfigure', 'DoNotRunTests', 'DoNotUploadTests']
|
||||
Environment variables: [
|
||||
'WIND_CC_SYSROOT=/opt/nxp_imx8_1_0_7_1_VSB',
|
||||
'TARGET_CONFIGURE_ARGS=-release -qpa offscreen -nomake examples',
|
||||
'WIND_CC_SYSROOT=/opt/nxp_imx8_1_0_7_0_VSB',
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -qpa offscreen -nomake examples',
|
||||
'TARGET_CMAKE_ARGS=-DBUILD_SHARED_LIBS=OFF -DWARNINGS_ARE_ERRORS=OFF -DCMAKE_TOOLCHAIN_FILE="{{.Env.WIND_CC_SYSROOT}}/mk/rtp.toolchain.cmake" -DFEATURE_vulkan=OFF -DQT_QMAKE_TARGET_MKSPEC=vxworks-clang -DQT_HOST_PATH=/home/qt/work/install -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_STAGING_PREFIX:PATH=/home/qt/work/install/target'
|
||||
]
|
||||
-
|
||||
|
||||
@@ -8,10 +8,10 @@ Configurations:
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'vxworks-imx6-buildtest'
|
||||
Features: ['VMSize8', 'UseConfigure', 'BuildTestsInTest', 'TestOnly', 'InsignificantTests']
|
||||
Features: ['VMSize8', 'UseConfigure', 'BuildTestsInTest', 'TestOnly']
|
||||
Environment variables: [
|
||||
'WIND_CC_SYSROOT=/opt/fsl_imx6_2_0_6_3_VSB',
|
||||
'VXWORKS_TEST_LIBS_PATH=/opt/fsl_imx6_2_0_6_3_VSB/usr/lib/common;/opt/fsl_imx6_2_0_6_3_VSB/usr/root/llvm/bin;/opt/fsl_imx6_2_0_6_3_VSB/usr/3pp/develop/usr/lib;/home/qt/work/install/target/lib',
|
||||
'WIND_CC_SYSROOT=/opt/fsl_imx6_2_0_6_2_VSB',
|
||||
'VXWORKS_TEST_LIBS_PATH=/opt/fsl_imx6_2_0_6_2_VSB/usr/lib/common;/opt/fsl_imx6_2_0_6_2_VSB/usr/root/llvm/bin;/opt/fsl_imx6_2_0_6_2_VSB/usr/3pp/develop/usr/lib;/home/qt/work/install/target/lib',
|
||||
'TARGET_CONFIGURE_ARGS=-release -force-debug-info -qpa offscreen -nomake examples',
|
||||
'TARGET_CMAKE_ARGS=-DBUILD_SHARED_LIBS=OFF -DWARNINGS_ARE_ERRORS=OFF -DCMAKE_TOOLCHAIN_FILE="{{.Env.WIND_CC_SYSROOT}}/mk/rtp.toolchain.cmake" -DFEATURE_vulkan=OFF -DQT_QMAKE_TARGET_MKSPEC=vxworks-clang -DQT_HOST_PATH=/home/qt/work/install -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_STAGING_PREFIX:PATH=/home/qt/work/install/target',
|
||||
'VCPKG_HOST_TRIPLET=x64-linux-qt',
|
||||
@@ -25,7 +25,7 @@ Configurations:
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'vxworks-x86_64-buildtest'
|
||||
Features: ['VMSize16', 'UseConfigure', 'BuildTestsInTest', 'TestOnly', 'InsignificantTests']
|
||||
Features: ['VMSize8', 'UseConfigure', 'BuildTestsInTest', 'TestOnly']
|
||||
Environment variables: [
|
||||
'WIND_CC_SYSROOT=/opt/itl_generic_skylake_VSB',
|
||||
'VXWORKS_TEST_LIBS_PATH=/opt/itl_generic_skylake_VSB/usr/lib/common;/opt/itl_generic_skylake_VSB/usr/root/llvm/bin;/opt/itl_generic_skylake_VSB/usr/3pp/develop/usr/lib;/home/qt/work/install/target/lib',
|
||||
|
||||
@@ -55,7 +55,7 @@ Configurations:
|
||||
|
||||
-
|
||||
Id: 'macos-universal-on-x86_64-minimal-static-test'
|
||||
Template: 'qtci-macos-15-x86_64-104'
|
||||
Template: 'qtci-macos-14-x86_64-105'
|
||||
Compiler: 'Clang'
|
||||
Target arch: 'x86_64-arm64'
|
||||
Features: ['Packaging', 'Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'MinimalStaticTests']
|
||||
|
||||
@@ -27,20 +27,7 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'macos-minimal-static'
|
||||
Template: 'qtci-macos-26-arm-105'
|
||||
Template: 'qtci-macos-14-arm-106'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'MinimalStaticTests', 'UseConfigure']
|
||||
Configure arguments: '-nomake examples -release -force-debug-info -static -no-framework'
|
||||
|
||||
-
|
||||
Id: "ios-minimal-static"
|
||||
Template: 'qtci-macos-26-arm-105'
|
||||
Target os: 'IOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
Features: ['Sccache', 'DebugAndRelease', 'MinimalStaticTests', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -nomake examples -platform macx-ios-clang'
|
||||
]
|
||||
|
||||
@@ -2,7 +2,7 @@ Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'android-arm64-on-macos'
|
||||
Template: 'qtci-macos-15-arm-105'
|
||||
Template: 'qtci-macos-14-arm-106'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
@@ -22,7 +22,7 @@ Configurations:
|
||||
Target arch: 'armv7'
|
||||
Compiler: 'Mingw'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'windows-11_24h2-mingw15'
|
||||
Platform dependency: 'windows-11_24h2-mingw13'
|
||||
Features: ['Packaging', 'Sccache', 'WarningsAreErrors', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
||||
@@ -63,9 +63,9 @@ Configurations:
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -qpa android;offscreen -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -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_LATEST}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86_64_NDK_LATEST}} -DQT_DEPLOY_FFMPEG=TRUE -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
# We check QT_USE_TARGET_ANDROID_BUILD_DIR and QT_ANDROID_GRADLE_MULTI_MODULE only in one
|
||||
# We check QT_USE_TARGET_ANDROID_BUILD_DIR and QT_USE_ANDROID_MODERN_BUNDLE only in one
|
||||
# configuration, to ensure builds without this option work too.
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_USE_TARGET_ANDROID_BUILD_DIR=ON -DQT_ANDROID_GRADLE_MULTI_MODULE=ON',
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_USE_TARGET_ANDROID_BUILD_DIR=ON -DQT_USE_ANDROID_MODERN_BUNDLE=ON',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_LATEST}}',
|
||||
'ANDROID_EMULATOR=emulator_x86_64_api_36'
|
||||
]
|
||||
@@ -82,9 +82,9 @@ Configurations:
|
||||
'TARGET_CONFIGURE_ARGS=-nomake examples -release -force-debug-info -qpa android;offscreen -android-ndk {{.Env.ANDROID_NDK_ROOT_LATEST}} -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_LATEST}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_ANDROID_X86_64_NDK_LATEST}} -DQT_DEPLOY_FFMPEG=TRUE -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
# We check QT_USE_TARGET_ANDROID_BUILD_DIR and QT_ANDROID_GRADLE_MULTI_MODULE only in one
|
||||
# We check QT_USE_TARGET_ANDROID_BUILD_DIR and QT_USE_ANDROID_MODERN_BUNDLE only in one
|
||||
# configuration, to ensure builds without this option work too.
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_USE_TARGET_ANDROID_BUILD_DIR=ON -DQT_ANDROID_GRADLE_MULTI_MODULE=ON',
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DQT_USE_TARGET_ANDROID_BUILD_DIR=ON -DQT_USE_ANDROID_MODERN_BUNDLE=ON',
|
||||
'ANDROID_NDK_ROOT={{.Env.ANDROID_NDK_ROOT_LATEST}}',
|
||||
'ANDROID_EMULATOR=emulator_x86_64_api_37'
|
||||
]
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'harmonyos-23-arm64-on-linux'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
||||
Target os: 'HarmonyOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'ubuntu-24.04-x64'
|
||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'Packaging', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -nomake examples -no-dbus -no-use-gold-linker -no-pch -openssl-runtime',
|
||||
'TARGET_CMAKE_ARGS=-DOHOS_SDK_ROOT={{.Env.HARMONYOS_SDK_ROOT_CURRENT}}/sdk/default/openharmony -DOHOS_ARCH=arm64-v8a -DWARNINGS_ARE_ERRORS=OFF -DQT_QMAKE_TARGET_MKSPEC=ohos-clang -DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'QT_HARMONYOS_HVIGOR={{.Env.HARMONYOS_SDK_ROOT_CURRENT}}/bin/hvigorw'
|
||||
]
|
||||
-
|
||||
Id: 'harmonyos-23-arm64-on-linux-developer-build'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
||||
Target os: 'HarmonyOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'ubuntu-24.04-x64-developer-build'
|
||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'StandaloneExamples']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-developer-build -debug -make examples -no-dbus -no-use-gold-linker -no-pch -openssl-runtime',
|
||||
'TARGET_CMAKE_ARGS=-DOHOS_SDK_ROOT={{.Env.HARMONYOS_SDK_ROOT_CURRENT}}/sdk/default/openharmony -DOHOS_ARCH=arm64-v8a -DWARNINGS_ARE_ERRORS=OFF -DQT_QMAKE_TARGET_MKSPEC=ohos-clang -DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'QT_HARMONYOS_HVIGOR={{.Env.HARMONYOS_SDK_ROOT_CURRENT}}/bin/hvigorw'
|
||||
]
|
||||
-
|
||||
Id: 'harmonyos-26-arm64-on-linux'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
||||
Target os: 'HarmonyOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'ubuntu-24.04-x64'
|
||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'Packaging', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-release -nomake examples -no-dbus -no-use-gold-linker -no-pch -openssl-runtime',
|
||||
'TARGET_CMAKE_ARGS=-DOHOS_SDK_ROOT={{.Env.HARMONYOS_SDK_ROOT_NEXT}}/sdk/default/openharmony -DOHOS_ARCH=arm64-v8a -DWARNINGS_ARE_ERRORS=OFF -DQT_QMAKE_TARGET_MKSPEC=ohos-clang -DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}} -DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'QT_HARMONYOS_HVIGOR={{.Env.HARMONYOS_SDK_ROOT_NEXT}}/bin/hvigorw'
|
||||
]
|
||||
-
|
||||
Id: 'harmonyos-26-arm64-on-linux-developer-build'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
||||
Target os: 'HarmonyOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'ubuntu-24.04-x64-developer-build'
|
||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'StandaloneExamples']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-developer-build -debug -make examples -no-dbus -no-use-gold-linker -no-pch -openssl-runtime',
|
||||
'TARGET_CMAKE_ARGS=-DOHOS_SDK_ROOT={{.Env.HARMONYOS_SDK_ROOT_NEXT}}/sdk/default/openharmony -DOHOS_ARCH=arm64-v8a -DWARNINGS_ARE_ERRORS=OFF -DQT_QMAKE_TARGET_MKSPEC=ohos-clang -DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'QT_HARMONYOS_HVIGOR={{.Env.HARMONYOS_SDK_ROOT_NEXT}}/bin/hvigorw'
|
||||
]
|
||||
-
|
||||
Id: 'harmonyos-23-arm64-on-macos'
|
||||
Template: 'qtci-macos-26-arm-105'
|
||||
Target os: 'HarmonyOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests', 'StandaloneExamples']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-developer-build -debug -make examples -no-dbus -no-use-gold-linker -no-pch -openssl-runtime',
|
||||
'TARGET_CMAKE_ARGS=-DOHOS_SDK_ROOT={{.Env.HARMONYOS_SDK_ROOT_CURRENT}}/sdk/default/openharmony -DOHOS_ARCH=arm64-v8a -DWARNINGS_ARE_ERRORS=OFF -DQT_QMAKE_TARGET_MKSPEC=ohos-clang -DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'COMMON_TARGET_TEST_CMAKE_ARGS=-DCMAKE_FIND_ROOT_PATH={{.Env.VCPKG_OHOS_INSTALLED}}',
|
||||
'QT_HARMONYOS_HVIGOR={{.Env.HARMONYOS_SDK_ROOT_CURRENT}}/bin/hvigorw'
|
||||
]
|
||||
@@ -2,6 +2,19 @@ Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'webassembly-linux-thread-asyncify'
|
||||
Template: 'qtci-linux-openSUSE-15.6-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'opensuse-15.6-developer-build'
|
||||
Features: ['DoNotRunTests', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
||||
"TARGET_CONFIGURE_ARGS=-release -platform wasm-emscripten -nomake examples -feature-thread \
|
||||
-feature-exceptions -DQT_QMAKE_DEVICE_OPTIONS=\"QT_EMSCRIPTEN_ASYNCIFY=1\"",
|
||||
'HEADLESS_CHROME_FOR_TESTING=true'
|
||||
]
|
||||
-
|
||||
Id: 'webassembly-linux-thread-asyncify-new'
|
||||
Template: 'qtci-linux-openSUSE-16.0-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
@@ -19,7 +32,7 @@ Configurations:
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'Mingw'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'windows-11_24h2-mingw15'
|
||||
Platform dependency: 'windows-11_24h2-mingw13'
|
||||
Features: ['Packaging','DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'Path={{.Env.EMSDK_PATH}};{{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
||||
@@ -30,10 +43,10 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'webassembly-linux-thread'
|
||||
Template: 'qtci-linux-openSUSE-16.0-x86_64-51'
|
||||
Template: 'qtci-linux-openSUSE-15.6-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'opensuse-16.0-developer-build'
|
||||
Platform dependency: 'opensuse-15.6-developer-build'
|
||||
Features: ['Packaging', 'DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
||||
@@ -41,8 +54,34 @@ Configurations:
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'TARGET_CMAKE_ARGS=-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON'
|
||||
]
|
||||
-
|
||||
Id: 'webassembly-linux-thread-new'
|
||||
Template: 'qtci-linux-openSUSE-16.0-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'opensuse-16.0-developer-build'
|
||||
Features: ['DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
||||
'TARGET_CONFIGURE_ARGS=-release -platform wasm-emscripten -nomake examples -feature-thread',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'TARGET_CMAKE_ARGS=-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON'
|
||||
]
|
||||
-
|
||||
Id: 'webassembly-linux-shared'
|
||||
Template: 'qtci-linux-openSUSE-15.6-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'opensuse-15.6-developer-build'
|
||||
Features: ['DisableTests', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
Environment variables: [
|
||||
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
||||
'TARGET_CONFIGURE_ARGS=-release -platform wasm-emscripten -no-feature-thread -nomake tests -nomake examples -shared',
|
||||
'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local -DQT_PROTOBUF_WELL_KNOWN_TYPES_PROTO_DIR=/usr/local/include',
|
||||
'TARGET_CMAKE_ARGS=-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON'
|
||||
]
|
||||
-
|
||||
Id: 'webassembly-linux-shared-new'
|
||||
Template: 'qtci-linux-openSUSE-16.0-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: "ios-tests-on-macos"
|
||||
Template: 'qtci-macos-14-arm-106'
|
||||
Target os: 'IOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
Target compiler: 'Clang'
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
Features: ['Sccache', 'DebugAndRelease', 'MinimalStaticTests', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'TARGET_CONFIGURE_ARGS=-debug-and-release -nomake examples -platform macx-ios-clang'
|
||||
]
|
||||
@@ -9,7 +9,7 @@ Configurations:
|
||||
|
||||
-
|
||||
Id: 'macos-universal-on-arm64'
|
||||
Template: 'qtci-macos-26-arm-105'
|
||||
Template: 'qtci-macos-15-arm-105'
|
||||
Compiler: 'Clang'
|
||||
Target arch: 'x86_64-arm64'
|
||||
Features: ['Sccache', 'Packaging', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'GenerateSBOM', 'VerifySBOM']
|
||||
@@ -17,14 +17,18 @@ Configurations:
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFEATURE_gds=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON -DQT_FEATURE_open62541_security=OFF',
|
||||
'VCPKG_HOST_TRIPLET=universal-osx-qt',
|
||||
'VCPKG_TARGET_TRIPLET=universal-osx-qt',
|
||||
]
|
||||
|
||||
# Test on all supported macOS versions (deployment targets)
|
||||
|
||||
# On x86_64
|
||||
|
||||
-
|
||||
Id: 'macos-13-x86_64-tests'
|
||||
Template: 'qtci-macos-13-x86_64-103'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
-
|
||||
Id: 'macos-14-x86_64-tests'
|
||||
Template: 'qtci-macos-14-x86_64-106'
|
||||
@@ -33,19 +37,19 @@ Configurations:
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
-
|
||||
Id: 'macos-15-x86_64-tests'
|
||||
Template: 'qtci-macos-15-x86_64-104'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
-
|
||||
Id: 'macos-26-x86_64-tests'
|
||||
Template: 'qtci-macos-26-x86_64-103'
|
||||
Template: 'qtci-macos-15-x86_64-103'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
|
||||
# And arm64
|
||||
|
||||
-
|
||||
Id: 'macos-13-arm64-tests'
|
||||
Template: 'qtci-macos-13-arm-108'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'TestOnly', 'Packaging']
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
-
|
||||
Id: 'macos-14-arm64-tests'
|
||||
Template: 'qtci-macos-14-arm-108'
|
||||
@@ -73,14 +77,13 @@ Configurations:
|
||||
|
||||
-
|
||||
Id: 'macos-x86_64-developer-build'
|
||||
Template: 'qtci-macos-26-x86_64-103'
|
||||
Template: 'qtci-macos-15-x86_64-103'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'StandaloneExamples']
|
||||
Configure arguments: '-developer-build -release -force-asserts -force-debug-info -no-pch -no-framework -qtnamespace TestNamespace -make examples'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'QTBASE_EXAMPLES_CMAKE_ARGS=-DQT_BUILD_EXAMPLES_AS_EXTERNAL=ON',
|
||||
]
|
||||
-
|
||||
Id: 'macos-arm64-developer-build'
|
||||
@@ -91,23 +94,25 @@ Configurations:
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'VCPKG_HOST_TRIPLET=universal-osx-qt',
|
||||
'VCPKG_TARGET_TRIPLET=universal-osx-qt',
|
||||
]
|
||||
-
|
||||
Id: 'macos-26-arm64-developer-build'
|
||||
Template: 'qtci-macos-26-arm-105'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
|
||||
Features: ['Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure', 'Insignificant']
|
||||
Configure arguments: '-developer-build -nomake examples -debug -framework'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOPENSSL_ROOT_DIR={{.Env.OPENSSL_DIR}}',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE',
|
||||
'VCPKG_HOST_TRIPLET=arm64-osx-qt',
|
||||
'VCPKG_TARGET_TRIPLET=arm64-osx-qt',
|
||||
]
|
||||
|
||||
# Test on all supported macOS versions (deployment targets)
|
||||
-
|
||||
Id: 'macos-13-arm64-developer-build-tests'
|
||||
Template: 'qtci-macos-13-arm-108'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Platform dependency: 'macos-arm64-developer-build'
|
||||
-
|
||||
Id: 'macos-14-arm64-developer-build-tests'
|
||||
Template: 'qtci-macos-14-arm-108'
|
||||
@@ -124,5 +129,6 @@ Configurations:
|
||||
Id: 'macos-26-arm64-developer-build-tests'
|
||||
Template: 'qtci-macos-26-arm-105'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Features: ['TestOnly', 'InsignificantTests', 'DoNotAbortTestingOnFirstFailure']
|
||||
Platform dependency: 'macos-26-arm64-developer-build'
|
||||
Environment variables: [ 'COIN_CTEST_IGNORE_EXIT_CODE=1' ]
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
Version: 2
|
||||
Module only: true
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
"ubuntu-22.04"
|
||||
]
|
||||
]
|
||||
Configurations: []
|
||||
@@ -1,4 +0,0 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [yocto.yaml]
|
||||
Configurations: []
|
||||
@@ -2,7 +2,7 @@ Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
'rhel-9.6',
|
||||
'windows-11_24h2-mingw15'
|
||||
'windows-11_24h2-mingw13'
|
||||
],
|
||||
cmake_platforms_target_android.yaml: [
|
||||
'android-15-x86_64-on-linux',
|
||||
|
||||
@@ -2,7 +2,7 @@ Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
'rhel-9.6',
|
||||
'windows-11_24h2-mingw15'
|
||||
'windows-11_24h2-mingw13'
|
||||
],
|
||||
cmake_platforms_target_android.yaml: [
|
||||
'android-15-x86_64-on-linux',
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
address_sanitizer_platforms.yaml,
|
||||
offline_documentation.yaml
|
||||
]
|
||||
Configurations: []
|
||||
Overrides:
|
||||
-
|
||||
Id: '.*'
|
||||
+Features: ['BuildCMakeFromSources']
|
||||
@@ -1,15 +0,0 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
"ubuntu-24.04-x64-developer-build"
|
||||
],
|
||||
cmake_platforms_target_harmonyos.yaml: [
|
||||
"harmonyos-23-arm64-on-linux-developer-build"
|
||||
]
|
||||
]
|
||||
Configurations: []
|
||||
Overrides:
|
||||
-
|
||||
Id: 'harmonyos-23-arm64-on-linux-developer-build'
|
||||
-Features: ['DoNotRunTests']
|
||||
@@ -1,15 +0,0 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
"ubuntu-24.04-x64"
|
||||
],
|
||||
cmake_platforms_target_harmonyos.yaml: [
|
||||
"harmonyos-23-arm64-on-linux"
|
||||
]
|
||||
]
|
||||
Configurations: []
|
||||
Overrides:
|
||||
-
|
||||
Id: 'harmonyos-23-arm64-on-linux'
|
||||
-Features: ['DoNotRunTests']
|
||||
@@ -1,7 +1,7 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
'windows-11_24h2-mingw15'
|
||||
'windows-11_24h2-mingw13'
|
||||
]
|
||||
]
|
||||
Configurations:
|
||||
@@ -12,7 +12,7 @@ Configurations:
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Mingw'
|
||||
Target compiler: 'QCC'
|
||||
Platform dependency: 'windows-11_24h2-mingw15'
|
||||
Platform dependency: 'windows-11_24h2-mingw13'
|
||||
Features: ['DisableTests', 'UseConfigure']
|
||||
Environment variables: [
|
||||
'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}',
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
Version: 2
|
||||
Module only: True
|
||||
Configurations:
|
||||
-
|
||||
Id: 'ubuntu-22.04-baseline-tests'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure']
|
||||
Configure arguments: '-developer-build -nomake examples'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_test_auto=OFF -DFEATURE_test_baseline=ON -DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
'CTEST_DIR=tests/baseline',
|
||||
'TESTARGS=-auto',
|
||||
'QT_LANCELOT_SERVER=10.150.153.60'
|
||||
]
|
||||
|
||||
@@ -4,11 +4,11 @@ Configurations:
|
||||
Id: 'windows-11_24H2-msvc2022-unity-build'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests'] # note: we cannot build debug builds due to our llvm binaries
|
||||
Configure arguments: '-force-debug-info -nomake examples -qt-zlib' # disabled example builds: qmake builds fail with C1041
|
||||
Features: ['Sccache', 'Debug', 'UseConfigure', 'DoNotRunTests']
|
||||
Configure arguments: '-debug -force-debug-info -headersclean -make examples -qt-zlib'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_INCLUDE_x64}}\.. -DPostgreSQL_ROOT={{.Env.POSTGRESQL_LIB_x64}}\.. -DQT_UNITY_BUILD=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_clangcpp=OFF',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC}} -DQT_DEPLOY_FFMPEG=TRUE -DFEATURE_clangcpp=OFF -DINPUT_headersclean=ON',
|
||||
'LLVM_INSTALL_DIR={{.Env.LLVM_INSTALL_DIR_msvc}}',
|
||||
'Protobuf_ROOT={{.Env.Protobuf_ROOT_msvc}}',
|
||||
]
|
||||
@@ -17,41 +17,41 @@ Configurations:
|
||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure', 'InstallQt5Dependencies', 'DoNotRunTests']
|
||||
Configure arguments: '-make examples -debug -force-debug-info -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Configure arguments: '-make examples -debug -force-debug-info -headersclean -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_HOME}} -DQT_UNITY_BUILD=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE'
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON'
|
||||
]
|
||||
-
|
||||
Id: 'ubuntu-24.04-arm64-unity-build'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests']
|
||||
Configure arguments: '-make examples -debug -force-debug-info -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput -qpa offscreen\;xcb'
|
||||
Configure arguments: '-make examples -debug -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput -qpa offscreen\;xcb'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY -DQT_UNITY_BUILD=ON',
|
||||
'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE'
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON'
|
||||
]
|
||||
-
|
||||
Id: 'ubuntu-24.04-x64-unity-build'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-50'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'UseConfigure', 'DoNotRunTests']
|
||||
Configure arguments: '-make examples -debug -force-debug-info -separate-debug-info -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Configure arguments: '-make examples -debug -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY -DQT_UNITY_BUILD=ON',
|
||||
'COMMON_TEST_CMAKE_ARGS=-DQT_SKIP_DOCKER_COMPOSE=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE'
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON'
|
||||
]
|
||||
-
|
||||
Id: 'macos-universal-on-arm64-unity-build'
|
||||
Template: 'qtci-macos-15-arm-105'
|
||||
Template: 'qtci-macos-14-arm-106'
|
||||
Compiler: 'Clang'
|
||||
Target arch: 'x86_64-arm64'
|
||||
Features: ['Sccache', 'DoNotRunTests', 'WarningsAreErrors', 'UseConfigure']
|
||||
Configure arguments: '-make examples -debug -force-debug-info -separate-debug-info -framework'
|
||||
Configure arguments: '-make examples -debug -force-debug-info -separate-debug-info -headersclean -framework'
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DQT_UNITY_BUILD=ON',
|
||||
'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON -DQT_UNITY_BUILD=ON',
|
||||
]
|
||||
|
||||
@@ -3,7 +3,7 @@ Configurations: []
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
'windows-11_24H2-msvc2022-developer-build',
|
||||
'windows-11_24H2-mingw15-developer-build',
|
||||
'windows-11_24H2-mingw13-developer-build',
|
||||
'windows-11_24H2-llvm'
|
||||
]
|
||||
]
|
||||
@@ -13,7 +13,7 @@ Overrides:
|
||||
Id: 'windows-11_24H2-msvc2022-developer-build'
|
||||
Configure arguments: '-qtnamespace TestNamespace -debug-and-release -force-asserts -make examples -developer-build -force-debug-info -qt-zlib -c++std c++20'
|
||||
-
|
||||
Id: 'windows-11_24H2-mingw15-developer-build'
|
||||
Id: 'windows-11_24H2-mingw13-developer-build'
|
||||
Configure arguments: '-qtnamespace TestNamespace -developer-build -release -force-asserts -force-debug-info -separate-debug-info -make examples'
|
||||
-
|
||||
Id: 'windows-11_24H2-llvm'
|
||||
|
||||
@@ -5,9 +5,8 @@ Include: [
|
||||
"ubuntu-22.04",
|
||||
"ubuntu-22.04-developer-build",
|
||||
"ubuntu-22.04-developer-build-x11-tests",
|
||||
"ubuntu-24.04-x64",
|
||||
"windows-11_24H2-msvc2022-developer-build",
|
||||
"ios-device",
|
||||
"ios-universal",
|
||||
"documentation-warnings",
|
||||
],
|
||||
macos.yaml: [
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
Version: 2
|
||||
Module only: true
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
'windows-11_24H2-msvc2022'
|
||||
],
|
||||
macos.yaml: [
|
||||
'macos-universal-on-arm64'
|
||||
]
|
||||
]
|
||||
Configurations: []
|
||||
@@ -3,6 +3,7 @@ Include: [
|
||||
cmake_platforms.yaml,
|
||||
cmake_platforms_static_tests.yaml,
|
||||
integrity.yaml,
|
||||
ios-tests.yaml,
|
||||
address_sanitizer_platforms.yaml,
|
||||
linux_android_tests_multi_abi.yaml,
|
||||
wasm_qtbase_tests.yaml,
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
quick-bridges.yaml: [
|
||||
"windows-quick-bridges"
|
||||
]
|
||||
]
|
||||
Configurations:
|
||||
-
|
||||
Id: 'windows-quick-bridges-csharp'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Platform dependency: 'windows-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', "DebugAndRelease", 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesCsharp']
|
||||
@@ -1,46 +0,0 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
quick-bridges.yaml: [
|
||||
"macos-quick-bridges",
|
||||
"linux-quick-bridges",
|
||||
"windows-quick-bridges"
|
||||
]
|
||||
]
|
||||
|
||||
Configurations:
|
||||
-
|
||||
Id: 'windows-quick-bridges-java'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Platform dependency: 'windows-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesJava']
|
||||
|
||||
-
|
||||
Id: 'windows-on-arm-quick-bridges-java'
|
||||
Template: 'qtci-windows-11_23H2-aarch64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'QtBridgesJava']
|
||||
|
||||
-
|
||||
Id: 'linux-quick-bridges-java'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'linux-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'RunAsPlatformDependency', 'QtBridgesJava']
|
||||
|
||||
-
|
||||
Id: 'linux-on-arm-quick-bridges-java'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-aarch64-52'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'QtBridgesJava']
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
]
|
||||
-
|
||||
Id: 'macos-quick-bridges-universal-java'
|
||||
Template: 'qtci-macos-15-arm-105'
|
||||
Compiler: 'Clang'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'QtBridgesJava']
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"',
|
||||
]
|
||||
@@ -1,37 +0,0 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
quick-bridges.yaml: [
|
||||
"macos-quick-bridges",
|
||||
"windows-quick-bridges"
|
||||
],
|
||||
cmake_platforms.yaml: [
|
||||
"rhel-9.6"
|
||||
]
|
||||
]
|
||||
Configurations:
|
||||
-
|
||||
Id: 'windows-quick-bridges-python'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Platform dependency: 'windows-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesPython']
|
||||
|
||||
-
|
||||
Id: 'linux-quick-bridges-python'
|
||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'rhel-9.6'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesPython']
|
||||
|
||||
-
|
||||
Id: 'macos-quick-bridges-python'
|
||||
Template: 'qtci-macos-15-arm-105'
|
||||
Compiler: 'Clang'
|
||||
Platform dependency: 'macos-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesPython']
|
||||
|
||||
-
|
||||
Id: 'windows-on-arm-quick-bridges-python'
|
||||
Template: 'qtci-windows-11_23H2-aarch64-53'
|
||||
Compiler: 'MSVC2022'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'QtBridgesPython']
|
||||
@@ -1,29 +0,0 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
quick-bridges.yaml: [
|
||||
"linux-quick-bridges",
|
||||
"macos-quick-bridges",
|
||||
"windows-quick-bridges"
|
||||
]
|
||||
]
|
||||
Configurations:
|
||||
-
|
||||
Id: 'windows-quick-bridges-rust'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Platform dependency: 'windows-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesRust']
|
||||
|
||||
-
|
||||
Id: 'linux-quick-bridges-rust'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'linux-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'RunAsPlatformDependency', 'QtBridgesRust']
|
||||
|
||||
-
|
||||
Id: 'macos-quick-bridges-rust'
|
||||
Template: 'qtci-macos-15-arm-105'
|
||||
Compiler: 'Clang'
|
||||
Platform dependency: 'macos-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesRust']
|
||||
@@ -1,28 +0,0 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
quick-bridges.yaml: [
|
||||
"macos-quick-bridges",
|
||||
"linux-quick-bridges",
|
||||
"windows-quick-bridges"
|
||||
]
|
||||
]
|
||||
Configurations:
|
||||
-
|
||||
Id: 'windows-quick-bridges-swift'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Platform dependency: 'windows-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesSwift']
|
||||
-
|
||||
Id: 'macos-quick-bridges-swift'
|
||||
Template: 'qtci-macos-15-arm-105'
|
||||
Compiler: 'Clang'
|
||||
Platform dependency: 'macos-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesSwift']
|
||||
|
||||
-
|
||||
Id: 'linux-quick-bridges-swift'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'linux-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesSwift']
|
||||
@@ -2,6 +2,7 @@ Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
integrity.yaml,
|
||||
ios-tests.yaml,
|
||||
address_sanitizer_platforms.yaml,
|
||||
wasm_qtdeclarative_tests.yaml,
|
||||
cmake_platforms_static_tests.yaml,
|
||||
|
||||
@@ -5,10 +5,10 @@ Configurations:
|
||||
Id: 'qtgp-on-linux-rhel_9_6'
|
||||
Template: 'qtci-linux-RHEL-9.6-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Packaging', 'UseConfigure']
|
||||
Features: ['TestOnly']
|
||||
-
|
||||
Id: 'qtgp-on-macos'
|
||||
Template: 'qtci-macos-15-arm-105'
|
||||
Template: 'qtci-macos-14-arm-106'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
-
|
||||
|
||||
@@ -1,18 +1,20 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
macos.yaml: [
|
||||
"macos-universal-on-arm64"
|
||||
"macos-universal-on-arm64",
|
||||
"macos-13-x86_64-tests"
|
||||
],
|
||||
cmake_platforms.yaml: [
|
||||
"ubuntu-22.04",
|
||||
"ubuntu-22.04-developer-build",
|
||||
"ubuntu-24.04-arm64",
|
||||
"opensuse-15.6-developer-build",
|
||||
"opensuse-16.0-developer-build",
|
||||
"sles-15_sp6-static",
|
||||
"windows-10_22h2-msvc2022",
|
||||
"rhel-9.6",
|
||||
"windows-11_24h2-mingw15",
|
||||
"windows-11_24H2-mingw15-developer-build",
|
||||
"windows-11_24h2-mingw13",
|
||||
"windows-11_24H2-mingw13-developer-build",
|
||||
"windows-11_24H2-llvm",
|
||||
"windows-11_24H2-msvc2022",
|
||||
"windows-11_23h2-arm64-msvc2022"
|
||||
@@ -33,6 +35,12 @@ Include: [
|
||||
offline_documentation.yaml
|
||||
]
|
||||
Configurations:
|
||||
-
|
||||
Id: 'macos-13-arm64-tests'
|
||||
Template: 'qtci-macos-13-arm-107'
|
||||
Compiler: 'Clang'
|
||||
Features: ['TestOnly']
|
||||
Platform dependency: 'macos-universal-on-arm64'
|
||||
-
|
||||
Id: 'Axivion-QEMU_build'
|
||||
Template: 'qtci-linux-Ubuntu-22.04-x86_64-51'
|
||||
|
||||
@@ -9,12 +9,13 @@ Include: [
|
||||
"ubuntu-22.04",
|
||||
"ubuntu-22.04-developer-build",
|
||||
"ubuntu-24.04-arm64",
|
||||
"opensuse-15.6-developer-build",
|
||||
"opensuse-16.0-developer-build",
|
||||
"sles-15_sp6-static",
|
||||
"windows-10_22h2-msvc2022",
|
||||
"rhel-9.6",
|
||||
"windows-11_24h2-mingw15",
|
||||
"windows-11_24H2-mingw15-developer-build",
|
||||
"windows-11_24h2-mingw13",
|
||||
"windows-11_24H2-mingw13-developer-build",
|
||||
"windows-11_24H2-llvm",
|
||||
"windows-11_24H2-msvc2022",
|
||||
"windows-11_23h2-arm64-msvc2022"
|
||||
@@ -29,8 +30,8 @@ Include: [
|
||||
# Static build configurations for tools
|
||||
Configurations:
|
||||
-
|
||||
Id: 'macos-latest-xcode-universal_Static'
|
||||
Template: 'qtci-macos-15-arm-105'
|
||||
Id: 'macos-14-latest-xcode-universal_Static'
|
||||
Template: 'qtci-macos-14-arm-106'
|
||||
Compiler: 'Clang'
|
||||
Target arch: 'x86_64-arm64'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'MinimalStaticTests']
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml,
|
||||
address_sanitizer_platforms.yaml,
|
||||
offline_documentation.yaml
|
||||
address_sanitizer_platforms.yaml
|
||||
]
|
||||
Configurations: []
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
'rhel-9.6',
|
||||
'ubuntu-24.04-arm64',
|
||||
'ubuntu-24.04-x64-developer-build'
|
||||
]
|
||||
]
|
||||
Configurations: []
|
||||
@@ -13,6 +13,7 @@ Configurations:
|
||||
-separate-debug-info
|
||||
-optimize-size
|
||||
-shared
|
||||
-disable-deprecated-up-to 0x070000
|
||||
-no-feature-widgets
|
||||
-no-feature-sql
|
||||
-no-feature-printsupport
|
||||
@@ -34,6 +35,7 @@ Configurations:
|
||||
-separate-debug-info
|
||||
-optimize-size
|
||||
-shared
|
||||
-disable-deprecated-up-to 0x070000
|
||||
-no-feature-widgets
|
||||
-no-feature-sql
|
||||
-no-feature-printsupport
|
||||
@@ -41,9 +43,7 @@ Configurations:
|
||||
-no-feature-vnc
|
||||
-no-feature-picture
|
||||
-no-feature-pdf
|
||||
Environment variables: [
|
||||
'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY',
|
||||
]
|
||||
Environment variables: []
|
||||
-
|
||||
Id: 'windows-quick-bridges'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
@@ -56,6 +56,7 @@ Configurations:
|
||||
-force-debug-info
|
||||
-optimize-size
|
||||
-shared
|
||||
-disable-deprecated-up-to 0x070000
|
||||
-no-feature-widgets
|
||||
-no-feature-sql
|
||||
-no-feature-printsupport
|
||||
|
||||
@@ -4,6 +4,7 @@ Include: [
|
||||
"macos-universal-on-arm64",
|
||||
],
|
||||
cmake_platforms.yaml: [
|
||||
"opensuse-15.6-developer-build",
|
||||
"opensuse-16.0-developer-build",
|
||||
]
|
||||
]
|
||||
@@ -425,7 +426,7 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'android-quick-minimal'
|
||||
Template: 'qtci-macos-15-arm-105'
|
||||
Template: 'qtci-macos-14-arm-106'
|
||||
Target os: 'Android_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
@@ -561,6 +562,141 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'wasm-quick-minimal'
|
||||
Template: 'qtci-linux-openSUSE-15.6-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'opensuse-15.6-developer-build'
|
||||
Features: ['Sccache', 'UseConfigure', 'DisableTests', 'Insignificant']
|
||||
Environment variables: [
|
||||
'EM_CONFIG={{.Env.EMSDK}}/.emscripten',
|
||||
'TARGET_CMAKE_ARGS=
|
||||
-DCMAKE_CXX_FLAGS="-flto"
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-flto"',
|
||||
'TARGET_CONFIGURE_ARGS=
|
||||
-release
|
||||
-platform wasm-emscripten
|
||||
-nomake examples
|
||||
-nomake tests
|
||||
-feature-thread
|
||||
-optimize-size
|
||||
-static
|
||||
-ltcg
|
||||
-feature-c++20
|
||||
-disable-deprecated-up-to 0x070000
|
||||
-no-feature-sql
|
||||
-no-feature-xml
|
||||
-no-feature-printsupport
|
||||
-no-feature-dbus
|
||||
-no-feature-vnc
|
||||
-no-feature-future
|
||||
-no-feature-concurrent
|
||||
-no-feature-process
|
||||
-no-feature-processenvironment
|
||||
-no-feature-multiprocess
|
||||
-no-feature-sharedmemory
|
||||
-no-feature-permissions
|
||||
-no-feature-udpsocket
|
||||
-no-feature-localserver
|
||||
-no-feature-picture
|
||||
-no-feature-pdf
|
||||
-no-feature-accessibility
|
||||
-no-feature-clipboard
|
||||
-no-feature-draganddrop
|
||||
-no-feature-image_heuristic_mask
|
||||
-no-feature-imageformat_bmp
|
||||
-no-feature-imageformat_ppm
|
||||
-no-feature-imageformat_xbm
|
||||
-no-feature-cssparser
|
||||
-no-feature-action
|
||||
-no-feature-whatsthis
|
||||
-no-feature-vkgen
|
||||
-no-feature-backtrace
|
||||
-no-feature-stack_clash_protection
|
||||
-no-feature-mimetype
|
||||
-no-feature-textmarkdownreader
|
||||
-no-feature-textodfwriter
|
||||
-no-feature-testlib
|
||||
-no-feature-texthtmlparser
|
||||
-no-feature-textmarkdownwriter
|
||||
-no-feature-imageio-text-loading
|
||||
-no-feature-image_text
|
||||
-no-feature-proxymodel
|
||||
-no-feature-filesystemmodel
|
||||
-no-feature-wheelevent
|
||||
-no-feature-tabletevent
|
||||
-no-feature-icu
|
||||
-no-feature-systemtrayicon
|
||||
-no-feature-raster-64bit
|
||||
-no-feature-raster-fp
|
||||
-no-feature-undostack
|
||||
-no-feature-undogroup
|
||||
-no-feature-undocommand
|
||||
-no-feature-sctp
|
||||
-no-feature-dtls
|
||||
-no-feature-networkproxy
|
||||
-no-feature-getifaddrs
|
||||
-no-feature-ipv6ifname
|
||||
-no-feature-libresolv
|
||||
-no-feature-libproxy
|
||||
-no-feature-networkinterface
|
||||
-no-feature-networkdiskcache
|
||||
-no-feature-topleveldomain
|
||||
-no-feature-gssapi
|
||||
-no-feature-sha3-fast
|
||||
-no-feature-systemsemaphore
|
||||
-no-feature-gestures
|
||||
-no-feature-jalalicalendar
|
||||
-no-feature-hijricalendar
|
||||
-no-feature-islamiccivilcalendar
|
||||
-no-feature-timezone
|
||||
-no-feature-timezone_tzdb
|
||||
-no-feature-im
|
||||
-no-feature-graphicsframecapture
|
||||
-no-feature-library
|
||||
-no-feature-filesystemwatcher
|
||||
-no-feature-gif
|
||||
-no-feature-ico
|
||||
-no-feature-sessionmanager
|
||||
-no-feature-emojisegmenter
|
||||
-no-feature-egl
|
||||
-no-feature-metal
|
||||
-no-feature-vulkan
|
||||
-no-feature-openvg
|
||||
-no-feature-wasm-simd128
|
||||
-no-feature-wasm-exceptions
|
||||
-no-feature-wasm-jspi
|
||||
-no-feature-harfbuzz',
|
||||
'NON_QTBASE_CMAKE_ARGS=
|
||||
-DFEATURE_qml_network=off
|
||||
-DFEATURE_qml_ssl=off
|
||||
-DFEATURE_qml_jit=off
|
||||
-DFEATURE_qml_debug=off
|
||||
-DFEATURE_qml_preview=off
|
||||
-DFEATURE_qml_xml_http_request=off
|
||||
-DFEATURE_qml_locale=off
|
||||
-DFEATURE_qml_worker_script=off
|
||||
-DFEATURE_qml_xmllistmodel=off
|
||||
-DFEATURE_quick_canvas=off
|
||||
-DFEATURE_quick_designer=off
|
||||
-DFEATURE_quick_flipable=off
|
||||
-DFEATURE_quick_gridview=off
|
||||
-DFEATURE_quick_tableview=off
|
||||
-DFEATURE_quick_treeview=off
|
||||
-DFEATURE_quick_particles=off
|
||||
-DFEATURE_quick_pathview=off
|
||||
-DFEATURE_quick_sprite=off
|
||||
-DFEATURE_quick_draganddrop=off
|
||||
-DFEATURE_quick_pixmap_cache_threaded_download=off
|
||||
-DFEATURE_qml_table_model=off
|
||||
-DFEATURE_qml_tree_model=off
|
||||
-DFEATURE_quicktemplates2_hover=off
|
||||
-DFEATURE_quicktemplates2_multitouch=off
|
||||
-DFEATURE_quicktemplates2_calendar=off
|
||||
-DFEATURE_qdoc=off',
|
||||
'TARGET_CMAKE_ARGS=-DQT_GENERATE_WRAPPER_SCRIPTS_FOR_ALL_HOSTS=ON'
|
||||
]
|
||||
-
|
||||
Id: 'wasm-quick-minimal-new'
|
||||
Template: 'qtci-linux-openSUSE-16.0-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
@@ -696,7 +832,7 @@ Configurations:
|
||||
]
|
||||
-
|
||||
Id: 'ios-quick-minimal'
|
||||
Template: 'qtci-macos-15-arm-105'
|
||||
Template: 'qtci-macos-14-arm-106'
|
||||
Target os: 'IOS_ANY'
|
||||
Target arch: 'arm64'
|
||||
Compiler: 'Clang'
|
||||
|
||||
@@ -3,7 +3,7 @@ Include: [
|
||||
cmake_platforms.yaml: [
|
||||
"documentation-warnings",
|
||||
"rhel-9.6",
|
||||
'windows-11_24h2-mingw15',
|
||||
'windows-11_24h2-mingw13',
|
||||
],
|
||||
macos.yaml: [
|
||||
'macos-universal-on-arm64'
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
'ubuntu-22.04',
|
||||
'ubuntu-22.04-x11-tests',
|
||||
'ubuntu-24.04-x64',
|
||||
'ubuntu-24.04-x64-x11-tests',
|
||||
'rhel-9.6',
|
||||
'rhel-10.0',
|
||||
'windows-11_24H2-msvc2022',
|
||||
'windows-11_24H2-msvc2026',
|
||||
'windows-11_24h2-mingw15',
|
||||
'windows-11_24H2-llvm'
|
||||
],
|
||||
macos.yaml: [
|
||||
'macos-universal-on-arm64',
|
||||
'macos-14-x86_64-tests',
|
||||
'macos-15-x86_64-tests',
|
||||
'macos-26-x86_64-tests',
|
||||
'macos-14-arm64-tests',
|
||||
'macos-15-arm64-tests',
|
||||
'macos-26-arm64-tests'
|
||||
]
|
||||
]
|
||||
Configurations: []
|
||||
@@ -10,6 +10,13 @@ Include: [
|
||||
]
|
||||
]
|
||||
Configurations:
|
||||
-
|
||||
Id: 'windows-quick-bridges-dotnet'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
Compiler: 'MSVC2022'
|
||||
Platform dependency: 'windows-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', "DebugAndRelease", 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesDotnet']
|
||||
|
||||
-
|
||||
Id: 'windows-quick-bridges-rust'
|
||||
Template: 'qtci-windows-11_24H2-x86_64-73'
|
||||
@@ -40,35 +47,35 @@ Configurations:
|
||||
|
||||
-
|
||||
Id: 'linux-quick-bridges-java'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'linux-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'RunAsPlatformDependency', 'QtBridgesJava']
|
||||
|
||||
-
|
||||
Id: 'linux-quick-bridges-rust'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-54'
|
||||
Template: 'qtci-linux-Ubuntu-24.04-x86_64-51'
|
||||
Compiler: 'GCC'
|
||||
Platform dependency: 'linux-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'RunAsPlatformDependency', 'QtBridgesRust']
|
||||
|
||||
-
|
||||
Id: 'macos-quick-bridges-java'
|
||||
Template: 'qtci-macos-15-arm-104'
|
||||
Template: 'qtci-macos-15-arm-105'
|
||||
Compiler: 'Clang'
|
||||
Platform dependency: 'macos-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesJava']
|
||||
|
||||
-
|
||||
Id: 'macos-quick-bridges-python'
|
||||
Template: 'qtci-macos-15-arm-104'
|
||||
Template: 'qtci-macos-15-arm-105'
|
||||
Compiler: 'Clang'
|
||||
Platform dependency: 'macos-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesPython']
|
||||
|
||||
-
|
||||
Id: 'macos-quick-bridges-swift'
|
||||
Template: 'qtci-macos-15-arm-104'
|
||||
Template: 'qtci-macos-15-arm-105'
|
||||
Compiler: 'Clang'
|
||||
Platform dependency: 'macos-quick-bridges'
|
||||
Features: ['Packaging', 'Sccache', 'UseConfigure', 'DisableTests', 'RunAsPlatformDependency', 'QtBridgesSwift']
|
||||
@@ -1,43 +0,0 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
'ubuntu-22.04',
|
||||
'ubuntu-24.04-x64',
|
||||
'ubuntu-24.04-arm64',
|
||||
'jammy-arm64-debian-pkg-packaging',
|
||||
'jammy-amd64-debian-pkg-packaging'
|
||||
],
|
||||
cmake_platforms_qemu.yaml: [
|
||||
'qemu-arm64-developer-build'
|
||||
]
|
||||
]
|
||||
Configurations: []
|
||||
Overrides:
|
||||
# Set pch off due to stale pch file causing false positive sccache hit
|
||||
-
|
||||
Id: 'ubuntu-22.04'
|
||||
-Features: ['DoNotRunTests']
|
||||
-Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON -DQT_DEPLOY_FFMPEG=TRUE']
|
||||
+Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DINPUT_headersclean=ON -DQT_DEPLOY_FFMPEG=TRUE -DQT_FEATURE_gstreamer_qt_api=ON -DBUILD_WITH_PCH=OFF']
|
||||
-
|
||||
Id: 'ubuntu-24.04-x64'
|
||||
-Features: ['DoNotRunTests']
|
||||
-Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON']
|
||||
+Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON -DQT_FEATURE_gstreamer_qt_api=ON -DBUILD_WITH_PCH=OFF']
|
||||
-
|
||||
Id: 'ubuntu-24.04-arm64'
|
||||
-Features: ['DoNotRunTests']
|
||||
-Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON -DINPUT_tiff=qt -DINPUT_webp=qt']
|
||||
+Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}} -DQT_DEPLOY_FFMPEG=TRUE -DINPUT_headersclean=ON -DINPUT_tiff=qt -DINPUT_webp=qt -DQT_FEATURE_gstreamer_qt_api=ON -DBUILD_WITH_PCH=OFF']
|
||||
-
|
||||
Id: 'jammy-arm64-debian-pkg-packaging'
|
||||
-Features: ['DisableTests']
|
||||
+Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DQT_FEATURE_gstreamer_qt_api=ON -DBUILD_WITH_PCH=OFF']
|
||||
-
|
||||
Id: 'jammy-amd64-debian-pkg-packaging'
|
||||
-Features: ['DisableTests']
|
||||
+Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DQT_FEATURE_gstreamer_qt_api=ON -DBUILD_WITH_PCH=OFF']
|
||||
-
|
||||
Id: 'qemu-arm64-developer-build'
|
||||
-Features: ['InsignificantTests']
|
||||
+Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DQT_FEATURE_gstreamer_qt_api=ON -DBUILD_WITH_PCH=OFF']
|
||||
@@ -1,25 +0,0 @@
|
||||
Version: 2
|
||||
Include: [
|
||||
cmake_platforms.yaml: [
|
||||
'ubuntu-22.04',
|
||||
'ubuntu-22.04-x11-tests',
|
||||
'ubuntu-24.04-x64',
|
||||
'ubuntu-24.04-x64-x11-tests',
|
||||
'rhel-9.6',
|
||||
'rhel-10.0',
|
||||
'windows-11_24H2-msvc2022',
|
||||
'windows-11_24H2-msvc2026',
|
||||
'windows-11_24h2-mingw15',
|
||||
'windows-11_24H2-llvm'
|
||||
],
|
||||
macos.yaml: [
|
||||
'macos-universal-on-arm64',
|
||||
'macos-14-x86_64-tests',
|
||||
'macos-15-x86_64-tests',
|
||||
'macos-26-x86_64-tests',
|
||||
'macos-14-arm64-tests',
|
||||
'macos-15-arm64-tests',
|
||||
'macos-26-arm64-tests'
|
||||
]
|
||||
]
|
||||
Configurations: []
|
||||
@@ -2,8 +2,15 @@ Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'webassembly-linux-thread-asyncify-tests'
|
||||
Template: 'qtci-linux-openSUSE-15.6-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'webassembly-linux-thread-asyncify'
|
||||
-
|
||||
Id: 'webassembly-linux-thread-asyncify-tests-new'
|
||||
Template: 'qtci-linux-openSUSE-16.0-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly', 'InsignificantTests', 'DoNotAbortTestingOnFirstFailure']
|
||||
Platform dependency: 'webassembly-linux-thread-asyncify'
|
||||
Platform dependency: 'webassembly-linux-thread-asyncify-new'
|
||||
|
||||
@@ -2,8 +2,15 @@ Version: 2
|
||||
Configurations:
|
||||
-
|
||||
Id: 'webassembly-linux-thread-asyncify-tests'
|
||||
Template: 'qtci-linux-openSUSE-16.0-x86_64-51'
|
||||
Template: 'qtci-linux-openSUSE-15.6-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'webassembly-linux-thread-asyncify'
|
||||
-
|
||||
Id: 'webassembly-linux-thread-asyncify-tests-new'
|
||||
Template: 'qtci-linux-openSUSE-16.0-x86_64-51'
|
||||
Target os: 'WebAssembly'
|
||||
Compiler: 'GCC'
|
||||
Features: ['Sccache', 'TestOnly']
|
||||
Platform dependency: 'webassembly-linux-thread-asyncify-new'
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2026 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
# Distribution-specific build settings.
|
||||
# For another distro/version, copy the bundle and change these values first.
|
||||
|
||||
DISTRO_NAME="ubuntu"
|
||||
DISTRO_VERSION="26.04"
|
||||
ISO_PATH="/tmp/ubuntu-26.04-desktop-amd64.iso"
|
||||
# ISO_CHECKSUM_FILE="/tmp/SHA256SUMS"
|
||||
|
||||
# Usually reusable without changes.
|
||||
IMAGE_PREFIX="qtci-linux"
|
||||
ARCH="x86_64"
|
||||
MINIMAL_INDEX="50"
|
||||
CUSTOM_INDEX="51"
|
||||
DISK_SIZE="500G"
|
||||
CPUS="8"
|
||||
MEMORY_MB="16184"
|
||||
SSH_USERNAME="qt"
|
||||
SSH_PASSWORD="$(cat /tmp/PASS)"
|
||||
|
||||
PROJECT_DIR="/tmp/packer-linux"
|
||||
ARTIFACT_DIR="/tmp/output-linux-images"
|
||||
@@ -1,111 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2026 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
script_dir="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
|
||||
# shellcheck source=build-config.sh
|
||||
source "${script_dir}/build-config.sh"
|
||||
|
||||
image_base_name="${IMAGE_PREFIX}-${DISTRO_NAME}-${DISTRO_VERSION}-${ARCH}"
|
||||
image_50_name="${image_base_name}-${MINIMAL_INDEX}"
|
||||
image_51_name="${image_base_name}-${CUSTOM_INDEX}"
|
||||
image_50="${ARTIFACT_DIR}/${image_50_name}"
|
||||
image_51="${ARTIFACT_DIR}/${image_51_name}"
|
||||
image_51_seed="/tmp/${image_51_name}-seed.qcow2"
|
||||
stage_50_output="/tmp/packer-output-${MINIMAL_INDEX}"
|
||||
stage_51_output="/tmp/packer-output-${CUSTOM_INDEX}"
|
||||
template="linux-image.pkr.hcl"
|
||||
|
||||
# Pass one source of configuration into Packer without duplicating distro and
|
||||
# version literals in HCL or a second variable file.
|
||||
export PKR_VAR_distro_name="$DISTRO_NAME"
|
||||
export PKR_VAR_distro_version="$DISTRO_VERSION"
|
||||
export PKR_VAR_image_prefix="$IMAGE_PREFIX"
|
||||
export PKR_VAR_arch="$ARCH"
|
||||
export PKR_VAR_minimal_index="$MINIMAL_INDEX"
|
||||
export PKR_VAR_custom_index="$CUSTOM_INDEX"
|
||||
export PKR_VAR_iso_path="$ISO_PATH"
|
||||
# export PKR_VAR_iso_checksum_file="$ISO_CHECKSUM_FILE"
|
||||
export PKR_VAR_project_dir="$PROJECT_DIR"
|
||||
export PKR_VAR_artifact_dir="$ARTIFACT_DIR"
|
||||
export PKR_VAR_disk_size="$DISK_SIZE"
|
||||
export PKR_VAR_cpus="$CPUS"
|
||||
export PKR_VAR_memory_mb="$MEMORY_MB"
|
||||
export PKR_VAR_ssh_username="$SSH_USERNAME"
|
||||
export PKR_VAR_ssh_password="$SSH_PASSWORD"
|
||||
|
||||
if [[ "$script_dir" != "$PROJECT_DIR" ]]; then
|
||||
echo "ERROR: Bundle is at '$script_dir', but PROJECT_DIR is '$PROJECT_DIR'." >&2
|
||||
echo "Move/extract it there or update PROJECT_DIR in build-config.sh." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for required_file in $ISO_PATH; do
|
||||
if [[ ! -f "$required_file" ]]; then
|
||||
echo "ERROR: Required file is missing: $required_file" >&2
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
# Stage 51 is always regenerated. Stage 50 is retained
|
||||
rm -rf "$stage_50_output" "$stage_51_output"
|
||||
rm -f "$image_51" "$image_51_seed"
|
||||
rm -f "${image_51}.sha256"
|
||||
|
||||
packer init "$template"
|
||||
packer validate "$template"
|
||||
|
||||
if [[ -f "$image_50" ]]; then
|
||||
echo "Stage ${MINIMAL_INDEX}: existing image found:"
|
||||
echo " $image_50"
|
||||
echo "Validating existing image before skipping the build..."
|
||||
|
||||
if ! qemu-img check "$image_50"; then
|
||||
echo "ERROR: Existing stage-${MINIMAL_INDEX} image failed validation:" >&2
|
||||
echo " $image_50" >&2
|
||||
echo "The image was not deleted or overwritten." >&2
|
||||
echo "Remove it manually" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Stage ${MINIMAL_INDEX}: image is valid, skipping Packer build."
|
||||
sha256sum "$image_50" > "${image_50}.sha256"
|
||||
|
||||
else
|
||||
echo "Stage ${MINIMAL_INDEX}: no existing image found, starting Packer."
|
||||
|
||||
PACKER_LOG=1 \
|
||||
PACKER_LOG_PATH="/tmp/packer-stage-${MINIMAL_INDEX}.log" \
|
||||
packer build -only=stage-50.qemu.stage_50 "$template"
|
||||
|
||||
qemu-img check "$image_50"
|
||||
sha256sum "$image_50" > "${image_50}.sha256"
|
||||
fi
|
||||
|
||||
echo "Creating independent stage-${CUSTOM_INDEX} seed..."
|
||||
qemu-img convert -p -f qcow2 -O qcow2 "$image_50" "$image_51_seed"
|
||||
qemu-img check "$image_51_seed"
|
||||
|
||||
PACKER_LOG=1 \
|
||||
PACKER_LOG_PATH="/tmp/packer-stage-${CUSTOM_INDEX}.log" \
|
||||
packer build -only=stage-51.qemu.stage_51 "$template"
|
||||
|
||||
qemu-img check "$image_51"
|
||||
sha256sum "$image_51" > "${image_51}.sha256"
|
||||
|
||||
(
|
||||
cd "$ARTIFACT_DIR"
|
||||
sha256sum --check "$(basename "${image_50}.sha256")"
|
||||
)
|
||||
|
||||
rm -f "$image_51_seed"
|
||||
|
||||
echo
|
||||
echo "Created independent images:"
|
||||
echo " $image_50"
|
||||
echo " $image_51"
|
||||
echo "Checksums:"
|
||||
echo " ${image_50}.sha256"
|
||||
echo " ${image_51}.sha256"
|
||||
@@ -1,2 +0,0 @@
|
||||
instance-id: qtci-ubuntu26-packer
|
||||
local-hostname: qtci-ubuntu26-x64
|
||||
@@ -1,22 +0,0 @@
|
||||
#cloud-config
|
||||
# This file is installer/distribution-specific. The generic HCL and wrapper can
|
||||
# be reused, but replace this file for a distro that does not use autoinstall.
|
||||
autoinstall:
|
||||
version: 1
|
||||
source:
|
||||
id: ubuntu-desktop-minimal
|
||||
locale: en_US.UTF-8
|
||||
keyboard:
|
||||
layout: us
|
||||
timezone: UTC
|
||||
identity:
|
||||
hostname: qtci-ubuntu26-x64
|
||||
username: qt
|
||||
password: "$6$qtciubuntu2604$FAeHIUtg1iOarKFnnDZim5fWEJ6ZaaYXSc360m68XFTqurIBWNBxsmUDKj.8mGJkVDKlWjFdKZLfrqHYhuBH8/"
|
||||
ssh:
|
||||
install-server: true
|
||||
allow-pw: true
|
||||
storage:
|
||||
layout:
|
||||
name: direct
|
||||
shutdown: reboot
|
||||
@@ -1,192 +0,0 @@
|
||||
packer {
|
||||
required_version = ">= 1.14.0"
|
||||
|
||||
required_plugins {
|
||||
qemu = {
|
||||
version = "~> 1"
|
||||
source = "github.com/hashicorp/qemu"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
variable "distro_name" {
|
||||
type = string
|
||||
}
|
||||
variable "distro_version" {
|
||||
type = string
|
||||
}
|
||||
variable "image_prefix" {
|
||||
type = string
|
||||
}
|
||||
variable "arch" {
|
||||
type = string
|
||||
}
|
||||
variable "minimal_index" {
|
||||
type = string
|
||||
}
|
||||
variable "custom_index" {
|
||||
type = string
|
||||
}
|
||||
variable "iso_path" {
|
||||
type = string
|
||||
}
|
||||
variable "project_dir" {
|
||||
type = string
|
||||
}
|
||||
variable "artifact_dir" {
|
||||
type = string
|
||||
}
|
||||
variable "disk_size" {
|
||||
type = string
|
||||
}
|
||||
variable "cpus" {
|
||||
type = number
|
||||
}
|
||||
variable "memory_mb" {
|
||||
type = number
|
||||
}
|
||||
variable "ssh_username" {
|
||||
type = string
|
||||
}
|
||||
variable "ssh_password" {
|
||||
type = string
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
locals {
|
||||
image_base_name = "${var.image_prefix}-${var.distro_name}-${var.distro_version}-${var.arch}"
|
||||
image_50_name = "${local.image_base_name}-${var.minimal_index}"
|
||||
image_51_name = "${local.image_base_name}-${var.custom_index}"
|
||||
|
||||
image_50_path = "${var.artifact_dir}/${local.image_50_name}"
|
||||
image_51_path = "${var.artifact_dir}/${local.image_51_name}"
|
||||
image_51_seed = "/tmp/${local.image_51_name}-seed.qcow2"
|
||||
|
||||
stage_50_output = "/tmp/packer-output-${var.minimal_index}"
|
||||
stage_51_output = "/tmp/packer-output-${var.custom_index}"
|
||||
}
|
||||
|
||||
source "qemu" "stage_50" {
|
||||
vm_name = local.image_50_name
|
||||
output_directory = local.stage_50_output
|
||||
|
||||
iso_url = var.iso_path
|
||||
iso_checksum = "none"
|
||||
|
||||
accelerator = "kvm"
|
||||
qemu_binary = "qemu-system-x86_64"
|
||||
format = "qcow2"
|
||||
disk_size = var.disk_size
|
||||
disk_interface = "virtio"
|
||||
net_device = "virtio-net"
|
||||
|
||||
cpus = var.cpus
|
||||
memory = var.memory_mb
|
||||
|
||||
communicator = "ssh"
|
||||
ssh_username = var.ssh_username
|
||||
ssh_password = var.ssh_password
|
||||
ssh_timeout = "60m"
|
||||
ssh_handshake_attempts = 100
|
||||
|
||||
http_directory = "${var.project_dir}/http"
|
||||
boot_wait = "10s"
|
||||
|
||||
# This boot sequence is installer-family-specific. Replace it when adapting
|
||||
# the bundle to a distro that does not use Ubuntu/Subiquity autoinstall.
|
||||
boot_command = [
|
||||
"c<wait>",
|
||||
"linux /casper/vmlinuz autoinstall ds=nocloud-net\\;s=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ ---<enter><wait>",
|
||||
"initrd /casper/initrd<enter><wait>",
|
||||
"boot<enter>"
|
||||
]
|
||||
|
||||
headless = true
|
||||
vnc_bind_address = "127.0.0.1"
|
||||
shutdown_command = "echo '${var.ssh_password}' | sudo -S shutdown -P now"
|
||||
}
|
||||
|
||||
source "qemu" "stage_51" {
|
||||
vm_name = local.image_51_name
|
||||
output_directory = local.stage_51_output
|
||||
|
||||
# build-images.sh creates this independent seed from immutable image -50.
|
||||
iso_url = local.image_51_seed
|
||||
iso_checksum = "none"
|
||||
disk_image = true
|
||||
|
||||
accelerator = "kvm"
|
||||
qemu_binary = "qemu-system-x86_64"
|
||||
format = "qcow2"
|
||||
disk_size = var.disk_size
|
||||
disk_interface = "virtio"
|
||||
net_device = "virtio-net"
|
||||
|
||||
cpus = var.cpus
|
||||
memory = var.memory_mb
|
||||
|
||||
communicator = "ssh"
|
||||
ssh_username = var.ssh_username
|
||||
ssh_password = var.ssh_password
|
||||
ssh_timeout = "30m"
|
||||
ssh_handshake_attempts = 100
|
||||
|
||||
headless = true
|
||||
vnc_bind_address = "127.0.0.1"
|
||||
shutdown_command = "echo '${var.ssh_password}' | sudo -S shutdown -P now"
|
||||
}
|
||||
|
||||
build {
|
||||
name = "stage-50"
|
||||
sources = ["source.qemu.stage_50"]
|
||||
|
||||
provisioner "shell" {
|
||||
execute_command = "echo '${var.ssh_password}' | {{ .Vars }} sudo -S -E bash '{{ .Path }}'"
|
||||
script = "${var.project_dir}/scripts/01-minimal-50.sh"
|
||||
}
|
||||
|
||||
post-processor "shell-local" {
|
||||
inline = [
|
||||
"mkdir -p '${var.artifact_dir}'",
|
||||
"rm -f '${local.image_50_path}'",
|
||||
"mv '${local.stage_50_output}/${local.image_50_name}' '${local.image_50_path}'",
|
||||
"qemu-img check '${local.image_50_path}'",
|
||||
"qemu-img info '${local.image_50_path}'"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
build {
|
||||
name = "stage-51"
|
||||
sources = ["source.qemu.stage_51"]
|
||||
|
||||
provisioner "shell" {
|
||||
execute_command = "echo '${var.ssh_password}' | {{ .Vars }} sudo -S -E bash '{{ .Path }}'"
|
||||
script = "${var.project_dir}/scripts/02-coin-configuration-51.sh"
|
||||
}
|
||||
|
||||
provisioner "shell" {
|
||||
execute_command = "echo '${var.ssh_password}' | {{ .Vars }} sudo -S -E bash '{{ .Path }}'"
|
||||
script = "${var.project_dir}/scripts/03-gnome-configuration-51.sh"
|
||||
}
|
||||
|
||||
provisioner "shell" {
|
||||
execute_command = "echo '${var.ssh_password}' | {{ .Vars }} sudo -S -E bash '{{ .Path }}'"
|
||||
script = "${var.project_dir}/scripts/04-no-overview-extension-51.sh"
|
||||
}
|
||||
|
||||
provisioner "shell" {
|
||||
execute_command = "echo '${var.ssh_password}' | {{ .Vars }} sudo -S -E bash '{{ .Path }}'"
|
||||
script = "${var.project_dir}/scripts/05-check-configurations-51.sh"
|
||||
}
|
||||
|
||||
post-processor "shell-local" {
|
||||
inline = [
|
||||
"mkdir -p '${var.artifact_dir}'",
|
||||
"rm -f '${local.image_51_path}'",
|
||||
"mv '${local.stage_51_output}/${local.image_51_name}' '${local.image_51_path}'",
|
||||
"qemu-img check '${local.image_51_path}'",
|
||||
"qemu-img info '${local.image_51_path}'"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2026 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# This script is run on the minimal -50 image
|
||||
# Other scripts will be run on the -50 -> -51 cloned image
|
||||
|
||||
readonly CI_USER="${CI_USER:-qt}"
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Debian/Ubuntu implementation. Replace this script with the distro's package
|
||||
# manager commands when reusing the generic wrapper and HCL elsewhere.
|
||||
apt-get update
|
||||
apt-get -y full-upgrade
|
||||
apt-get install -y qemu-guest-agent
|
||||
systemctl enable qemu-guest-agent
|
||||
|
||||
dpkg-query -W -f='${binary:Package}\t${Version}\n' \
|
||||
> /var/tmp/qtci-minimal-image-packages.txt
|
||||
|
||||
apt-get -y autoremove
|
||||
apt-get clean
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
qemu-ga --version
|
||||
-169
@@ -1,169 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2026 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# Initial Coin configuration for the customized image (-51).
|
||||
|
||||
readonly CI_USER="${CI_USER:-qt}"
|
||||
readonly GRUB_GFXMODE_VALUE="${GRUB_GFXMODE_VALUE:-1280x800}"
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
log() {
|
||||
printf '\n[51-coin-configuration] %s\n' "$*"
|
||||
}
|
||||
|
||||
require_root() {
|
||||
if [[ "${EUID}" -ne 0 ]]; then
|
||||
echo "ERROR: This script must run as root." >&2
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
require_user() {
|
||||
if ! id "$CI_USER" >/dev/null 2>&1; then
|
||||
echo "ERROR: Required CI user does not exist: $CI_USER" >&2
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
require_root
|
||||
require_user
|
||||
|
||||
log "Installing required base packages"
|
||||
apt-get update
|
||||
apt-get install -y \
|
||||
openssh-server \
|
||||
ufw
|
||||
|
||||
# Remove GNOME welcome window at boot
|
||||
log "Removing gnome-initial-setup"
|
||||
apt-get purge -y gnome-initial-setup
|
||||
|
||||
# No sudo PW
|
||||
log "Configuring passwordless sudo for ${CI_USER}"
|
||||
cat > "/etc/sudoers.d/${CI_USER}" <<EOF
|
||||
${CI_USER} ALL=(ALL) NOPASSWD: ALL
|
||||
EOF
|
||||
chmod 0440 "/etc/sudoers.d/${CI_USER}"
|
||||
visudo --check
|
||||
|
||||
# UTC
|
||||
log "Setting the system timezone to UTC"
|
||||
timedatectl set-timezone UTC
|
||||
|
||||
# Enable SSH
|
||||
log "Enabling SSH"
|
||||
# Current Ubuntu releases may use socket activation. Enabling both units is
|
||||
# harmless and keeps the image compatible with service- and socket-based SSH.
|
||||
systemctl enable ssh.service
|
||||
systemctl enable ssh.socket 2>/dev/null || true
|
||||
|
||||
# Enable QEMU GA
|
||||
log "Enabling QEMU guest agent"
|
||||
systemctl enable qemu-guest-agent
|
||||
|
||||
# Disable firewall
|
||||
log "Disabling UFW"
|
||||
ufw --force disable
|
||||
systemctl disable ufw.service 2>/dev/null || true
|
||||
|
||||
# Set resolution
|
||||
log "Configuring GRUB graphics mode: ${GRUB_GFXMODE_VALUE}"
|
||||
if grep -qE '^GRUB_GFXMODE=' /etc/default/grub; then
|
||||
sed -i "s/^GRUB_GFXMODE=.*/GRUB_GFXMODE=${GRUB_GFXMODE_VALUE}/" /etc/default/grub
|
||||
else
|
||||
printf '\nGRUB_GFXMODE=%s\n' "$GRUB_GFXMODE_VALUE" >> /etc/default/grub
|
||||
fi
|
||||
update-grub
|
||||
|
||||
# Disable auto upgrade/update
|
||||
log "Disabling periodic APT update checks"
|
||||
cat > /etc/apt/apt.conf.d/99-qtci-no-periodic-updates << EOF
|
||||
APT::Periodic "0";
|
||||
APT::Periodic::Update-Package-Lists "0";
|
||||
APT::Periodic::Download-Upgradeable-Packages "0";
|
||||
APT::Periodic::AutocleanInterval "0";
|
||||
APT::Periodic::Unattended-Upgrade "0";
|
||||
EOF
|
||||
|
||||
sudo systemctl disable --now \
|
||||
apt-daily.timer \
|
||||
apt-daily-upgrade.timer
|
||||
|
||||
sudo systemctl mask \
|
||||
apt-daily.service \
|
||||
apt-daily-upgrade.service \
|
||||
apt-daily.timer \
|
||||
apt-daily-upgrade.timer
|
||||
|
||||
log "Disabling release-upgrade notifications"
|
||||
if [[ -f /etc/update-manager/release-upgrades ]]; then
|
||||
if grep -qE '^Prompt=' /etc/update-manager/release-upgrades; then
|
||||
sed -i 's/^Prompt=.*/Prompt=never/' \
|
||||
/etc/update-manager/release-upgrades
|
||||
else
|
||||
printf '\nPrompt=never\n' >> /etc/update-manager/release-upgrades
|
||||
fi
|
||||
fi
|
||||
|
||||
# GDM Auto login
|
||||
log "Configuring GDM for ${CI_USER}"
|
||||
if [[ -d /etc/gdm3 ]]; then
|
||||
gdm_config="/etc/gdm3/custom.conf"
|
||||
touch "$gdm_config"
|
||||
|
||||
if ! grep -qE '^\[daemon\]' "$gdm_config"; then
|
||||
printf '\n[daemon]\n' >> "$gdm_config"
|
||||
fi
|
||||
sed -i \
|
||||
'/^AutomaticLoginEnable=/d; /^AutomaticLogin=/d; /^InitialSetupEnable=/d' \
|
||||
"$gdm_config"
|
||||
sed -i \
|
||||
"/^\[daemon\]/a InitialSetupEnable=False\nAutomaticLogin=${CI_USER}\nAutomaticLoginEnable=True" \
|
||||
"$gdm_config"
|
||||
else
|
||||
log "GDM is not installed; skipping GDM configuration"
|
||||
fi
|
||||
|
||||
# Run Coin-setup
|
||||
log "Downloading and running coin-setup"
|
||||
|
||||
coin_setup_url="https://ci-files01-hki.ci.qt.io/input/linux/coin-setup-linux-amd64.zip"
|
||||
coin_setup_zip="/tmp/coin-setup-linux-amd64.zip"
|
||||
coin_setup_dir="/tmp/coin-setup-linux-amd64"
|
||||
coin_setup_binary="${coin_setup_dir}/coin-setup"
|
||||
|
||||
rm -rf "$coin_setup_dir"
|
||||
rm -f "$coin_setup_zip"
|
||||
mkdir -p "$coin_setup_dir"
|
||||
|
||||
wget --quiet --output-document="$coin_setup_zip" "$coin_setup_url"
|
||||
|
||||
unzip -q "$coin_setup_zip" -d "$coin_setup_dir"
|
||||
|
||||
if [[ ! -f "$coin_setup_binary" ]]; then
|
||||
echo "ERROR: coin-setup binary was not found at ${coin_setup_binary}" >&2
|
||||
echo "Archive contents:" >&2
|
||||
unzip -l "$coin_setup_zip" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
chmod 0755 "$coin_setup_binary"
|
||||
|
||||
sudo -H -u "$CI_USER" "$coin_setup_binary"
|
||||
|
||||
rm -rf "$coin_setup_dir"
|
||||
rm -f "$coin_setup_zip"
|
||||
|
||||
log "coin-setup completed successfully"
|
||||
|
||||
# Clean apt
|
||||
log "Cleaning APT metadata"
|
||||
apt-get clean
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
log "Configuration completed successfully"
|
||||
echo "A reboot is required for all GRUB and login-manager changes to take effect."
|
||||
-150
@@ -1,150 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2026 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
readonly CI_USER="${CI_USER:-qt}"
|
||||
|
||||
log() {
|
||||
printf '\n[gnome-configuration] %s\n' "$*"
|
||||
}
|
||||
|
||||
if [[ "$EUID" -ne 0 ]]; then
|
||||
echo "ERROR: This script must run as root." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! id "$CI_USER" >/dev/null 2>&1; then
|
||||
echo "ERROR: User does not exist: $CI_USER" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ci_home="$(getent passwd "$CI_USER" | cut -d: -f6)"
|
||||
|
||||
if [[ -z "$ci_home" || ! -d "$ci_home" ]]; then
|
||||
echo "ERROR: Cannot determine home directory for $CI_USER" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
log "Applying GNOME preferences for ${CI_USER}"
|
||||
|
||||
# GNOME preferences are stored per user in the dconf database. Packer runs this
|
||||
# provisioner as root over SSH, without a graphical login or user D-Bus session.
|
||||
# Run gsettings as the CI user inside a temporary D-Bus session so the values
|
||||
# are written to the CI user's dconf database rather than root's configuration.
|
||||
|
||||
sudo -H -u "$CI_USER" HOME="$ci_home" dbus-run-session -- bash <<'GNOME_SETTINGS'
|
||||
set -euo pipefail
|
||||
|
||||
schema_exists() {
|
||||
local schema="$1"
|
||||
|
||||
gsettings list-schemas |
|
||||
grep -Fx "$schema" >/dev/null
|
||||
}
|
||||
|
||||
key_exists() {
|
||||
local schema="$1"
|
||||
local key="$2"
|
||||
|
||||
gsettings list-keys "$schema" |
|
||||
grep -Fx "$key" >/dev/null
|
||||
}
|
||||
|
||||
set_setting() {
|
||||
local schema="$1"
|
||||
local key="$2"
|
||||
local value="$3"
|
||||
|
||||
if ! schema_exists "$schema"; then
|
||||
echo "ERROR: Missing GSettings schema: $schema" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! key_exists "$schema" "$key"; then
|
||||
echo "ERROR: Missing GSettings key: $schema $key" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Setting: $schema $key = $value"
|
||||
gsettings set "$schema" "$key" "$value"
|
||||
|
||||
actual="$(gsettings get "$schema" "$key")"
|
||||
echo "Result: $schema $key = $actual"
|
||||
}
|
||||
|
||||
set_setting \
|
||||
org.gnome.desktop.notifications \
|
||||
show-banners \
|
||||
false
|
||||
|
||||
set_setting \
|
||||
org.gnome.desktop.notifications \
|
||||
show-in-lock-screen \
|
||||
false
|
||||
|
||||
set_setting \
|
||||
org.gnome.desktop.screensaver \
|
||||
lock-enabled \
|
||||
false
|
||||
|
||||
if key_exists \
|
||||
org.gnome.desktop.screensaver \
|
||||
ubuntu-lock-on-suspend; then
|
||||
|
||||
set_setting \
|
||||
org.gnome.desktop.screensaver \
|
||||
ubuntu-lock-on-suspend \
|
||||
false
|
||||
fi
|
||||
|
||||
set_setting \
|
||||
org.gnome.desktop.privacy \
|
||||
remember-recent-files \
|
||||
false
|
||||
|
||||
rm -f "${XDG_DATA_HOME:-$HOME/.local/share}/recently-used.xbel"
|
||||
|
||||
set_setting \
|
||||
org.gnome.desktop.session \
|
||||
idle-delay \
|
||||
'uint32 0'
|
||||
|
||||
set_setting \
|
||||
org.gnome.settings-daemon.plugins.power \
|
||||
sleep-inactive-ac-type \
|
||||
"'nothing'"
|
||||
|
||||
set_setting \
|
||||
org.gnome.settings-daemon.plugins.power \
|
||||
sleep-inactive-battery-type \
|
||||
"'nothing'"
|
||||
|
||||
set_setting \
|
||||
org.gnome.settings-daemon.plugins.power \
|
||||
sleep-inactive-ac-timeout \
|
||||
0
|
||||
|
||||
set_setting \
|
||||
org.gnome.settings-daemon.plugins.power \
|
||||
sleep-inactive-battery-timeout \
|
||||
0
|
||||
|
||||
set_setting \
|
||||
org.gnome.shell.extensions.dash-to-dock \
|
||||
dock-fixed \
|
||||
true
|
||||
|
||||
set_setting \
|
||||
org.gnome.shell.extensions.dash-to-dock \
|
||||
autohide \
|
||||
false
|
||||
|
||||
set_setting \
|
||||
org.gnome.shell.extensions.dash-to-dock \
|
||||
intellihide \
|
||||
false
|
||||
GNOME_SETTINGS
|
||||
|
||||
log "GNOME preferences applied successfully"
|
||||
-46
@@ -1,46 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2026 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# Install no-overview gnome extension to prevent desktop overview at boot (QTBUG-132070)
|
||||
|
||||
readonly CI_USER="${CI_USER:-qt}"
|
||||
readonly EXTENSION_UUID="no-overview@fthx"
|
||||
readonly EXTENSION_URL="https://ci-files01-hki.ci.qt.io/input/linux/no-overviewfthx.v23.shell-extension.zip" # GNOME <50
|
||||
readonly EXTENSION_ZIP="/tmp/${EXTENSION_UUID}.zip"
|
||||
readonly EXTENSION_DIR="/usr/share/gnome-shell/extensions/${EXTENSION_UUID}"
|
||||
|
||||
if [[ "$EUID" -ne 0 ]]; then
|
||||
echo "ERROR: This script must run as root." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! id "$CI_USER" >/dev/null 2>&1; then
|
||||
echo "ERROR: User does not exist: $CI_USER" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ci_home="$(getent passwd "$CI_USER" | cut -d: -f6)"
|
||||
|
||||
echo "Installing No Overview GNOME extension"
|
||||
|
||||
wget --quiet --output-document="$EXTENSION_ZIP" "$EXTENSION_URL"
|
||||
|
||||
install -d -o root -g root -m 0755 "$EXTENSION_DIR"
|
||||
|
||||
unzip -q "$EXTENSION_ZIP" -d "$EXTENSION_DIR"
|
||||
|
||||
chown -R root:root "$EXTENSION_DIR"
|
||||
find "$EXTENSION_DIR" -type d -exec chmod 0755 {} +
|
||||
find "$EXTENSION_DIR" -type f -exec chmod 0644 {} +
|
||||
|
||||
# gnome-extensions writes the enabled state to the CI user's dconf database.
|
||||
# Packer runs over SSH without a user session, so provide a temporary D-Bus.
|
||||
sudo -H -u "$CI_USER" HOME="$ci_home" dbus-run-session -- gnome-extensions enable "$EXTENSION_UUID"
|
||||
|
||||
rm -f "$EXTENSION_ZIP"
|
||||
|
||||
echo "Installed and enabled: $EXTENSION_UUID"
|
||||
echo "After a reboot, check with: gnome-extensions list --enabled"
|
||||
-138
@@ -1,138 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2026 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
failures=0
|
||||
|
||||
pass() {
|
||||
printf 'PASS: %s\n' "$1"
|
||||
}
|
||||
|
||||
fail() {
|
||||
printf 'FAIL: %s\n' "$1"
|
||||
failures=$((failures + 1))
|
||||
}
|
||||
|
||||
echo "=== Image -51 verification ==="
|
||||
|
||||
# No PW prompt
|
||||
if sudo -n true 2>/dev/null; then
|
||||
pass "passwordless sudo"
|
||||
else
|
||||
fail "passwordless sudo"
|
||||
fi
|
||||
|
||||
if sudo visudo --check >/dev/null 2>&1; then
|
||||
pass "sudoers syntax"
|
||||
else
|
||||
fail "sudoers syntax"
|
||||
fi
|
||||
|
||||
# Timezone
|
||||
timezone="$(timedatectl show --property=Timezone --value)"
|
||||
|
||||
if [[ "$timezone" == "UTC" || "$timezone" == "Etc/UTC" ]]; then
|
||||
pass "timezone is UTC"
|
||||
else
|
||||
fail "timezone is '$timezone', expected UTC"
|
||||
fi
|
||||
|
||||
# SSH
|
||||
if dpkg-query -W -f='${db:Status-Abbrev}' openssh-server 2>/dev/null | grep -q '^ii'; then
|
||||
pass "openssh-server installed"
|
||||
else
|
||||
fail "openssh-server installed"
|
||||
fi
|
||||
|
||||
if systemctl is-active --quiet ssh.socket || systemctl is-active --quiet ssh.service; then
|
||||
pass "SSH listener active"
|
||||
else
|
||||
fail "SSH listener active"
|
||||
fi
|
||||
|
||||
if sudo ss -ltn |
|
||||
grep -qE 'LISTEN.+:22[[:space:]]'; then
|
||||
pass "TCP port 22 listening"
|
||||
else
|
||||
fail "TCP port 22 listening"
|
||||
fi
|
||||
|
||||
# QEMU GA
|
||||
if dpkg-query -W -f='${db:Status-Abbrev}' qemu-guest-agent 2>/dev/null | grep -q '^ii'; then
|
||||
pass "qemu-guest-agent installed"
|
||||
else
|
||||
fail "qemu-guest-agent installed"
|
||||
fi
|
||||
|
||||
if systemctl is-enabled --quiet qemu-guest-agent; then
|
||||
pass "qemu-guest-agent enabled"
|
||||
else
|
||||
fail "qemu-guest-agent enabled"
|
||||
fi
|
||||
|
||||
# UFW
|
||||
if sudo ufw status | grep -Fxq 'Status: inactive'; then
|
||||
pass "UFW inactive"
|
||||
else
|
||||
fail "UFW inactive"
|
||||
fi
|
||||
|
||||
# Resolution
|
||||
if grep -Fxq 'GRUB_GFXMODE=1280x800' /etc/default/grub; then
|
||||
pass "GRUB graphics mode"
|
||||
else
|
||||
fail "GRUB graphics mode"
|
||||
fi
|
||||
|
||||
# Auto update/upgrade disabled
|
||||
if apt-config dump | grep -i 'APT::Periodic \"0\";'; then
|
||||
pass "APT periodic processing disabled"
|
||||
else
|
||||
apt-config dump | grep -i APT::Periodic
|
||||
fail "APT periodic processing enabled"
|
||||
fi
|
||||
|
||||
if apt-config dump | grep -i 'APT::Periodic::Unattended-Upgrade \"0\";'; then
|
||||
pass "APT unattended upgrades disabled"
|
||||
else
|
||||
apt-config dump | grep -i APT::Periodic
|
||||
fail "APT unattended upgrades enabled"
|
||||
fi
|
||||
|
||||
if grep -Fxq 'Prompt=never' /etc/update-manager/release-upgrades; then
|
||||
pass "release-upgrade notifications disabled"
|
||||
else
|
||||
fail "release-upgrade notifications enabled"
|
||||
fi
|
||||
|
||||
# Auto login
|
||||
if sudo grep -Fxq 'AutomaticLoginEnable=True' /etc/gdm3/custom.conf && sudo grep -Fxq 'AutomaticLogin=qt' /etc/gdm3/custom.conf; then
|
||||
pass "GDM automatic login configured"
|
||||
else
|
||||
fail "GDM automatic login configured"
|
||||
fi
|
||||
|
||||
# Broken packages
|
||||
if [[ -z "$(sudo dpkg --audit)" ]]; then
|
||||
pass "dpkg audit"
|
||||
else
|
||||
fail "dpkg audit"
|
||||
fi
|
||||
|
||||
# GNOME initial setup executable removed
|
||||
if [[ ! -x /usr/libexec/gnome-initial-setup ]]; then
|
||||
pass "GNOME initial setup executable is absent"
|
||||
else
|
||||
fail "/usr/libexec/gnome-initial-setup exists. There might be a welcome window popup"
|
||||
fi
|
||||
|
||||
# Summary
|
||||
echo
|
||||
if (( failures == 0 )); then
|
||||
echo "All conf checks passed."
|
||||
else
|
||||
echo "${failures} check(s) failed."
|
||||
# exit 1
|
||||
fi
|
||||
@@ -80,9 +80,7 @@
|
||||
* Activate Windows
|
||||
|
||||
# Next
|
||||
Install Visual Studio
|
||||
- Install individual components (see the msvc20xx.txt files)
|
||||
- Open Visual Studio IDE -> Help -> About -> Check license status: Add 'ci_msvs' account to Visual Studio
|
||||
Install Visual Studio 2022 by following msvc2022.txt
|
||||
|
||||
Proceed to install pre-provisioning scripts manually to Tier1 image
|
||||
* Copying scripts happens easiest via Remote Desktop
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
### Visual Studio 2026 Official release ###
|
||||
This Visual Studio 2026 version 18.5.1 sets (Latest MSVC) version as: 19.50.35729.0
|
||||
|
||||
Installed Components:
|
||||
|
||||
.NET 10.0 Runtime (LTS)
|
||||
.NET Framework 4.6.1 targeting pack
|
||||
.NET Framework 4.7.2 targeting pack
|
||||
.NET Framework 4.8 SDK
|
||||
.NET Framework 4.8.1 SDK
|
||||
.NET Framework 4.8.1 targeting pack
|
||||
.NET Native
|
||||
.NET Portable Library targeting pack
|
||||
.NET SDK
|
||||
.NET profiling tools
|
||||
Razor Language Services
|
||||
|
||||
CLR data types for SQL Sever
|
||||
Data sources for SQL Server support
|
||||
SQL Server Command Line Utilities
|
||||
SQL Server Data Tools
|
||||
SQL Server Express 2019 LocalDB
|
||||
SQL Server ODBC Driver
|
||||
ClickOnce Publishing
|
||||
Developer Analytics tools
|
||||
NuGet package manager
|
||||
Text Template Transformation
|
||||
|
||||
C++ Cmake tools for Windows
|
||||
C++/CLI support (Latest MSVC)
|
||||
MSBuild
|
||||
MSVC Build Tools for ARM64/ARM64EC (Latest)
|
||||
MSVC Build Tools for x64/x86 (Latest)
|
||||
C++ ATL for ARM64/ARM64EC (Latest MSVC)
|
||||
C++ ATL for x64/x86 (Latest MSVC)
|
||||
C++ profiling tools
|
||||
C++ core features
|
||||
Windows Universal C Runtime
|
||||
|
||||
JavaScript diagnostics
|
||||
JavaSript and TypeScript language support
|
||||
TypeScript Server
|
||||
|
||||
Just-In-Time debugger
|
||||
Image and 3D model editors
|
||||
|
||||
C# and Visual Basic Roslyn compilers
|
||||
C# and Visual Basic
|
||||
|
||||
Windows 11 SDK (10.0.26100.7705) # Older Windows SDK versions were deleted
|
||||
|
||||
# NOTE! Work loads were added during installation!
|
||||
|
||||
############################################################
|
||||
### Visual Studio 2026 build tools ###
|
||||
|
||||
Visual Studio 2026 build tools version 18.5.1 was installed manually using installer:
|
||||
"https://aka.ms/vs/stable/vs_BuildTools.exe"
|
||||
* Only default installation, no additional selections
|
||||
|
||||
############################################################
|
||||
### Debugging tools ###
|
||||
|
||||
* Check that debugging tools are installed in Windows SDK
|
||||
* Modify 'Windows Software Development Kit' from Add or remove programs
|
||||
- Add feature 'Debugging Tools for Windows'
|
||||
############################################################
|
||||
@@ -116,8 +116,7 @@ Reboot
|
||||
* Install R3 GlobalSign Root Certificate (QTQAINFRA-6473)
|
||||
|
||||
* Install Visual Studio
|
||||
- Install individual components (see the msvc20xx.txt file)
|
||||
- Open Visual Studio: Add 'ci_msvs' account to Visual Studio
|
||||
- Install msvc2022 (see the msvc2022.txt file)
|
||||
- Open Task Scheduler: Task Scheduler Library > Microsoft > VisualStudio > Updates > right-click: BackgroundDownload > disable
|
||||
|
||||
# VII part: Clear out extra processes and storage
|
||||
|
||||
@@ -1,76 +0,0 @@
|
||||
### Visual Studio 2026 Official release ###
|
||||
Visual Studio 2026 version 18.0.2 was installed manually using installer:
|
||||
http://ci-files01-hki.ci.qt.io/input/windows/VisualStudioSetup_msvc2026_1450.exe
|
||||
This VS installer 18.0.2 version sets (Latest MSVC) version as: 14.50
|
||||
|
||||
Installed Components:
|
||||
|
||||
.NET 10.0 Runtime (LTS)
|
||||
.NET Framework 4.7.2 targeting pack
|
||||
.NET Framework 4.8 SDK
|
||||
.NET Framework 4.8.1 SDK
|
||||
.NET Framework 4.8.1 targeting pack
|
||||
.NET Native
|
||||
.NET Portable Library targeting pack
|
||||
.NET SDK
|
||||
.NET profiling tools
|
||||
Razor Language Services
|
||||
|
||||
CLR data types for SQL Sever
|
||||
Connectivity and publishing tools
|
||||
Data sources for SQL Server support
|
||||
SQL Server Command Line Utilities
|
||||
SQL Server Data Tools
|
||||
SQL Server Express 2019 LocalDB
|
||||
SQL Server ODBC Driver
|
||||
ClickOnce Publishing
|
||||
Developer Analytics tools
|
||||
NuGet package manager
|
||||
Text Template Transformation
|
||||
|
||||
C++ Cmake tools for Windows
|
||||
C++/CLI support (Latest MSVC)
|
||||
MSBuild
|
||||
MSVC Build Tools for ARM64/ARM64EC (Latest)
|
||||
MSVC Build Tools for x64/x86 (Latest)
|
||||
C++ ATL for ARM64/ARM64EC (Latest MSVC)
|
||||
C++ ATL for x64/x86 (Latest MSVC)
|
||||
C++ profiling tools
|
||||
C++ core features
|
||||
Windows Universal C Runtime
|
||||
|
||||
JavaScript diagnostics
|
||||
JavaSript and TypeScript language support
|
||||
TypeScript Server
|
||||
|
||||
Just-In-Time debugger
|
||||
Graphics debugger and GPU profiler for DirectX
|
||||
Image and 3D model editors
|
||||
|
||||
C# and Visual Basic Roslyn compilers
|
||||
C# and Visual Basic
|
||||
|
||||
Windows 11 SDK (10.0.26100.6901)
|
||||
|
||||
# NOTE! Work loads were added during installation!
|
||||
|
||||
############################################################
|
||||
### Visual Studio 2026 build tools ###
|
||||
|
||||
Visual studio 2026 build tools version 18.0.2 was installed manually using installer:
|
||||
"http://ci-files01-hki.ci.qt.io/input/windows/vs_BuildTools_msvc2026.exe"
|
||||
* Only default installation, no additional selections
|
||||
|
||||
############################################################
|
||||
### Debugging tools ###
|
||||
|
||||
* Check that debugging tools are installed in Windows SDK
|
||||
* Modify 'Windows Software Development Kit' from Add or remove programs
|
||||
- Add feature 'Debugging Tools for Windows'
|
||||
############################################################
|
||||
|
||||
Visual Studio 2026 and build tools was later updated to 18.3.1 in VS installer.
|
||||
This automatically updated components to:
|
||||
- MSVC v14.50.35719
|
||||
- Windows 11 SDK (10.0.26100.7705)
|
||||
- .NET SDK (10.0.103)
|
||||
@@ -0,0 +1,10 @@
|
||||
*.iml
|
||||
.gradle
|
||||
.idea
|
||||
/local.properties
|
||||
.DS_Store
|
||||
/build
|
||||
/captures
|
||||
.externalNativeBuild
|
||||
.cxx
|
||||
local.properties
|
||||
@@ -0,0 +1,25 @@
|
||||
# Android Gradle Project for COIN
|
||||
|
||||
This project is used to at provisioning time to do an Android Gradle build that
|
||||
will download Gradle binaries and AGP dependencies, then they will be cached
|
||||
allowing consecutive builds, i.e. at test runs to not redownload the Gradle
|
||||
binaries which tend to run into network issues and thus improving the
|
||||
reliability of the Android integrations on COIN.
|
||||
|
||||
The project is a basic empty views Android project that can be created by
|
||||
Android Studio, it's Java based. Below is some extra details on relevant files
|
||||
that might need updates in the future:
|
||||
|
||||
- settings.gradle: mainly sets the the project name
|
||||
- under app/src/main/ res/layout/activity_main.xml and src/*/*.java: sets the
|
||||
layout and logic of the app, this shouldn't need to be touched.
|
||||
- AndroidManifest.xml / app/build.gradle: Sets project settings like target version.
|
||||
- gradle/libs.versions.toml: This sets the version numbers of various dependencies.
|
||||
- feature/: an on-demand dynamic feature module, it caches the
|
||||
com.android.dynamic-feature plugin and the Play feature delivery library
|
||||
used by the Feature Delivery tests.
|
||||
- build.gradle: also declares org.qtproject.qt.gradleplugin to cache the Qt
|
||||
Gradle Plugin used by Qt for Android Studio projects.
|
||||
|
||||
Other files required for the project build are gradle wrapper and scripts which
|
||||
are fetched by android_linux.sh from qtbase.
|
||||
@@ -0,0 +1 @@
|
||||
/build
|
||||
@@ -0,0 +1,30 @@
|
||||
plugins {
|
||||
alias(libs.plugins.androidApplication)
|
||||
}
|
||||
|
||||
android {
|
||||
namespace 'com.example.gradle_project'
|
||||
compileSdk 36
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.example.gradle_project"
|
||||
minSdk 28
|
||||
targetSdk 36
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_17
|
||||
targetCompatibility JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
dynamicFeatures = [':feature']
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation libs.core
|
||||
implementation libs.appcompat
|
||||
implementation libs.material
|
||||
implementation libs.play.feature.delivery
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:label="gradle_project"
|
||||
android:supportsRtl="true"
|
||||
tools:targetApi="36">
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
// Copyright (C) 2023 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
package com.example.gradle_project;
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
public class MainActivity extends AppCompatActivity {
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_main);
|
||||
}
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".MainActivity">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Hello World!"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -0,0 +1,6 @@
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
plugins {
|
||||
alias(libs.plugins.androidApplication) apply false
|
||||
alias(libs.plugins.androidDynamicFeature) apply false
|
||||
alias(libs.plugins.qtGradlePlugin) apply false
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
plugins {
|
||||
alias(libs.plugins.androidDynamicFeature)
|
||||
}
|
||||
|
||||
android {
|
||||
namespace 'com.example.gradle_project.feature'
|
||||
compileSdk 36
|
||||
|
||||
defaultConfig {
|
||||
minSdk 28
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(':app')
|
||||
implementation libs.play.feature.delivery
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package com.example.gradle_project.feature;
|
||||
|
||||
public class Feature {
|
||||
public static String hello() {
|
||||
return "hello";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
[versions]
|
||||
agp = "9.0.0"
|
||||
core = "1.17.0"
|
||||
appcompat = "1.7.1"
|
||||
material = "1.13.0"
|
||||
constraintlayout = "2.2.1"
|
||||
play-feature-delivery = "2.1.0"
|
||||
qt-gradle-plugin = "1.4"
|
||||
|
||||
[libraries]
|
||||
core = { group = 'androidx.core', name = "core", version.ref = "core" }
|
||||
appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
|
||||
material = { group = "com.google.android.material", name = "material", version.ref = "material" }
|
||||
constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintlayout" }
|
||||
play-feature-delivery = { module = "com.google.android.play:feature-delivery", version.ref = "play-feature-delivery" }
|
||||
|
||||
[plugins]
|
||||
androidApplication = { id = "com.android.application", version.ref = "agp" }
|
||||
androidDynamicFeature = { id = "com.android.dynamic-feature", version.ref = "agp" }
|
||||
qtGradlePlugin = { id = "org.qtproject.qt.gradleplugin", version.ref = "qt-gradle-plugin" }
|
||||
|
||||
[bundles]
|
||||
+2
-2
@@ -13,5 +13,5 @@ dependencyResolutionManagement {
|
||||
}
|
||||
}
|
||||
|
||||
rootProject.name = 'gradlecache'
|
||||
include ':app', ':lib', ':feature'
|
||||
rootProject.name = "gradle_project"
|
||||
include ':app', ':feature'
|
||||
@@ -25,8 +25,8 @@ basePath="http://ci-files01-hki.ci.qt.io/input/android"
|
||||
toolsVersion="19.0"
|
||||
toolsFile="commandlinetools-linux-13114758_latest.zip"
|
||||
toolsBackupUrl="https://dl.google.com/android/repository/$toolsFile"
|
||||
sdkBuildToolsVersion="37.0.0"
|
||||
sdkApiLevel="android-37.0"
|
||||
sdkBuildToolsVersion="36.0.0"
|
||||
sdkApiLevel="android-36"
|
||||
toolsSha1="5fdcc763663eefb86a5b8879697aa6088b041e70"
|
||||
|
||||
ndkVersionLatest="r27c"
|
||||
@@ -161,13 +161,12 @@ cd "$sdkTargetFolder/cmdline-tools/tools/bin"
|
||||
./sdkmanager --install "emulator" --sdk_root="$sdkTargetFolder" \
|
||||
| eval "$sdkmanager_no_progress_bar_cmd"
|
||||
|
||||
echo "Download and unzip Android Emulator version 36.6.11"
|
||||
# See https://developer.android.com/studio/emulator_archive
|
||||
emulatorFileName="emulator-linux_x64-15507667.zip"
|
||||
echo "Download and unzip Android Emulator version 35.2.10"
|
||||
emulatorFileName="emulator-linux_x64-12414864.zip"
|
||||
emulatorCiUrl="https://ci-files01-hki.ci.qt.io/input/android/$emulatorFileName"
|
||||
emulatorUrl="http://dl.google.com/android/repository/$emulatorFileName"
|
||||
emulatorTargetFile="$sdkTargetFolder/$emulatorFileName"
|
||||
emulatorSha1="f8d8b83cf21a04966326eb1378bacda255f63b93"
|
||||
emulatorSha1="41dd213d120f727d8c3840347d234b135793ba10"
|
||||
DownloadURL "$emulatorCiUrl" "$emulatorUrl" "$emulatorSha1" "$emulatorTargetFile"
|
||||
echo "Unzipping the Android Emulator to '$sdkTargetFolder'"
|
||||
sudo unzip -o -q "$emulatorTargetFile" -d "$sdkTargetFolder"
|
||||
@@ -203,21 +202,21 @@ echo "Unzipping the Android 16 to $maxVersionDestination"
|
||||
sudo unzip -o -q "$maxVersionFilePath" -d "$maxVersionDestination"
|
||||
rm "$maxVersionFilePath"
|
||||
|
||||
echo "Download and unzip Android 17 (16KB Page Size) System Image"
|
||||
insignificantMaxVersionFileName="x86_64-ps16k-37.1_r07.zip"
|
||||
echo "Download and unzip Android 17 Beta 3 16KB System Image"
|
||||
insignificantMaxVersionFileName="x86_64-ps16k-37.0_r03.zip"
|
||||
insignificantMaxVersionDestination="$sdkTargetFolder/system-images/android-37/google_apis_ps16k/"
|
||||
insignificantMaxVersionFilePath="$insignificantMaxVersionDestination/$insignificantMaxVersionFileName"
|
||||
insignificantMaxVersionCiUrl="$basePath/system_images/google_apis/$insignificantMaxVersionFileName"
|
||||
insignificantMaxVersionUrl="https://dl.google.com/android/repository/sys-img/google_apis/$insignificantMaxVersionFileName"
|
||||
insignificantMaxVersionSha1="88e208a83a5f0b18958275b7c1a047e931395f3f"
|
||||
insignificantMaxVersionSha1="b89a6686f9a9e9942d596bed45d422cbccb70c98"
|
||||
|
||||
mkdir -p "$insignificantMaxVersionDestination"
|
||||
DownloadURL "$insignificantMaxVersionCiUrl" "$insignificantMaxVersionUrl" "$insignificantMaxVersionSha1" "$insignificantMaxVersionFilePath"
|
||||
|
||||
echo "Unzipping the Android 17 (16KB Page Size) to $insignificantMaxVersionDestination"
|
||||
echo "Unzipping the Android 17 Beta3 16KB to $insignificantMaxVersionDestination"
|
||||
sudo unzip -o -q "$insignificantMaxVersionFilePath" -d "$insignificantMaxVersionDestination"
|
||||
# Hack to avoid SDK version bug in source.properties file, the usage of ".0" messes things for avdmanager. TODO: undo when official comes
|
||||
sudo sed -i 's/AndroidVersion.ApiLevel=37.1/AndroidVersion.ApiLevel=37/g' "$insignificantMaxVersionDestination/x86_64/source.properties"
|
||||
sudo sed -i 's/AndroidVersion.ApiLevel=37.0/AndroidVersion.ApiLevel=37/g' "$insignificantMaxVersionDestination/x86_64/source.properties"
|
||||
rm "$insignificantMaxVersionFilePath"
|
||||
|
||||
echo "Checking the contents of Android SDK again..."
|
||||
@@ -230,7 +229,7 @@ echo "no" | ./avdmanager create avd -n emulator_x86_64_api_36 -c 2048M -f \
|
||||
-k "system-images;android-36;google_apis;x86_64"
|
||||
|
||||
echo "no" | ./avdmanager create avd -n emulator_x86_64_api_37 -c 2048M -f \
|
||||
-k "system-images;android-37;google_apis,page_size_16kb;x86_64"
|
||||
-k "system-images;android-37;google_apis,page_size_16kb,ai_glasses_compatible;x86_64"
|
||||
|
||||
echo "Install maximum supported SDK level image for Android Automotive $sdkApiLevelAutomotiveMax"
|
||||
DownloadURL "$androidAutomotiveMaxUrl" "$androidAutomotiveMaxUrl" "$androidAutomotiveMaxSha" \
|
||||
@@ -259,3 +258,19 @@ SetEnvVar "ANDROID_EMULATOR_RUNNER" "$ANDROID_EMULATOR_RUNNER"
|
||||
SetEnvVar "PATH" "\$PATH:$sdkTargetFolder/emulator"
|
||||
SetEnvVar "PATH" "\$PATH:$sdkTargetFolder/platform-tools"
|
||||
SetEnvVar "PATH" "\$PATH:$sdkTargetFolder/cmdline-tools/latest/bin"
|
||||
|
||||
# Gradle Caching
|
||||
cp -r "${scripts_dir_name}/android/gradle_project" /tmp/gradle_project
|
||||
cd /tmp/gradle_project
|
||||
# Get Gradle files from qtbase
|
||||
qtbaseGradleUrl="https://code.qt.io/cgit/qt/qtbase.git/plain/src/3rdparty/gradle"
|
||||
commit_sha="269a75dbd1262a714eb238c42e5159a0a8979818"
|
||||
curl "$qtbaseGradleUrl/gradle.properties?h=$commit_sha" > gradle.properties
|
||||
curl "$qtbaseGradleUrl/gradlew?h=$commit_sha" > gradlew
|
||||
curl "$qtbaseGradleUrl/gradlew.bat?h=$commit_sha" > gradlew.bat
|
||||
mkdir -p gradle/wrapper
|
||||
curl "$qtbaseGradleUrl/gradle/wrapper/gradle-wrapper.jar?h=$commit_sha" > gradle/wrapper/gradle-wrapper.jar
|
||||
curl "$qtbaseGradleUrl/gradle/wrapper/gradle-wrapper.properties?h=$commit_sha" > gradle/wrapper/gradle-wrapper.properties
|
||||
# Run Gradle
|
||||
chmod +x gradlew
|
||||
ANDROID_SDK_ROOT="$sdkTargetFolder" sh gradlew build
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
"Project": {
|
||||
"Git": {
|
||||
"_active": true,
|
||||
"author_format": "<(.*)>",
|
||||
"author_line": "author-mail",
|
||||
"sourceserver_gitdir": "/data/axivion/databases/$(env:TESTED_MODULE_COIN).git",
|
||||
"sourceserver_remote_url": "ssh://codereview.qt-project.org:29418/qt/$(env:TESTED_MODULE_COIN)"
|
||||
@@ -14,6 +13,11 @@
|
||||
"directory": "../work/qt/$(env:TESTED_MODULE_COIN)",
|
||||
"ir": "$(env:IRNAME)",
|
||||
"name": "qt_$(env:PACKAGE)_$(env:MODULE)_$(env:TESTED_MODULE_BRANCH_COIN)_$(env:TARGET_OS_COIN)"
|
||||
},
|
||||
"VCSIntegration": {
|
||||
"vcs_mapping": {
|
||||
"vcs_account_callback": "dsquery * forestroot -filter \"(&(objectCategory=Person)(mail=%1)) -attr sAMAccountName -l"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Results": {
|
||||
|
||||
@@ -54,13 +54,13 @@
|
||||
"_active": true
|
||||
},
|
||||
"Qt-CtorMissingParentArgument": {
|
||||
"_active": false
|
||||
"_active": true
|
||||
},
|
||||
"Qt-DetachingTemporary": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-FullyQualifiedMocTypes": {
|
||||
"_active": false
|
||||
"_active": true
|
||||
},
|
||||
"Qt-FunctionArgsByValueRef": {
|
||||
"_active": false
|
||||
@@ -72,13 +72,13 @@
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-InitializeAllFieldsInConstructor": {
|
||||
"_active": false
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-MissingBaseCopy": {
|
||||
"_active": false
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-MissingIncludeGuard": {
|
||||
"_active": false
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-MissingTrCall": {
|
||||
"_active": true
|
||||
@@ -87,7 +87,7 @@
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-NoFunctionDefinitionInHeader": {
|
||||
"_active": false
|
||||
"_active": true
|
||||
},
|
||||
"Qt-Generic-NoIrregularInclude": {
|
||||
"_active": true
|
||||
@@ -117,7 +117,7 @@
|
||||
"_active": true
|
||||
},
|
||||
"Qt-IncorrectEmit": {
|
||||
"_active": false
|
||||
"_active": true
|
||||
},
|
||||
"Qt-InstallEventFilter": {
|
||||
"_active": true
|
||||
@@ -132,16 +132,16 @@
|
||||
"_active": true
|
||||
},
|
||||
"Qt-MissingQObjectMacro": {
|
||||
"_active": false
|
||||
"_active": true
|
||||
},
|
||||
"Qt-MutableContainerKey": {
|
||||
"_active": true
|
||||
},
|
||||
"Qt-NonPodGlobalStatic": {
|
||||
"_active": false
|
||||
"_active": true
|
||||
},
|
||||
"Qt-OldStyleConnect": {
|
||||
"_active": false
|
||||
"_active": true
|
||||
},
|
||||
"Qt-OverloadedSignal": {
|
||||
"_active": true
|
||||
@@ -165,7 +165,7 @@
|
||||
"_active": true
|
||||
},
|
||||
"Qt-QPropertyWithoutNotify": {
|
||||
"_active": false
|
||||
"_active": true
|
||||
},
|
||||
"Qt-QStringArg": {
|
||||
"_active": true
|
||||
@@ -189,7 +189,7 @@
|
||||
"_active": true
|
||||
},
|
||||
"Qt-RuleOfThree": {
|
||||
"_active": false
|
||||
"_active": true
|
||||
},
|
||||
"Qt-RuleOfTwoSoft": {
|
||||
"_active": true
|
||||
@@ -252,7 +252,7 @@
|
||||
"_active": true
|
||||
},
|
||||
"Qt-StrictIterators": {
|
||||
"_active": false
|
||||
"_active": true
|
||||
},
|
||||
"Qt-TemporaryIterator": {
|
||||
"_active": true
|
||||
|
||||
@@ -9,11 +9,11 @@ source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||
# shellcheck source=../unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||
|
||||
majorminorversion="3.25"
|
||||
version="3.25.3"
|
||||
majorminorversion="3.22"
|
||||
version="3.22.6"
|
||||
PrimaryUrl="http://ci-files01-hki.ci.qt.io/input/cmake/cmake-$version-linux-x86_64.tar.gz"
|
||||
AltUrl="https://cmake.org/files/v$majorminorversion/cmake-$version-linux-x86_64.tar.gz"
|
||||
SHA1="725efa8d2b388beaef9eaca190b662f33e6c186d"
|
||||
SHA1="4a5ba17568d108d295719850dd584e775583f61b"
|
||||
targetFolder="/opt/cmake-$version"
|
||||
appPrefix="cmake-$version-linux-x86_64"
|
||||
|
||||
|
||||
@@ -11,12 +11,8 @@ PROVISIONING_DIR="$(dirname "$0")/../.."
|
||||
# shellcheck source=../unix/common.sourced.sh
|
||||
source "$PROVISIONING_DIR/common/unix/common.sourced.sh"
|
||||
|
||||
if [ -f /usr/lib/sysctl.d/55-ptrace.conf ]; then
|
||||
f="/usr/lib/sysctl.d/55-ptrace.conf" # New location in Ubuntu 26.04
|
||||
else
|
||||
f="/etc/sysctl.d/10-ptrace.conf"
|
||||
fi
|
||||
|
||||
f="/etc/sysctl.d/10-ptrace.conf"
|
||||
if [ -f $f ]
|
||||
then
|
||||
echo "Modifying $f ..."
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user