Commit Graph

421 Commits

Author SHA1 Message Date
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
Samuli Piippo
73927c6db3 qtwebengine: skip host build
QtWebEngine normally does a host build before the actual
cross-compilation build. We can skip that since during the
cross-compilation, the target binaries are run using QEMU
instead of ones from the host build.

Fixes: QTBUG-102378
Pick-to: 6.3 6.2
Change-Id: I586a68641b48678933ed91a742235c6b22f1d109
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-04-08 09:59:48 +00:00
Samuli Piippo
cba320e7bf qtserialbus: add tools to the image
QtSerialBus has canbusutil runtime tool that is useful to have
in the device.

Change-Id: Ib751cbb153d122ef6e2a58e3f7a455a58d668265
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-04-08 09:59:41 +00:00
Samuli Piippo
9334145f37 Stage all tools to sysroot
The compile time and runtime tools are referenced by CMake files
and if missing from sysroot, it can cause errors suchs as:

| The imported target "Qt6::canbusutil" references the file
|
| "/home/mak/yocto-raspberrypi-latest/build/tmp/work/cortexa53-poky-linux/smartcore/2.2+gitAUTOINC+3970c5b703-r0/recipe-sysroot/usr/bin/canbusutil"
|
| but this file does not exist.

Stage all files in bin and libexec dirs to make sure cmake builds work,
even though the binaries are not actually used during the build.

Pick-to: 6.3 6.2
Fixes: QTBUG-102370
Fixes: QTBUG-97707
Change-Id: I3326e7b8f970952f6d18591204cb78e5a0defcf5
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-04-08 09:59:34 +00: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
269c0e836c python3-antlr4-runtime: use correct recipe name
Pick-to: 6.3 6.2
Change-Id: Ied805f6349eaaaa2bdff82712a5b24ca8817e02f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-07 13:54:54 +03:00
Samuli Piippo
76e4f4c875 qtwebengine: webrtc-pipewire depends on libgbm
Add libgbm dependency to webrtc-pipewire PACKAGECONFIG and
remove it from the defaults, since not all graphics stacks
have it.

Change-Id: Ibb8033514d8ed14674d6b475b26f84f14aefca18
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-07 10:54:44 +00:00
Samuli Piippo
7a4cbf2995 Revert "qtquickdesigner-components: lower minimum CMake version"
This reverts commit bab800db57.
Fix has been merged to qtquickdesigner-components.

Pick-to: 6.3 6.2
Change-Id: I1ef7d09e3d1c9517aa5c7abbf376cb9bb9422009
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-07 13:54:38 +03:00
Samuli Piippo
5951f10548 Revert "qtquick3d: fix native build"
This reverts commit 1f8fa2d766.
Fix has been merged into qtquick3d.

Change-Id: I6cc9dda5bf1c53cf969bd859e0bb03ef1c40ae84
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-07 13:54:33 +03:00
Qt Submodule Update Bot
d9488d5409 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I6a5e7bd067c6970aec82987c0f1f7706e6cdb46d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-04-07 10:54:26 +00:00
Samuli Piippo
312d7185d8 qt6: make configure more verbose
Qt configure has lowered its verbose when not using developer-build.
Increase the verbose level to have the configure summary of the
Qt module back into the logs.

Pick-to: 6.3 6.2
Change-Id: If742b68353fe6f0614bf4be8f355cfc24f9a42f3
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-05 08:14:46 +00:00
Samuli Piippo
1f8fa2d766 qtquick3d: fix native build
Change-Id: I8909dc26c1b4f63590bed794bd596b34c05cf363
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-05 08:14:39 +00:00
Samuli Piippo
bab800db57 qtquickdesigner-components: lower minimum CMake version
Dunfell still has CMake 3.16, which is the default minimum version
for Qt. Use it for qtquickdesigner-componets as well.

Pick-to: 6.3 6.2
Change-Id: I07c0c35dfc589bae4fc9d47e4ec31ef27042454d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-05 08:14:32 +00:00
Samuli Piippo
e8102f036a qtquickdesigner-component: switch to CMake build
Pick-to: 6.3 6.2
Change-Id: I464f6cdedf02185876a57f4cafad47d5f60f10b4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-05 08:14:25 +00:00
Samuli Piippo
65972077eb qtwebengine: move to 98-based chromium
Change-Id: Ia3a13200ddee60e3f1d5ab94b1994a21563ab33a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-05 08:14:18 +00:00
Samuli Piippo
0f598c3c14 qtserialbus: use PACKAGECONFIGs
Use PACKAGECONFIGs for modbus and socketcan supports. This adds
needed runtime dependency to libsocketcan.

Pick-to: 6.3 6.2
Fixes: QTBUG-102197
Change-Id: I0b0aebfa3f9fd896e0307415c54efb9fc7f1b93a
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-04-05 08:14:06 +00:00
Samuli Piippo
b24db734ac qtserialbus: remove native and nativesdk support
The tool provided by qtserialbus is a runtime tool and there no needed
to support either native or nativesdk builds.

Pick-to: 6.3 6.2
Change-Id: If1292680ec8f9afd1085b9a12b1976087cafe71f
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-04-05 08:14:02 +00:00
Samuli Piippo
3fdebdda65 qmlcompiler: remove merged patch
Change-Id: If3583ef24a7fb8aff973432fdc4119e4b538cf3e
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-04-05 11:13:54 +03:00
Samuli Piippo
910ec2e260 qtbase: update license checksum
Pick-to: 6.3 6.2
Change-Id: If4c6822c71e627d973b55f9edad382a4d6088acd
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-04-05 08:13:44 +00:00
Samuli Piippo
90b433994a qtdeclarative: update revision
Update needed for mingw compilations.

Change-Id: Ifc0bf4740296a10816563ba6cfd10bda705fb8d1
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-04-05 08:13:34 +00:00
Qt Submodule Update Bot
e075968c08 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ibce642bea874d2c5a9c86d4fbac29b9ec1a48b93
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-04-05 08:13:29 +00:00
Jani Heikkinen
2652a4458a Update The-Qt-Company-Commercial
Newest version is 4.4.1 so update it in the git as well

Task-number: QTBUG-101714
Change-Id: Ifd65867cc25abacd37bf1e90c0638bc50ac476b5
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 8d84283339)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-03-24 19:51:55 +00:00
Samuli Piippo
bc0717a20b qtinterfaceframework: remove workaround
Kirkstone has been updated with working nativesdk-python3
builds and qtinterfacewramework can now be included in the SDK.

Pick-to: 6.3 6.3.0 6.2
Change-Id: Ibcaf520688a56f9607db89993aa9ec9e2d667844
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-03-23 07:06:58 +00:00
Samuli Piippo
c3d4a5722f qtdeclarative: include tools in packagegroup
qtdeclarative-tools has runtime tools, such as qmlscene,
that can be useful in the image.

Pick-to: 6.3 6.3.0 6.2
Change-Id: I359611f8a3e575d8b18b63c4f8a034ad5ab705a1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-03-22 11:08:30 +02:00