Commit Graph

444 Commits

Author SHA1 Message Date
Samuli Piippo
f4d64a3af6 qtscxml: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: Icaca20c6999985f683952e9f61d1d864aed5ff5a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 15:38:56 +03:00
Samuli Piippo
e25ce21c29 qtcoap: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I534587dd780686a568409cba61d8adb89fead3bb
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:38:54 +00:00
Samuli Piippo
a9beea1c7c qtshadertools: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: Iac7bf990ef97f3b42b404cf920d31310b205de9e
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:38:53 +00:00
Samuli Piippo
6e2c755499 qtquick3d: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I7a3df48d8c6b90ef77d60adae5204027b504d76f
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:38:52 +00:00
Samuli Piippo
479a0a2cca qtsvg: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I45af0f2270b5fbb87dea87429da7893ebec7cf67
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:38:50 +00:00
Samuli Piippo
862d50aa22 qtapplicationmanager: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: Ieaa6420f62e9c6574b1cee762a6cecbb3bd023e1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:38:49 +00:00
Samuli Piippo
7e9a1ac440 qtdeclarative: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: Ie787eed8c908ad98dae117f1edaf63cc643fc360
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:38:48 +00:00
Samuli Piippo
6672e84e6a sdk: don't define flags for RELEASE build type
The default flags in TARGET_CFLAGS contain '-g' which matches
better to RELWITHDEBINFO build type than RELEASE. Don't define
any build type flags in the toolchain as CMake provides good
default values for each build type.

Pick-to: 6.4 6.3 6.2
Change-Id: I6493597f6becf774893386df952c72ab4f66ead2
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-06-20 05:30:17 +00:00
Samuli Piippo
49ee2bdf07 Use common variables for both LTS and commercial modules
Define QT_COMMERCIAL_GIT variable in layer.conf and use it in both
LTS and commercial modules.

Pick-to: 6.2
Change-Id: If9137331236faa8fb78c02f76629cdf17114d230
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-14 11:50:25 +00:00
Samuli Piippo
03ffd6cdc8 qtbase: enable tests that failed with gold linker
Remove patch that was used to disable tests failing to build with gold
linker. After qtbase commit 40c8bc42026a8cf118ab60920314d84856c397a6,
the long stanging issue with gold linker and qt_version_tag symbol [1]
seems to be resolved.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842304

Pick-to: 6.4
Change-Id: I2550554261a7ea82fc2a3f2d5c3679e68590df98
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-06-14 11:50:12 +00:00
Samuli Piippo
aecb87a690 qt6: update submodules
Use latest revision for module that have SPDX license changes.

Change-Id: Ib460fe4838e8749f6ca299aba92829783ba12464
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-06-14 11:49:36 +00:00
Samuli Piippo
3add57c795 qttranslations: revert SPDX change
The SDPX change has not yet been merged into dev branch, temporarily
revert the change.

Change-Id: Ib84281130dbfba412743bf73524c8b9dc918b42f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-06-14 11:49:35 +00:00
Samuli Piippo
78599de4f9 spdx: update module licenses
The SDPX license change is applied to more Qt modules.

Change-Id: I6dca50fa708872ad54fe5c2918fcc3ee4d3ba0fe
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 5646d22948)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-06-14 11:49:33 +00:00
Samuli Piippo
51f46ee281 spdx: update module licenses
The SDPX license change is applied to more Qt modules.

Pick-to: 6.4
Change-Id: Ib2f789cfba1bea5f50a5bccf48d9ea13b11a9332
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-06-14 11:49:32 +00:00
Qt Submodule Update Bot
27caf4a422 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I916a9c50ea92cac4aa176c5b769c05a2dc10dc9b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-06-14 11:49:31 +00:00
Samuli Piippo
be8b40d35a qt6: update version to Qt 6.5.0
Change-Id: I31203fa142f813c83372c404ca14dceaa4c01c65
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-06-14 05:23:53 +00:00
Samuli Piippo
b6a93fbdb6 ptest: fix build issue with qtbase tests
ptest build had a subtle problem with qtbase where it was using
Qt6BuildInternals package from native sysroot instead of the target
install path. This could add compiler flags that were not supported
for the target architecture:
  cc1plus: error: '-fcf-protection=full' is not supported for this target

QT_ADDITIONAL_PACKAGES_PREFIX_PATH is not used in qtbase/CMakeLists.txt:
  find_package(Qt6 REQUIRED COMPONENTS BuildInternals CMAKE_FIND_ROOT_PATH_BOTH)
so the current approach for using Qt from the install path was not working.

Change the ptest build from using QT_ADDITIONAL_PACKAGES_PREFIX_PATHs
to using separate cmake toolchain file that prepends the install path
to CMAKE_FIND_ROOT_PATH, which makes CMake find the target Qt packages
correctly.

Pick-to: 6.4 6.3 6.2
Change-Id: Idc99a26577886208b85bafe811f61538bb38d5bc
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-06-10 04:01:37 +00:00
Samuli Piippo
faed0e8947 ptest: handle names with spaces
Correctly remove debug file also when directory names have spaces.

Pick-to: 6.4 6.3 6.2
Change-Id: Ia1d9efdd72d8f37417f2fd3f3f6d4a2736283ac9
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2022-06-07 22:02:55 +00:00
Samuli Piippo
37254d64a2 qtwebengine: update license
Amend 10a22f83f3 and use the new
license in webengine recipes.

Change-Id: Idd99bbf66b3853c7c0ede216f732eb84f1e6e829
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-06-07 10:55:21 +00:00
Samuli Piippo
ea541e308f SDK: make sure initial qt host path is absolute
__qt_toolchain_initial_qt_host_path is assigned to QT_HOST_PATH and then
to CMAKE_FIND_ROOT_PATH. Problems occurs if that path is relative.
CMake doesn't do relative path resolving by default in find_package,
when doing sub-prefix checking between find root path and prefix path.

Patch the qt.toochain.cmake so that it always uses absolute path for
__qt_toolchain_initial_qt_host_path, but make it still based on its
own location.

Pick-to: 6.3 6.2
Fixes: QTBUG-103818
Change-Id: I1cce126c243c017b1cecd14a0fd616cb0328fe6d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-06-06 12:30:05 +00:00
Samuli Piippo
723b6b805b qtquick3d: fix build for mingw
QtQuick3D is using 3rdparty embree component which doesn't not compile
for mingw when using older version of it. Skip the build since it's
not needed for the toolchain.

Change-Id: Id732a5f2b101cf14f754c89330bbbba1fdd6169b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-06-03 09:07:18 +00:00
Mikko Gronoff
54b5614040 qtwebengine: remove upstreamed patch
Change-Id: I6f8736b688ec4593e7e5fbd2837faa34805ac010
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-06-03 12:07:11 +03:00
Samuli Piippo
10a22f83f3 qt6: update licenses
Qt sources were changed to use SPDX license identifiers, update
LICENSE strings to match the used identifiers. At this time,
qtbase and qttools were converted, rest of the modules will follow.

Change-Id: Ic0a43438f2bdcc82941aed34a3e034bb3c6db67a
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-06-03 09:06:56 +00:00
Qt Submodule Update Bot
13f3ef4d81 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I9b7e66d6be3be41d3deaf26ccd85ac29f44856eb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-06-03 09:06:45 +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
f389ceaa95 packagegroup: limit modules based on architecture
Not all modules are compatible with all architectures.

Change-Id: If44be478ff6cde47e4ad70ee31eb5059058307e5
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-05-25 09:06:08 +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
ec7e50bbaf sdk: Use correct CMAKE_PREFIX_PATH for Qt modules
Building Qt modules uses extra CMake instructions that try to be clever
about which CMAKE_PREFIX_PATH to use. With SDK, these instructions end
up using the SDK host paths in the device instead of the actual device
paths. Add CMake option to prevent Qt from changing the default prefix.

Fixes: QTBUG-103577
Pick-to: 6.3 6.2
Change-Id: Ia933c843d811e6adb2ed4ede4708f55a6f0e8f0c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-18 10:23:12 +00:00
Samuli Piippo
73e88c5848 sdk: don't force tool build from sdk
QT_BUILD_TOOLS_WHEN_CROSSCOMPILING has been deprecated in 6.4,
and cross-compiling compile time tools from sdk doesn't make
sense, all runtime tools are still being compiled.

Pick-to: 6.3 6.2
Change-Id: Ia35255e3b84c38342be58b11461a4ee908fba1f9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-18 10:23:07 +00:00
Samuli Piippo
a4002f18a9 qtmultimedia: enable pulseuadio backend
QtMultimedia crashes without audio backend and pulseaudio
backend now works together with gstreamer plugin.

Change-Id: Iad97ebb3170c6ebec9aa8eea1faf4972a88cd49f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-18 10:22:58 +00:00
Samuli Piippo
8beecf5620 qtwebengine: fix chromium build
Add missing header include.

Change-Id: Ie5f7bb3972c5485f4d597f737bd2418b5d345dd9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-17 06:06:21 +00:00
Qt Submodule Update Bot
84e760e2e3 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ie80984214f710eb7403ba071453477461ff75dde
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-05-17 06:05:41 +00:00
Michal Klocek
b6b180a74f Fix bogus env path for qt6 toolchain setup
Use '$ENV{PATH}' otherwise generated file:
sysroots/x86_64-pokysdk-linux/usr/share/cmake/Qt6Toolchain.cmake
ends with:
set(ENV{PATH} "${SYSROOTS}/x86_64-pokysdk-linux/usr/bin:ENV{PATH}")
which breaks find_package calls.

Pick-to: 6.3 6.2
Change-Id: Ieed45ca785ffdc0700f620863c5672e9764d3f8e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-05-13 18:30:02 +00:00
Janne Juntunen
9036696107 qtbase: add option for developer_build feature
Developer_build will include all tests, including private tests,
enabling verification of Qt functionality on target platform.

Pick-to: 6.3 6.2
Change-Id: Icd477958fc7e8144194c5cae3f5b94eebfee6045
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-05-13 13:34:51 +00:00
Samuli Piippo
682313136d qtwebengine: update patch
Pick-to: 6.3 6.2
Change-Id: I9647cba85fd4a9fcd0aadba1273b077b7ae6c844
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-13 07:31:37 +00:00
Samuli Piippo
35c8457a39 qt6: force all tools to be built
QT_BUILD_TOOLS_WHEN_CROSSCOMPILING is deprecated in favor of
QT_FORCE_BUILD_TOOLS.

Change-Id: Ibd644adabe9cdd8bd39179c38974d953ce34e5a4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-13 07:31:29 +00:00
Samuli Piippo
4ff7b74454 qtdeclarative: update patch
Pick-to: 6.3 6.2
Change-Id: I356bed7a2cd207383ec83fd8d5f6303f4f92d0e6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-13 07:31:20 +00:00
Qt Submodule Update Bot
8b02490cca Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ib5278abae6904d40a6e04d5c5b00fd0ec1f6f84f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-05-13 07:31:09 +00: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
2005837511 layer: add langdale to LAYERSERIES_COMPAT
Change-Id: Ibb6af476e2bafc5b65767b800af8d2fa3bed193d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-05-03 10:30:00 +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
90a8c72bed qtinterfaceframework: fix example packaging
Multiple examples provide the same library which causes packaging failure:
ERROR: qtinterfaceframework-6.4.0-r0 do_package: qtinterfaceframework-examples: Multiple shlib providers for libInstrumentCluster.so

Add the library to PRIVATE_LIBS, since it's only used by the examples.

Pick-to: 6.3 6.2
Change-Id: If09bc7d235171b2b844ec579f6affa6fbe3f8a6d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-28 10:41:02 +00:00
Samuli Piippo
ff3157ee7e Add support for using LTS repos
The commercial-only LTS releases are available from separate repositories
in codereview using ssh protocol. Qt modules can be switched to using the
LTS version by including the qt6-lts.inc after qt6-git.inc.

Pick-to: 6.2
Change-Id: I1795e3cad5e758e5de050803bd07c35ab168389a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-27 10:37:24 +03:00
Qt Submodule Update Bot
094ad44e63 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I6b504ccab8f08c4d1e7395c16008c92be1d29950
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-04-26 19:34:05 +00:00
Samuli Piippo
368fd592da Add details for LTS releases
Pick-to: 6.3 6.2
Change-Id: I30efc2893bb715cc69704f42db20fe1e4727fa55
Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
2022-04-26 22:34:04 +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