Commit Graph

152 Commits

Author SHA1 Message Date
Samuli Piippo
336a2fd3ad qtbase: enable zstd support with openembedded layer
Enable zstd compression support by default, if meta-oe layer
is included in the build.

Change-Id: I343594025c3850dd2bfd54b6a476c3dfec320c57
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 083d1441cb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-01-14 16:50:45 +00:00
Mikko Gronoff
e46014acc4 qt6: update submodules
Update to latest content in Qt 6.0 branch (snaphot for 6.0.1)

Task-number: QTBUG-89461
Change-Id: Ia1c31a0c66250cfb4864fc2de001d40394790851
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-01-08 12:06:25 +02:00
Mikko Gronoff
e089f6cfc8 qt6: update submodules
Update to latest content in Qt 6.0 branch (snaphot for 6.0.1)

Task-number: QTBUG-89461
Change-Id: Ife8a3af54406997039824bc7a4ef3204d2cb8418
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2021-01-04 09:23:39 +02:00
Samuli Piippo
a2412b6199 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.

Change-Id: I58791d8eecc22589dc39a9e21a3b3a40afdfd905
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 876480f7ce)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2021-01-04 07:22:00 +00:00
Mikko Gronoff
5948347dbd qt6: update submodules
Update to latest content in Qt 6.0 branch (snaphot for 6.0.1)

Task-number: QTBUG-89461
Change-Id: I1448b89b72f72f12c5bda67e7ab0bff4f807fc94
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2020-12-18 10:28:38 +02:00
Mikko Gronoff
248392d985 qt6: update submodules
Update to latest content in Qt 6.0 branch (snaphot for 6.0.1)

Task-number: QTBUG-89461
Change-Id: I5380dc0c1c1bb6f97118fefe4b4c56bda4f56f63
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-12-16 20:34:53 +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
Mikko Gronoff
59024d081c qt6: update submodules
* Update to proposed Qt 6.0.0 beta1 content
* In qt3d & qtquick3d recipes, revert assimp submodule
  to official beta1 revision
* cleanup unused patches

Task-number: QTBUG-86349
Change-Id: Ib8d290cd9f6689e3863a0247d74ce5f19d7cec2c
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2020-10-14 08:58:13 +03:00
Samuli Piippo
10bd7c69eb qt6: update submodules
Change-Id: I52b6e3990b4f7d493316b51b6d4d7722d9be7280
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-10-12 10:52:52 +03:00
Samuli Piippo
858c5c397d qtbase: bring back oe-device-extra.pri
In case there is need to add additional configs for qmake, the
oe-device-extra.pri can again be used to add these.

Change-Id: I5df69cdcbbf65821981339665a2e9d99e25a0677
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-10-08 09:13:49 +03:00
Mikko Gronoff
6cd56e9d75 qt6: update submodules
Change-Id: Ia2b6d4870e71fb98c0e3a274900db8e9a1a63d5c
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2020-10-06 09:24:39 +03:00
Samuli Piippo
e754f28566 qtbase: support eglfs_viv plugin for imx6
Add patches that enabled eglfs_viv integration plugin build
for imx6 boards, and that will set it as the default plugin
without need to specify it at runtime.

Change-Id: I444c24c649d61cd93de010f231ebbb0ab15f445a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-10-05 11:08:14 +03:00
Mikko Gronoff
ff154cda1e qt6: update submodules
Change-Id: I891ef5357339a023c68f372f4b98bc9ec7243d05
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2020-10-01 09:19:04 +03:00
Samuli Piippo
e400d8ff3c Use QT_HOST_PATH only with target and nativesdk builds
Native build cannot use QT_HOST_PATH as it doens't exists yet.

Change-Id: I4ca81b15b13e1fe422f04b334eeab058e7db0c9d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-09-30 14:46:46 +03:00
Samuli Piippo
9e69b0f3b0 sdk: set default install prefix
Set default install prefix to match the Qt's prefix path. This makes
deployment on Windows work as otherwise the default path would be some
Windows path instead of target path in the device.

Use CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT same as cmake so that
projects can still set their default path if not forced from command line.

Change-Id: If2d703a3f46abaeaa015df4e9385313498ec9d17
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-09-24 10:35:44 +00:00
Samuli Piippo
ab7a701fec qtwayland: support building for mingw
Remove restrictions from qtwayland so the qtwaylandscanner can be
built for mingw nativesdk target. Add wayland to DISTRO_FEATURES
in CI builds so that the mingw build is also tested.

Change-Id: If46f1310318fbfc59f141dd2895b7b2ff708223c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-09-22 14:24:09 +03:00
Samuli Piippo
06be05c249 coin: add ci build for mingw
Also move to using HEAD of dunfell branch for all
upstream meta layers.

Task-number: QTBUG-86431
Change-Id: I62ba53237fb763ba2676f8c9d030ce5d6b157989
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Toni Saario <toni.saario@qt.io>
2020-09-22 07:31:57 +03:00
Samuli Piippo
08d101c2eb Add support for mingw32 build
Add support for building nativesdk components with meta-mingw layer
for Windows SDK. Skip some of the nativesdk tools as they cannot be built.

Qt6Toolchain.cmake can be used with SDKPATH environment variable set
to the SDK installation path using forward slashes as path separators.
It depends on the nativesdk-cmake which cannot be built until upstream
patches to meta-mingw are approved.

Task-number: QTBUG-86431
Change-Id: I482f85f10461e77bb183cf763d6ef531b45e016a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-09-22 04:31:51 +00:00
Samuli Piippo
18036b01dd qtbase: use configured path for mkspecs
Change-Id: I327236353cfadc171d7a386b8a14cdd4ec85b5c6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-09-14 10:23:26 +03:00
Samuli Piippo
a61f2621ca qtbase: keep all the files
These are not very useful, but there are more of those.

Change-Id: I8927c256837f70901d6ee4fca491f12f54ff17b0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-09-14 10:23:19 +03:00
Samuli Piippo
1bfc6219e9 remove perl fix
This has now been merged to oe-core.

Change-Id: Ie831df506636187d1ea0d11585b14dc1f0daa6e5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2020-09-10 14:31:19 +03:00