Commit Graph

181 Commits

Author SHA1 Message Date
Samuli Piippo
3db9bb8eef coin: enable examples for all Qt modules
Change-Id: I9ea4d3a639c53040eb412f1f90aa91560f6a9879
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 2eecf07106)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-03-25 11:52:53 +00:00
Samuli Piippo
1f894e96b1 qttranslation: recommend all translation packages
Add RRECOMMENDS for all the dynamic translation packages to the main
qttranslation package to allow easily include all translation files
in the image.

Change-Id: I564d4fe704a8b88e14d94154c3283e58d52ddb21
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 019581cff7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-03-25 11:52:45 +00:00
Samuli Piippo
e08bf2f3d1 Split modules into essentials and addons
Add separate packagegroup recipes for essential and addon
Qt modules and make sure all modules are included in those.
Avoid unnecessary dublication with packagegroups and remove
the toolchain target packagegroup, instead use the combined
qt6-modules packagegroup for the toolchain as well. This will
install all development packages as long as SDKIMAGE_FEATURES
has dev-pkgs enabled.

Cherry-pick updated to contain addons available in 6.1.

Task-number: QTBUG-91902
Change-Id: I574da02ae1632c1e41490a1244398f31eaeeb97b
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit e60fed4f98)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-03-25 13:52:35 +02:00
Mikko Gronoff
876ce1be84 qt6: update submodules
Update to latest content in  Qt 6.1 branch.

Task-number: QTBUG-90009
Change-Id: Id45a5c115d384602649da3f53a91182124edc382
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-03-25 09:40:43 +02:00
Mikko Gronoff
6ff69284c9 Update Qt License Agreement 4.2.1 -> 4.3
Update The-Qt-Company-Commercial license 4.2.1 -> 4.3.

Task-number: QTBUG-72434
Change-Id: I6a80b9f1f709d9f78f47a5ac78f9644734e835d6
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit b13445afca)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-03-23 07:11:47 +00:00
Mikko Gronoff
ab33096690 Add hardknott to LAYERSERIES_COMPAT
Change-Id: I07f17e1e63df6e71cf1d4e68f353198093ae6826
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 162d983753)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-03-22 14:41:20 +00:00
Samuli Piippo
73b23fbdf2 Use bindir for tools on Windows SDK
Move all the builttime tools back to bindir when building a Windows
SDK. This saves us from adding mingw libraries to the libexec dir
needed by the tools.

Fixes: QTBUG-91895
Change-Id: I4da0f03190e3862e93c49fbd267baf567bf7a5d5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 212ae9b201)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-03-18 13:52:43 +00:00
Samuli Piippo
00f291eeb8 Add recipe for Qt SCXML
SRCREV updated to latest from 6.1 branch.

Change-Id: I25a4a980b9aff1e15585c8c1bba4459e74fa266f
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
(cherry picked from commit 67c94eee72)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-03-17 15:18:41 +02:00
Samuli Piippo
f7df314eb4 sdk: copy qt.conf to libexec dir
Some of the tools have been moved to libexec dir and need to have
the qt.conf available there as well. Amend also commit
381dcb985d so that qt.conf in the SDK
contains the path for the host libexecdir.

Task-number: QTBUG-91756
Change-Id: Id76b603d1107dd70c63be7682007e4c34621750a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit f55ee894d0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-03-16 10:33:41 +00:00
Mikko Gronoff
404b4adf08 qt6: update submodules
Update to new proposed Qt 6.1.0-beta2 (previous snapshot
was not final beta2).
(Amends commit db9e6b5a61)

Task-number: QTBUG-90009
Change-Id: I167a6dcfbdd1d9ad735ad52c3ef9abbb50b4c068
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-03-15 20:46:11 +02:00
Samuli Piippo
9591f94ae4 qmake: fix example PACKAGECONCIG for qmake projects
The default PACKAGECONFIG[examples] only works for cmake projects,
add correct arguments when using qmake projects. Skip QA check for
dev libs (.so) in example packages.

Change-Id: I559395f3bfcb64d54e2f8ede4bbdf07c5aa617e9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 1933970950)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-03-12 10:07:18 +00:00
Samuli Piippo
26e49262ad qt6: add support for QT_HOST_LIBEXECS
QMake has new config path for QT_HOST_LIBEXECS that's used for
tools moved from bin to libexec dir.

Change-Id: I7b8ea8c137ce93ff9d9f583eb8e333ab6b16c0bf
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 381dcb985d)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-03-11 10:59:41 +02:00
Mikko Gronoff
db9e6b5a61 qt6: update submodules
Update to Qt 6.1.0-beta2.

Task-number: QTBUG-90009
Change-Id: I6137c4cd49c525cb682acc3282d7b341b6e591e5
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-03-11 10:59:34 +02:00
Samuli Piippo
1cd1f54d17 qtquick3d: update patch
Update patch to remove fuzz.

Change-Id: I4ccd561e09199fe770f91498383d199042c61461
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-03-03 12:56:26 +02:00
Mikko Gronoff
2fe79be30e qtdatavis3d: update revision
Update to Qt 6.1.0-beta1 revision.

Task-number: QTBUG-90009
Change-Id: I4f44e40f432f5b4f7260409204f01daa076f4f96
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2021-02-26 13:02:15 +02:00
Samuli Piippo
c3c0afa9f0 qtbase: remove scripts that cause file-rdeb QA issues
Remove unneeded macOS and Android specific scripts that depend
on perl and bash which then cause file-rdeps QA issues.

Change-Id: I877461fdcffc4fee5b29e929ad8ac2d30a2e980a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit fe0c4887c3)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-02-25 10:14:21 +02:00
Mikko Gronoff
d6e038d573 qt6: update submodules
Update to latest content in Qt 6.1 branch.

Task-number: QTBUG-90009
Change-Id: I6777446c6da27693dcdaa2da87cdf423713577bb
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-02-25 10:14:14 +02:00
Mikko Gronoff
81eee87b14 qtdatavis3d: add recipe
This module is part of Additional Libs from Qt 6.1 onwards.
(6.1 branch revision initially set for 6.1 Alpha release revision)

Change-Id: I5b6b952e555da225a110f8821623a422c9cba772
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 55707395a9)
2021-02-23 13:50:31 +02:00
Mikko Gronoff
0f9801aebe qtlottie: add recipe
This module is part of Additional Libs from Qt 6.1 onwards.
(6.1 branch revision initially set for 6.1 Alpha release revision)

Change-Id: I0f33bad251dd2a77eba469b94561b0284c175ae5
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit cf4dafd3cf)
2021-02-19 07:46:30 +00:00
Samuli Piippo
cf27ea1368 qtbase: remove cmake version override
The minimum required cmake version is now 3.16, no need to
override it anymore.

Change-Id: Id31d5a88e61e0dc4f2a78448482c61a894a59d94
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 7057c72ca9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-02-16 10:45:11 +00:00
Samuli Piippo
2faae9d515 qt6: update submodules
Update to the 6.1 Alpha.

Task-number: QTBUG-90009
Change-Id: Ia7aac87d92197a7981f32ae7758cddfdc4c5d7a2
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-02-15 15:31:41 +02:00
Samuli Piippo
e4624bdb8e Update branch information
Add 6.1 branch information to the CI testing table.

Change-Id: Ibc394287ef6dd89fabfe23a6ea99746804a61507
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit af28e2cec7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-02-12 12:09:22 +00:00
Mikko Gronoff
4ed1c29264 update inherit order in nativesdk-packagegroup-qt6-toolchain-host.bb
fix QA Issue: "nativesdk-packagegroup-qt6-toolchain-host:
native/nativesdk class is not inherited last, this can result in
unexpected behavior"

Pick-to: 6.0
Change-Id: I393865b94d6f37ed815c41155a352b4f6b8b29fe
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-02-10 07:01:30 +00:00
Samuli Piippo
5aa68606d5 qtbase: remove circular dependency
After oe-core commit c4257ed8b1040a5a0e9a95846d81961741239116, the DEPENDS
are not cleared in native packages, which causes qtbase-native to have
a circular dependency.

Fixes: QTBUG-91043
Pick-to: 6.0
Change-Id: Ie741f7d2a71ce00392e34c2d98faa944ac489574
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-02-09 19:05:59 +02:00
Lassi Lehikoinen
426b222a45 device utilities: add recipe
QtDeviceUtilities is part of Qt 6.1 Add-Ons.

Task-number: QTBUG-87956
Change-Id: I1d17a323ce5ec87c6dd81951b960c9495d4d1850
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-01-27 16:05:05 +02:00
Mikko Gronoff
b412b6013f qtquick3d, qt3d: update recipes for new assimp SRC_URI
Assimp submodule has been moved from github to code.qt.io mirror.

Change-Id: I23cb8a24c01e0cd1b805e41bae329351707c374b
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-01-21 15:09:26 +02:00
Samuli Piippo
21c1abd75b Add QMAKE_AR_LTCG
Amend 438c538fd285b33406633574f65dd5045baf8134 with QMAKE_AR_LTCG which
is needed when using LTCG configure option. Cleanup unused variables:
QMAKE_NM has never been used and QMAKE_CFLAGS_ISYSTEM is no longer used.

Pick-to: 6.0
Change-Id: Icdb9ba48f867ff30066d8fda0c223cc3b2be2c2d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-01-20 15:17:55 +02:00
Mikko Gronoff
82f713bc27 virtualkeyboard: update module & recipe
Update to latest revision and remove lipi-toolkit related configs from
recipe as recent change in dev branch remove lipi-toolkit completely
(commit 2dadd235600f748e682a6129beb76e514dc14265: Drop lipi-toolkit)

Task-number: QTBUG-90009
Change-Id: I8a054607e2279c735b45487af5a47212fb6a079a
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-01-19 09:15:40 +02:00
Samuli Piippo
ac8056ef0e Add QMAKE_OBJCOPY and QMAKE_NM to mkspec
Needed to use the correct cross-compiler tools for objcopy and nm.

Fixes: QTBUG-90256
Pick-to: 6.0
Change-Id: I38048033b17d388b86612bc7205c4e22d948be29
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2021-01-18 09:44:52 +02:00
Mikko Gronoff
6fcc09a1e8 qtcharts: add module
QtCharts is part of Qt 6.1 Add-Ons.

Task-number: QTBUG-90009
Change-Id: Id4deeb5be0eb95bb5712a77d8a25aaf71eb25992
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-01-15 08:49:22 +00:00
Mikko Gronoff
8f3ee763a5 qt6: update submodules
Update to latest content in Qt 6.1 (dev) branch.

Task-number: QTBUG-90009
Change-Id: I182c6a2c08856d388243ea1e31fee726fe2faa8a
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-01-15 10:18:54 +02:00
Samuli Piippo
083d1441cb qtbase: enable zstd support with openembedded layer
Enable zstd compression support by default, if meta-oe layer
is included in the build.

Pick-to: 6.0
Change-Id: I343594025c3850dd2bfd54b6a476c3dfec320c57
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-01-14 15:03:33 +02:00
Mikko Gronoff
3d352e7173 qt6: update submodules
Update to latest content in Qt6 dev branch.

Change-Id: I36dfe3b46c0046715b580f4d15ce98da39312db0
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-01-12 09:08:05 +02:00
Samuli Piippo
876480f7ce coin: use unique hostname in CI machines
NFS uses hostname as the client id and doesn't work properly
if more than one VM is using the same hostname. Change to unique
hostname before mounting the cache.

Pick-to: 6.0
Change-Id: I58791d8eecc22589dc39a9e21a3b3a40afdfd905
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-12-31 13:45:59 +02:00
Samuli Piippo
81b5375448 Update to Qt 6.1 from dev branch
Change-Id: I8277f8071bd5378a323ef528fb968965ee3dfefe
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-12-16 10:20:15 +02:00
Mikko Gronoff
aaa3b77573 qt6: update submodules
Update to latest content in Qt 6.0.0 branch.

Change-Id: I378320c1812420975debcb8b9cf572703f6197fb
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2020-12-05 17:22:12 +02:00
Mikko Gronoff
bb03bf6e28 qt6: update submodules
* Update to Qt 6.0.0 RC2
* For non-essential Qt modules, change branch from dev to 6.0.0 where
  branching has been made

Task-number: QTBUG-86349
Change-Id: If641367ecc0113296c5cf60e2ff67bfab56942ae
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2020-12-02 07:24:57 +02:00
Samuli Piippo
2bb3541bcb qtcoap: examples depend on qtdeclarative
Change-Id: I2bd33f3502bfd7b2034ddbd6aef3f283d3a6f103
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-27 07:27:18 +02:00
Samuli Piippo
47c530b5e0 qt3d: add dependency to qtshadertools
Build needs to have both target and native as dependency.

Change-Id: Ib8f01b30822e1e3d2f170297b620c352819e77ca
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-27 07:27:12 +02:00
Samuli Piippo
ecc126ed6e qtimageformats: add PACKAGECONFIGs for all imagetypes
Support for mng cannot be enabled, default to formats available from oe-core.

Change-Id: I9ed3e8b9e173f13a67fef4832aa6ef42681f7285
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-27 07:27:06 +02:00
Samuli Piippo
181b94d709 qtbase: update PACKAGECONFIGs
Add configuration for odbc and brotli, and use system sqlite
if enabled.

Change-Id: I7065bb00be3aa60e438a55c78a8361d102262e0e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-27 07:26:59 +02:00
Samuli Piippo
59d929603c Update example and test PACKAGECONFIG
The CMake options were renamed.

Change-Id: Ib4bc6019b75b422d22306a8d5129512171008705
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-27 07:26:52 +02:00
Samuli Piippo
b1adc3fa3a Update readme
Add note about supported yocto branches using markdown syntax, rename
the file to match.

Change-Id: Ic7e4a8d8a910ab75f1c43b05132ee22805b763ef
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
2020-11-25 08:50:04 +02:00
Mikko Gronoff
03489c6d85 qt6: update submodules
Update to Qt 6.0.0 RC

Task-number: QTBUG-86349
Change-Id: I31296ec03824c5a3c4a4e3b416296f8dd0fb3d43
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2020-11-25 08:46:51 +02:00
Mikko Gronoff
4ee65d5e60 qt6: update submodules
- Update to proposed Qt 6.0.0 RC content
- Set dev branch for non-official qt6 modules
- Re-enable qtopcua module

Task-number: QTBUG-86349
Change-Id: Ibb1a15796e572fe2407ba436c0d2b318a0be9352
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2020-11-24 11:39:04 +02:00
Samuli Piippo
4246a8afaa qtbase: update opengl PACKAGECONFIGs
Remove patch and add separate PACKAGECONFIG for disabling opengl.
Rename desktop opengl to gl to match what meta-qt5 is using.

Change-Id: I3308efd0717da79c813dcbc681787d47932a7f3e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-17 12:46:25 +02:00
Mikko Gronoff
7631ce8e65 qt6: update submodules
* Update to Qt 6.0.0-beta5 content.
* Add patch from codereview for qt3d to build against beta5
  content.
* disable qtopcua module temporarily due build issues against
  beta5 content.

Task-number: QTBUG-86349
Change-Id: I0665d1c3df5d8dee1dbaac89a7973d5f22c5a8ad
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2020-11-17 09:25:09 +02:00
Samuli Piippo
9bd853d4fe Add bbclass for disabling unsupported modules
The bbclass can be used to temporarily disable build of a broken
Qt module recipe without breaking the CI, packagegroup or toolchain
builds that include it.

Change-Id: I3a3e4b72350521b16f1c4fe50f423146ad86515d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-16 22:04:43 +02:00
Mikko Gronoff
4d1dc35397 qt6: update submodules
Update to actual Qt 6.0.0-beta4 content instead of older beta4
candidate.

Amends commit 70b967d5c1.

Task-number: QTBUG-86349
Change-Id: Ifcd7972758fc0eb8f9cc49b3522f1c3c3f35cf7f
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2020-11-12 10:07:30 +02:00
Samuli Piippo
d48f680374 coin: update CI builds
Expand CI builds to multiple yocto versions. In addition to current
dunfell builds, test also against gatesgarth and master branches.

Use different sstate-cache than other yocto builds to make
cache cleanups simpler.

Task-number: QTBUG-88313
Change-Id: I75ff327850c65a75aeead41564aa516dabf05c8e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-11 18:04:24 +02:00