Commit Graph

83 Commits

Author SHA1 Message Date
Samuli Piippo
fbaed93d8b Add separate recipes for Qt module examples
Building Qt examples as part of the module build is no longer
recommended and results in missing files in some of the examples.
Add separate recipes for each Qt module that has examples.

Don't package sources with the examples, but set debug mapping
to the module's source path.

Qt module examples are mainly available with BSD-3-Clause license,
regardless of licenses that the modules themselves are using.

Since qtdoc module has only examples, remove the module recipe.

Fixes: QTBUG-136651
Change-Id: Ic8f8c579a28b9a1369f8463f725574b0c67a896a
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2025-08-27 12:04:04 +00:00
Samuli Piippo
f9334e6ae4 coin: run yocto-check-layer as part of CI
Use yocto-check-layer to verify compatibility to Yocto project.

Task-number: QTBUG-138741
Change-Id: I4189f8c5053665919e852eadd7fc515b5568256d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-08-19 13:34:18 +00:00
Samuli Piippo
25a38f8334 coin: disable bubblewrap for static build
qtapplicationmanager's bubblewrap feature cannot be enabled with static build.

Change-Id: I42c8d5c18c753a9801d8edbd3ea53354c302134c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-07-07 15:53:10 +00:00
Samuli Piippo
727ab37d82 qtimageformats: enable all formats
Enable all available image formats by default.

Change-Id: I8bcecb77d35b26c8a74202c7bd3be34d9fc93b21
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-06-12 12:11:21 +00:00
Samuli Piippo
2726f553e6 coin: drop kirkstone builds
No support for kirkstone builds.

Change-Id: I73c150cfad9e5cda011d39ed9496a1c40367da2c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-06-12 12:11:07 +00:00
Samuli Piippo
aece381085 coin: add CI build for walnascar
Add separate CI build for Yocto 5.2 Walnascar release.

Pick-to: 6.9 6.8
Change-Id: Ibf04ed1db18516c2965153b17b07b3fad922eb79
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-04-07 11:44:33 +00:00
Samuli Piippo
5f983220c2 coin: don't use gold
oe-core/master has dropped support for ld-is-gold, don't use it
in CI test builds anymore.

Pick-to: 6.9 6.8
Change-Id: I9c21060b8c7ac8234104737357aa5901be79073c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-02-11 15:30:00 +00:00
Samuli Piippo
76cbb93c22 coin: use internal mirror of git-repo
Cloning from github have been failing recently, use internal
mirror of google's git-repo instead.

Pick-to: 6.9 6.8 6.5
Change-Id: I3983812c59be601632c3e27b6aab00c0e09ce037
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-01-31 15:51:06 +02:00
Samuli Piippo
abdf375a2e coin: add workaround for clang build
Add workaround until fixed in upstream:
nativesdk-liblldb contains reference to TMPDIR [buildpaths]

Pick-to: 6.8
Change-Id: Ie0c68644141fd0544e95895f67b031186a296a6a
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-10-18 12:48:47 +00:00
Samuli Piippo
aec6f0103f coin: build against styhead
Nanbield is EOL, switch the build to Yocto 5.1 styhead.

Task-number: QTBUG-128570
Pick-to: 6.8
Change-Id: Ie655e9a1dbfe0f806815c1d6951c01f262efb5a1
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-10-18 12:48:41 +00:00
Samuli Piippo
e055954304 coin: use more memory for the ptest testimage
More memory is needed for the testimage that runs Qt ptests.

Change-Id: I28f186cfae847261a5ae2b47091900da446c61dd
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-05-22 10:17:55 +00:00
Samuli Piippo
de4eb1843d coin: switch one build to scarthgap
Start testing against Yocto scarthgap release.

Pick-to: 6.7
Change-Id: I70de9b7a3fce7c3c062b381533af8d86a70660f7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-04-11 08:59:49 +03:00
Samuli Piippo
7e79a5e31a coin: don't use nanbield for mingw builds
Nanbield still has problems with mingw builds and fixes might
not get in before it is EOL.

Pick-to: 6.7
Change-Id: I56ee0c52269e2887a60c73049cb0d9deac11247c
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-04-11 08:59:44 +03:00
Samuli Piippo
564f560b50 coin: update build targets
Add 6.7 to test matrix and reshulffle the build targets.
mickledore is EOL, drop it from active testing.

Pick-to: 6.7
Change-Id: Ia371a06c10b3f66956227d5d7c0357cb83097f87
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-01-30 08:13:20 +02:00
Samuli Piippo
5658c882ff coin: add test config for build ptest image
Include file that can be used to create test image with
all Qt ptest packages included.

Change-Id: I9f618a3d380b4d0f3bb4d650d114f29aeffc857c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-11-17 09:05:50 +00:00
Samuli Piippo
550194a77a coin: add CI build for nanbield
Add separate build for nanbield. Update readme for the supported
branches. Next Yocto release (scarthgap) will be LTS relase,
aim to support it from Qt 6.5 upwards.

Pick-to: 6.6 6.5
Change-Id: I37141b4d2a93fc6b276de906dbb7ba60b2733c41
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-11-14 07:52:47 +00:00
Mikko Gronoff
c7ce220082 coin: Add workaround for static build in CI
After 35cb20a3556a6987d31090cdc3f77126efceaab0 landed in
qtapplicationmanager we need to disable multi-process pkgconfig in static build to fix build issue:

"ERROR: Feature "am_multi_process": Forcing to "ON" breaks its condition"

Change-Id: Idd901baf72236db2a21c25d5b6a905c1246e0c6a
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit b2ae9232f6)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-22 13:03:40 +00:00
Samuli Piippo
30dfd502b3 coin: remove langdale from CI tests
Langdale is now EOL, stop testing Qt against it.

Pick-to: 6.6 6.5
Change-Id: Idba5e353ef3ec484e088fe831ed59f54d70b3acf
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-22 13:03:22 +00:00
Samuli Piippo
b06c0b1d69 Drop support for older Yocto releases
Kirkstone will be the oldests Yocto release supported by Qt 6.7.
Qt 6.7 will be released in spring 2024, at which point Dunfell
will be EOL.

Change-Id: I8fee78d4d75401a502762e4b28987a07bfdd1af4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Tommi Mänttäri <tommi.manttari@qt.io>
2023-08-22 13:03:16 +00:00
Samuli Piippo
12f78361ed coin: add workaround for QA warning on qemu
QEMU has QA warning on runtime dependencies which breaks
our CI build since they are treated as errors.

Pick-to: 6.6 6.5
Change-Id: I1f2699d62d556b538da85aa12d8c2ec91483fb0b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-16 22:16:33 +03:00
Samuli Piippo
90226dfc47 coin: use INIT_MANAGER to select systemd
Yocto has INIT_MANAGER variable that can be used to select
the init manager. Use it instead of doing all to separate
changes ourselves.

Pick-to: 6.6 6.5
Change-Id: I8aa31de9116048628a55d630ed3296fac28dfec8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-16 19:16:27 +00:00
Samuli Piippo
8f67afff3f qtbase: add PACKAGECONFIGs for different linkers
Add PACKAGECONFIG options for gold and bfd linkers so that they can
be easily changed independently of the ld-is-gold DISTRO_FEATURE.

For CI builds, drop ld-is-gold feature and instead enable gold only
for Qt modules.

Pick-to: 6.5
Change-Id: I63e3835f15c732f57740b6718245e4f45ddb6c8c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-05-29 17:07:17 +00:00
Samuli Piippo
651610f42f Coin: use correct path for mirror
Pick-to: 6.5 6.2
Change-Id: I878122ac5a34aaf464bb4190e3307793c53eabba
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-05-29 07:38:25 +03:00
Samuli Piippo
7931febe45 coin: test against mickledore
Add testing against Yocto 4.2 mickledore.

Pick-to: 6.5
Change-Id: If69b95726e858849470ed433235916811501aed8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-04-20 13:17:16 +00:00
Samuli Piippo
4d5ed9e090 Add recipe for Qt Graphs
Qt Graphs for data visualization will be replacement for Qt Datavis 3D.

Fixes: QTBUG-112806
Change-Id: I63e5c746a1e79c14a7e203800d60401497e5bb0d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-04-19 10:20:30 +00:00
Samuli Piippo
a55215df48 coin: be explicit about accepted commercial licenses
Dunfell is only branch that still uses the old whitelist variable.
Rename the include file and be specific what commercial recipes the
build needs. Remove the separate post-inclusive include file and move
the accepted commercial license variable to common include file.

Pick-to: 6.5
Change-Id: Ic80b42d71037637298c805a60f20c8737f00b026
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-03-22 14:02:58 +00:00
Samuli Piippo
61f984c49d Coin: fetch repo from github
Git clones from google fail frequently with:
   >> fatal: early EOF
   >> error: index-pack died
Switch to using github mirror for the git-repo repository.

Pick-to: 6.5 6.5.0 6.4 6.4.3 6.2
Change-Id: Id0cbf3c59e50869d62880e56251b003490c4c1ee
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-03-09 11:16:50 +00:00
Samuli Piippo
a162d8c5a6 coin: always use the latest platforms for CI build
Change the CI dependencies so that we always get the VM configurations
from the qt5.git dev branch. This makes sure that all Yocto builds,
regardless of the Qt version, are using the same host VM version.

Pick-to: 6.5 6.4 6.2
Change-Id: Iceb5ca006b8d83ed636d59566a115d64d3919e38
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-02-14 11:27:40 +00:00
Samuli Piippo
56710e8724 Add recipe for QtInsightTracker
QtInsightTracker is a commercial-only module.

Task-number: ANALYTICS-237
Task-number: QTBUG-108568
Pick-to: 6.5
Change-Id: I30412dec8552898b76865402c2e2ccfcae8d1904
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-01-16 16:12:21 +00:00
Samuli Piippo
918cb5b310 Coin: don't use zip format for mingw sdk
Zip doesn't handle symlinks correctly and sdk won't work.

Pick-to: 6.5 6.4 6.2
Change-Id: Id57cef766f708d714919994ea947701fcc83089a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-12-14 11:38:54 +00:00
Samuli Piippo
6db104bd29 Add recipe for QtgRPC
QtgRPC module is Providing protobuf and gRPC support for Qt.

Cannot include nativesdk-qtgrpc in the sdk yet, since it requires
fix to protobuf recipe in meta-openembedded.

Task-number: QTBUG-107921
Change-Id: Ie5ef1b493b1b5550c7b7f308a638c9855342dfa5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-11-24 12:20:31 +00:00
Samuli Piippo
fb725ebed9 Add recipe for QtLocation
QtLocation is back in Qt 6.5.

Task-number: QTBUG-108731
Change-Id: Id86ade02040d626ecadb6c35f173b3be25f02e97
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2022-11-24 05:53:33 +00:00
Samuli Piippo
0648a0a4ef CI: tests against langdale
Update CI builds to use langdale instead of honister releases.

Pick-to: 6.4
Change-Id: Ib18be53b6d3308d5e4c5a2269b40ce67a4c352ee
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-11-09 13:23:36 +00:00
Samuli Piippo
aa5aa76ef1 qtwebengine: move to 102-based chromium
Latest chromium no longer supports x86 builds.
Enabled spellchecker as build fails without it.

Change-Id: I6f40d48c20a47edbbc958e2f9c25907d05feb5b1
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit c1441fcabc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-10-20 07:19:52 +00:00
Samuli Piippo
85d9d71e27 Coin: enable examples for qtapplicationmanager
Pick-to: 6.4 6.3 6.2
Change-Id: If4065a9b309fafd8e05d018495dedd22be956aa7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-08-09 10:36:34 +00:00
Samuli Piippo
28f932dda7 Add support for QtQuick3DPhysics
QtQuick3D physics engine using NVIDIA PhysX SDK.
PhysX is only supported on x86 and arm architectures.

Task-number: QTBUG-103253
Change-Id: I933f584d7a327da28d9c443ef809b0745af88a47
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-27 06:02:14 +00:00
Samuli Piippo
bde1e30b30 Add support for QtVNCServer
QtVNCServer is a commercial-only module and the source code
is only available for commercial Qt license holders and
requires SSH access to Qt Gerrit.

Task-number: QTBUG-103254
Change-Id: I8b1decb08651e54f59a6b05d3d8f480354cb04df
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-05-24 04:45:59 +00:00
Samuli Piippo
4b59ef89b5 Add support for QtSpeech
QtSpeech is again supported in Qt 6.4.

Task-number: QTBUG-102978
Change-Id: I71234246fc10086be9fa0fdb2f20f00a14674951
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-23 09:50:57 +00:00
Samuli Piippo
94e666417b Add support for QtHttpServer
Task-number: QTBUG-103254
Change-Id: I54e1b0d8d6f6c0dca1bebd220a577824f4dc8b63
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-23 09:50:44 +00:00
Samuli Piippo
7b0817669a Update handling of commercial modules
Add new packagegroup for all commercial-only Qt addon modules and add
new variable QT_COMMERCIAL_MODULES which can be used to control if the
modules are included in the build. The same variable also turns on the
use of Qt QML Compiler. Use common include file for the commercial modules.

Pick-to: 6.3 6.2
Change-Id: I673a06685b44a5f0f5518ae51bc45956432739a4
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-20 13:21:38 +03:00
Samuli Piippo
6a5ae1effb Coin: build examples for all modules
Add example build for the missing modules.
Skip qtapplicationmanager due to QTBUG-101508.

Pick-to: 6.3 6.2
Change-Id: Ib01935ac4314f3b97583f032e09fda2966f17549
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-05 11:29:51 +03:00
Samuli Piippo
a0e53e01e0 coin: use correct domain for yocto-cache
Pick-to: 6.3 6.2
Change-Id: I830bf9bcaabf954c4f25b380731781e557a134b6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-03 10:29:53 +03:00
Samuli Piippo
e6fba93482 coin: rename the shared sstate-cache
Use DISTRO variable in the sstate-cache directory. This lets use
reused the ci configuration in other distro builds as well.

Pick-to: 6.3 6.2
Change-Id: I51ef6cca7fd938046e5b6510087fc4d62f2a4eb3
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-03 10:29:48 +03:00
Samuli Piippo
670a077467 Coin: add CI build for kirkstone
Add CI build using Yocto kirkstone branches and retire hardknott build
in favor of it. Hardknott is EOL on April 2022. Only dev branch will
continue to be tested against Yocto master.

Change-Id: I9aad0e14c1a5054b2e9eab85ec8a2f2d603f6427
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-26 08:09:56 +03:00
Samuli Piippo
9ee589de19 coin: use shared Hash Equivalence server
Use shared Hash Equivalence server together with sstate cache.
The Hash Equivalence server can further improve sstate re-use.

Pick-to: 6.3 6.2
Change-Id: I037b565344942cf99c4992e4ff9769fd47d9c77d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-07 10:55:04 +00:00
Samuli Piippo
ab0d93e29e Coin: add static test build
Build Qt staticially with examples enabled but tests disabled.
We don't want to remove ptest from DISTRO_FEATURE, because that
would cause rebuild of most system components as well.

Pick-to: 6.3 6.2
Change-Id: Ic1181d09951ee5d50b08182600f0664b8859afcc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-03-15 11:19:57 +02:00
Samuli Piippo
2d4825f309 Coin: adapt to variable renaming
In kirkstone, some of the variable have been renamed to
use inclusive language.

Pick-to: 6.3 6.2
Change-Id: Ic03fc3a748ea6a4e3e510040b9cd6b5e038d4662
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-24 09:36:41 +00:00
Samuli Piippo
0708a33ea6 Coin: use include files for configuration
Restructure the Coin build configs so that all configurations
are already in .inc files that can be easily included.

Pick-to: 6.3 6.2
Change-Id: I93d74254804b7d17106a3f08af2973464e669928
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-24 09:36:33 +00:00
Samuli Piippo
688791f03d Coin: use manifest to fetch meta layers
Use manifests to fetch meta layer repositories. This enables
us to easily pin the upstream layers to specific revision if
and when the latest revision gets broken.

Build again against master branch, the manifest is pinned to
working meta-openembedded revision.

Pick-to: 6.3 6.2
Change-Id: I5d217f6932aaf5eaacae8ccbc790ea31aaa27f37
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-02-01 19:18:25 +02:00
Samuli Piippo
3da9ed068a Coin: disable CI build against upstream master
meta-openebedded is currently broken due to nativesdk-python3-cryptography.

Pick-to: 6.3 6.2 6.2.3
Change-Id: I99fa9313c1c8d1196bc09a8755269ecffe75ce56
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-01-20 10:00:19 +02:00