Commit Graph

966 Commits

Author SHA1 Message Date
Samuli Piippo
fe0c4887c3 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.

Pick-to: 6.1
Change-Id: I877461fdcffc4fee5b29e929ad8ac2d30a2e980a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-02-24 11:32:44 +00:00
Samuli Piippo
8309653390 qt6: update submodules
Update to the latest revisions from dev branches.

Change-Id: I0c1f9a682469eb3433002f5adfbd9fee032e84ff
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-02-24 13:32:37 +02:00
Mikko Gronoff
55707395a9 qtdatavis3d: add recipe
Pick-to: 6.1
Change-Id: I5b6b952e555da225a110f8821623a422c9cba772
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-02-23 09:23:00 +02:00
Mikko Gronoff
cf4dafd3cf qtlottie: add recipe
This module is part of Additional Libs from Qt 6.1 onwards.

Pick-to: 6.1
Change-Id: I0f33bad251dd2a77eba469b94561b0284c175ae5
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-02-18 12:47:27 +00:00
Samuli Piippo
7057c72ca9 qtbase: remove cmake version override
The minimum required cmake version is now 3.16, no need to
override it anymore.

Pick-to: 6.1 6.0
Change-Id: Id31d5a88e61e0dc4f2a78448482c61a894a59d94
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-02-16 05:58:47 +00:00
Samuli Piippo
f7ba296577 qt6: update submodules
Update to the latest revisions from dev branches.

Change-Id: Ia1ff260fd02e2c1a6dbb275c9e4679db6987935c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-02-12 08:55:47 +02:00
Samuli Piippo
af28e2cec7 Update branch information
Add 6.1 branch information to the CI testing table.

Pick-to: 6.1 6.0
Change-Id: Ibc394287ef6dd89fabfe23a6ea99746804a61507
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2021-02-12 08:22:33 +02: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
Samuli Piippo
9e6becf2a4 Add gatesgarth into LAYERSERIES_COMPAT
Change-Id: I38a3188bd87a1857a98ce08dcf788bff3ae16342
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-11 18:04:19 +02:00
Samuli Piippo
7f693407b7 qtbase: avoid using CMake's archiving
If CMake 3.18 is not build with system zstd then Qt build will fail when
file(ARCHIVE_CREATE) is called. Avoid this until zstd is available in
oe-core and cmake-native is build with it.

Change-Id: I5fb7c75f873b493bb183804dc835a40c46839a2b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-11 18:04:14 +02:00
Mikko Gronoff
70b967d5c1 qt6: update submodules
Update to Qt 6.0.0-beta4 content.

Set lower minimum required cmake version in qtbase recipe
as qtbase requires newer one than yocto dunfell branch has.

Task-number: QTBUG-86349
Change-Id: I40082e30d722d9989782530700f66aa91bd8eca1
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2020-11-10 17:12:42 +00:00
Samuli Piippo
bbdf7bf3a2 qtbase: move atspi dependency to gtk PACKAGECONFIG
Accessibility can be extended with AT-SPI bridge, but that makes
sense only when using GTK+. Use the core package.

Change-Id: I015dc559e87de001e2e9cabf841173820c5ab9b3
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-10 14:54:52 +02:00
Mikko Gronoff
3efb2b2e31 qt6: update submodules
Update to Qt 6.0.0-beta3

Task-number: QTBUG-86349
Change-Id: Ief4bde6a1abdf6ae89bd0a22fddc1d40ec48fe90
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2020-11-09 08:39:32 +02:00
Samuli Piippo
217d6e886f qt5compat: iconv feature was move from qtbase to qt5compat
Change-Id: Iabd718688d687e3fd29c31f82750293e33c00aec
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-06 09:43:27 +02:00
Samuli Piippo
f17ee34d01 qt6: add support for selecting Qt license type
Selection can be made between opensource and commercial licensing.
Currently the licensing choise does not affect the build in any way.

Task-number: QTBUG-87188
Change-Id: I008a31b2ad6c50b4f94d80de3fbd0a69fc1065e1
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-06 09:43:07 +02:00
Samuli Piippo
ab95b08fd0 qtbase: add PACKAGECONFIGs for size optimization
Change-Id: I51684e61401826122b456d5f08e76e45e661abef
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-06 09:42:54 +02:00
Samuli Piippo
3ab9b0a4b2 Add support static build
Add static PACKAGECONFIG for qtbase that build it and all the
submodules as static libraries. Use PACKAGE_BEFORE_PN so that
the ${PN}-qmlplugins package takes everything that's not included
into *dev packages.

Task-number: QTBUG-85249
Change-Id: If2fb3e2096771832c64e1d22e7f505bf31282096
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-06 09:42:49 +02:00
Samuli Piippo
4aea15e00f qtvirtualkeyboard: use correct variable for datadir
Change-Id: I48397cf28d7ae03302a2b6bd20228c00d4313a96
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-04 15:06:42 +02:00
Samuli Piippo
895d311f9f qtquick3d: include meshes into correct package
Change-Id: If74f96c17f152d236f619aa7e62cd5113bcd024c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-11-04 15:06:38 +02:00
Mikko Gronoff
9d8e570f04 qt6: update submodules
Update submodules to beta2 revisions.

Task-number: QTBUG-86349
Change-Id: Iddd5da3a62bd397b9b2941b8fd89e71e15a0a6a7
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2020-10-30 08:59:31 +02:00
Samuli Piippo
ea5a87ff4d qtgraphicaleffects: update module
OpenGL is no longer hard requirements for the effects.

Change-Id: I6a4e19b5d371592057bce6f648796fab27cc110d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-10-21 09:44:28 +03:00
Mikko Gronoff
f39b505c4d qt6: update submodules
* Update to new proposed Qt 6.0.0 beta1 content
* non-essential Qt6 modules updated to latest revisions in dev branches

Task-number: QTBUG-86349
Change-Id: I58caea685b2af29229ddab2464769e5a66d12b77
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2020-10-16 16:08:56 +03:00
Samuli Piippo
07cc8b02a0 sdk: make qt-cmake usable from the sdk
By default qt-cmake contains paths to the build time locations.
Overwrite it so that it's usable from the SDK. Set toolchain file
to Qt6Toolchain.cmake making it work without need to source the
environment-setup script.

Change-Id: I157c0ad3cdb814438be03028a0e045abb85bf058
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-10-16 10:14:02 +03:00