Commit Graph

787 Commits

Author SHA1 Message Date
Qt Submodule Update Bot
185cdd84e1 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I11f4603899302ab0556a18ac10f279050c21a8bd
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-26 07:29:04 +00:00
Qt Submodule Update Bot
71e791ff49 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I19ee780dea3f8b000f603af0e7996589945e70d1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-20 04:06:37 +00:00
Samuli Piippo
82fac6f29a qtquick3d: add workaround for test build failure
The OpenXR feature does not work correctly with the
ptest build, add workaround to make it pass.

Task-number: QTBUG-122205
Change-Id: I6237549f2e0098f6796e8b7f5abd59e9dd8fd2c5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-02-13 10:31:43 +00:00
Qt Submodule Update Bot
f3ca5bd39b Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ibde04e05dca8ac939b53afc4ade084cd99383530
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-13 10:31:28 +00:00
Samuli Piippo
b8a440f310 qtbase: prefer system png
Update PACKAGECONFIG[png] to make sure we use the system libpng
as expected.

Fixes: QTBUG-121795
Pick-to: 6.7 6.6 6.5
Change-Id: I051a9a40a9a7bfd001b77c51db9eab2b19147efb
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-02-12 09:10:53 +00:00
Samuli Piippo
a18047ef52 packagegroup: add Qt modules only on supported archs
QtQuick3dPhysics, QtPdf and QtWebengine have limited
architecture support.

Pick-to: 6.7 6.6 6.5
Change-Id: Icf1d7628de5365825c79030462f019b15d9ae9a0
Reviewed-by: Alex Bu <alex.bu@qt.io>
2024-02-12 09:10:47 +00:00
Kai Kang
635948ee8a qtdoc: only add qtpdf to DEPENDS for machines in COMPATIBLE_MACHINE
qtpdf includes chromium-gn.inc which set COMPATIBLE_MACHINE. For arm, it
is only compatible with armv6 armv7a and armv7ve. So only add to DEPENDS
for these machines.

Pick-to: 6.7
Change-Id: Id5601f9e6ebd7427431115f556b9982645e9c1c4
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-02-06 07:11:43 +00:00
Khem Raj
88c7940a31 qtwebengine: Remove setting --target option with yocto
This option is not needed to be set with OE when using clang because OE
passes correct tuple which is recognised by OE based distros correctly.
Otherwise search paths for C runtime files goes awry and we get cryptic
linking failures like

ld.lld: error: cannot open crtbeginS.o: No such file or directory
ld.lld: error: cannot open crtendS.o: No such file or directory
aarch64-yoe-linux-clang++: error: linker command failed with exit code 1 (use -v to see invocation)

Pick-to: 6.7
Change-Id: Id445fb44adc3b9603109fe4763bd6344370cffff
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-02-06 07:11:21 +00:00
Khem Raj
bc941d6f9a qtwebengine: Add missing dependency on native libevent.pc
Latest qtwebengine does the right thing by not looking into build host's
rootfs but this means we need to add libevent to native sysroot to meet
this dependency, otherwise gn fails to find it and build fails like
below

Fixes:

    |   -- GN FAILED
    |-
    |   ERROR at //build/config/linux/pkg_config.gni:104:17
    |   (//build/toolchain/yocto:yocto_native): Script returned non-zero exit code.
    |-
    |       pkgresult = exec_script(pkg_config_script, args, "value")
    |                   ^----------
    |-
    |   Current dir:
    |   /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/qtwebengine/6.6.2/build/src/core/Release/aarch64/
    |-
    |-
    |   Command:
    |   /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/qtwebengine/6.6.2/recipe-sysroot-native/usr/bin/python3-native/python3
    |   /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/qtwebengine/6.6.2/git/src/3rdparty/chromium/build/config/linux/pkg-config.py
    |   -p
    |   /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux/qtwebengine/6.6.2/recipe-sysroot-native/usr/bin/pkg-config-native
    |   libevent
    |-
    |   Returned 1.
    |-
    |   stderr:
    |-
    |-
    |-
    |   Package libevent was not found in the pkg-config search path.
    |-
    |   Perhaps you should add the directory containing `libevent.pc'
    |-
    |   to the PKG_CONFIG_PATH environment variable
    |-
    |   No package 'libevent' found
    |-
    |   Could not run pkg-config.

Pick-to: 6.7
Change-Id: I66d8806be14d2d4d57dca2d93688d5b58e0e1cb6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-02-06 07:11:04 +00:00
Khem Raj
5daa561cad qtwebengine: Pass OE specific pkg-config-native for host pkg-config
chromium has a way to use right pkg-config for in-tree hosttools which
are built and used during cross build of qtwebengine, since OE
pkg-config environment is set for detecting .pc files from sysroot,it
ends up reading wrong pkg-config files for host pieces and adds
-L<sysroot>/usr/lib to linker cmdline for hosttools too, this goes by
fine with gnu BFD linker since it ignores linker script files like
<sysroot>/usr/lib/libc.so, but when we use LLD linker, it ends up in
error, because it tries to process the content of libc.so which have
target absolute paths for ldso etc. /usr/lib/ld-linux-aarch64.so.1
LLD tries to open these files and ofcouse can't find them because
they are only found in target sysroot.

The underlying problem is that we need to be explicit about pkg-config
which is  thusly implemented by this patch. This fixes build with
clang+lld and link times for qtwebegine is reduced by 26% in my case.

Pick-to: 6.7
Change-Id: Id091200444eb97d4b44d984888a8aa16b75ff9d7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-02-06 07:10:58 +00:00
Samuli Piippo
8d3758ce9e packagegroup: fix warning caused by inherit_defer
Yocto scarthgap is now using inherit_defer which causes allarch
to be inherited last, when nativesdk wants to always be the last one.
Workaround this by setting PACKAGE_ARCH to empty, which causes the
allarch inherit to be skipped. PACKAGE_ARCH will still end up being
the same value, as packagegroup will set it correctly.

Fixes QA Issue: nativesdk-packagegroup-qt6-toolchain-host: native/nativesdk
class is not inherited last, this can result in unexpected behaviour.

Pick-to: 6.7 6.6 6.5
Change-Id: I0457a62333d88b14c3330e3349f585dc6c3eec35
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-01-31 09:59:45 +00:00
Samuli Piippo
c0b9c32fbc ptest: skip non-existing tests
ctest might list tests that don't have executable, such as
QMLTESTs, that are run with qmltestrunner. Skip these tests.

Pick-to: 6.7 6.6
Fixes: WEBOSCI-62
Change-Id: If8e3ce657d86469b8a83a05146e6698b8c5452d3
Reviewed-by: Alex Bu <alex.bu@qt.io>
2024-01-29 12:49:33 +00:00
Qt Submodule Update Bot
20596ba439 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I9888d204cb4651cec4f65f0d87dd5c3bc263deef
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-01-29 08:06:12 +00:00
Samuli Piippo
d457a6e717 Add recipe for QtDoc
QtDoc does not have any libraries, but it provides set of nicer
demos.

Pick-to: 6.7
Change-Id: I17c229c0a37f6e86bef5914cf5a2824fadfe73cd
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-01-26 05:27:15 +00:00
Qt Submodule Update Bot
8fb854dcdd Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I93f866be051314b451d7f63b0e786d69b7a337f9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-01-17 08:15:52 +00:00
Qt Submodule Update Bot
26e4c0e353 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I52e5aa542930acb8f5010d0cbfba3aa4ed93d959
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-01-16 14:17:49 +00:00
Mikko Gronoff
7e80a1296c webengine: update patch
Change-Id: I2c9df3bde7b0c6776cfd3a32093047fad1bd7256
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-12-27 11:06:41 +02:00
Qt Submodule Update Bot
04f8e6b271 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I3d172f56569b505b9f47c348cec42d3d35e9e6ac
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-27 09:06:34 +00:00
Samuli Piippo
5e20524950 ptest: better handling for test list
Use ctest to find all tests to run as not all of them start with
a tst_ prefix. This is done by parsing the json output of ctest.
Add all test sources to the package as there are data files in
some tests that are needed.

Remove qmake support, since it's not supported when building
Qt module.

QtDeviceUtilities had includes in wrong order, so ptest runner was
never added to the package.

Task-number: QTBUG-118680
Pick-to: 6.7 6.6
Change-Id: I6397cb1fd331941a3425bf627676b6387ab8bb8d
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-12-21 08:05:48 +00:00
Samuli Piippo
f56893e8c1 Add srcrev for QtDoc
QtDoc provides more demos.

Pick-to: 6.7
Change-Id: I6e3cfa51d053b3f3b775acb964cf0d47cfcec09f
Reviewed-by: Kimmo Ollila <kimmo.ollila@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-12-20 08:49:25 +00:00
Qt Submodule Update Bot
ef6320bb26 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I7d7d7fd31748e2e73cf38c97f5370a7022382861
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-16 03:13:40 +00:00
Qt Submodule Update Bot
1e336d2c9c Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ida6d64c059f16f6b8d7be484406110ddedfecee1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-14 12:21:12 +00:00
Samuli Piippo
e56bb1b822 qtwebengine: update to 118-based
Update QtWebEngine and QtPdf to use 118-based chromium.

Change-Id: I9a09b33156240ac8da850cf60984ba1986c5f474
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 4b105e589b)
2023-12-14 12:21:11 +00:00
Samuli Piippo
a6c21eed21 srcrev_update: support for all recipes
Add variable to find base dir for meta-qt6 and use that in
srcrev-update to support using it in any recipe.

Pick-to: 6.7 6.6
Change-Id: I91960508a8ec96ee6fe7af69046915f048925f62
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-12-13 14:55:39 +00:00
Samuli Piippo
13ce6ff6bd qttools: use clang if it is available
Use clang from meta-clang if the layer is available. Only tools require
clang, so skip target build as tools are not enabled by default.
Cannot use clang with mingw32 as it doesn't have python support.

Pick-to: 6.7 6.6
Change-Id: I1c43a816f81eeb5cdd28c5d05316e9e137514f58
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-12-13 14:55:33 +00:00
Samuli Piippo
0ed7c766db qtinterfaceframework: fix packaging error
Packaging has errors:
  Multiple shlib providers for libInstrumentCluster.so.
This lib is in examples and needs to be marked as a private lib.

Pick-to: 6.7
Change-Id: I38130d76d8749ca10aeeff0bb2eac9711a800b53
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-12-13 14:55:26 +00:00
Samuli Piippo
7b5020d1a1 qtinterfaceframework: remove simulation and reference api
The simulation and reference api implementations were removed from
qtinterfaceframework module.

Change-Id: Iff7bcd4591d0e8955d2a96aa8fe31f2af103a0cb
Reviewed-by: Dominik Holland <dominik.holland@qt.io>
2023-12-04 17:35:22 +00:00
Qt Submodule Update Bot
e3e5eaa498 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I7ed1ff8df77ef67d698e71588459ff405cf7d244
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-04 17:35:21 +00:00
Qt Submodule Update Bot
273c409085 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I62853d541f9f335981cdf1433ee0c430bdc1b039
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-02 06:43:08 +00:00
Qt Submodule Update Bot
92d4ab3918 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I0af22df0e3ee517babe4124eb29e1d419b93b56b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-01 05:13:11 +00:00
Samuli Piippo
0f13864a9b qtdeclarative: add dependency to qtsvg
New tool, svgtoqml, was added to qtdeclarative that depends on QtSvg.
Make qtsvg buildable for native and nativesdk, and add dependency to it.

Change-Id: I1778842f4562017580f148267a2a2390098c20f2
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-12-01 05:13:10 +00:00
Samuli Piippo
5cfc35d4f0 qtbase: fix QLibraryInfo prefix with usrmerge
If Qt is configured to use 'relocatable' feature, QLibraryInfo will
at runtime try to determine its prefix path. If distro is using
usrmerge, Qt libraries are found from '/lib' before '/usr/lib' causing
Qt to use wrong prefix '/' when Qt was configure with '/usr' prefix.

With Yocto builds, we have no need for the relocatable feature,
disable it to avoid issues in usrmerge distros.

Pick-to: 6.6 6.5
Fixes: QTBUG-119140
Change-Id: Ied2ca04b5d46cff5d4bed1c456e95235156c58f0
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2023-11-30 07:06:11 +00:00
Qt Submodule Update Bot
941adb0bd2 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I760ee01c356a4f9b2c146f575c34e2a9bbe7441e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-25 04:56:21 +00:00
Qt Submodule Update Bot
689f70bffb Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I59804998a1245d3b1a2356513a01d23d17d8a685
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-22 11:32:39 +00:00
Qt Submodule Update Bot
a9ff2a811f Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I489a359a1765d4ead0badd567a38b1cbe25dbceb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-20 18:32:16 +00:00
Samuli Piippo
ac54355589 qt3d: remove upstreamed patch
Assimp is now updated to version that has the patch applied.

Change-Id: Ib33974d44ada36f79d73f81689fb91cd6d94a355
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-11-17 09:06:22 +00:00
Qt Submodule Update Bot
0ba1a38914 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Idb63eeed28e3b11389a425e3b0508a9a4334bcb3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-17 09:06:14 +00:00
Samuli Piippo
3dc62ec47b qmlcompiler: enable ptest
Issues resolved and the tests can be enabled.

Pick-to: 6.6 6.5
Change-Id: I8c8c0ad8b9864589ed4248a9157159bb55d26407
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-11-17 09:05:42 +00:00
Samuli Piippo
c5d2c93ba1 qtwebengine: enable ptest
Issues resolved and the tests can be enabled.

Pick-to: 6.6 6.5
Change-Id: I052259b23b9836e84faa07be9123078b5bdb7d2d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-11-17 09:05:35 +00:00
Samuli Piippo
51bd35a9f9 qtconnectivity: enable ptest
Issues resolved and the tests can be enabled.

Pick-to: 6.6 6.5
Change-Id: Ia50bf85c006fef63a65762bd37204f86299e7bf9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-11-17 09:05:27 +00:00
Samuli Piippo
097cfd9d54 ptest: better ptest support
Make run-ptest script correctly log passed and failed tests.
Set env variables to make more tests pass correctly.

Pick-to: 6.6 6.5
Change-Id: I3c23a0a093b396df6b88aedc51a15a871f1ba9e9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-11-17 09:05:20 +00:00
Qt Submodule Update Bot
c7cfbb3e9d Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I787fdc259f4e234676079121b8ed988adbcad94d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-13 22:33:33 +00:00
Qt Submodule Update Bot
b6a015f0a5 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ibebe15349ae4605a9d9326d0bf33ad28e737c7b1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-13 15:52:52 +00:00
Kai Kang
2f7cd39ed9 qtgrpc: update to latest revision to fix build failure
Update qtgrpc to latest revision. It reverts

"Require protobuf 3.12 as the minimal supported version"

which causes qtgrpc-native link error.

Change-Id: I186b3dd42460f623e3dd210f2e9bb33fbf120554
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-11-09 16:11:23 +08:00
Michal Klocek
4a78cb1c2d Remove old patches from qtwebengine
The workaround for long rsp file is an old patch
from qt5 times, which should not be needed in qt6
as used toolchains are in-source, therefore created
toolchain labels and later rsp files should not embedded
absolute paths, but simply use 'build/toolchain/yocto'
as this is a location of yocto toochain with-in source
tree.

The second patch is fixed in 112-based in 29354c7c7de.

Task-number: QTBUG-59769
Change-Id: I94a610c4562463f5de3f8bbb29915e05cf40e640
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit bdbb28f362)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-10-20 05:44:59 +00:00
Qt Submodule Update Bot
8a047bd3be Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ie5705beb5bf5691f6fdc19bd048268ab7c3a294c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-10-20 05:44:58 +00:00
Samuli Piippo
511db28072 Workaround too eager packagegroup sanity check
Amend 95fa269ffa and add same workaround
also for the commercial packagegroup to prevent QA error: "An allarch
packagegroup shouldn't depend on packages which are dynamically renamed."

Pick-to: 6.6 6.5
Change-Id: I6eaee9aa74681cfb70fb738d966cd7381f4bcdb0
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
2023-10-19 05:25:43 +00:00
Samuli Piippo
bc1179c5a3 Remove checks for required meta layers
Since meta-openembedded and meta-python are now dependencies,
we can simplify some of the recipes that were checking if the
layers were available. Now always use the features available
from those layers.

Pick-to: 6.6 6.5
Change-Id: Ia70658e0c64b916c9d36ad9aca4c40172b86b5b6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-10-18 12:39:59 +00:00
Samuli Piippo
3df4dfb2e2 qtgraphs: remove opengl requirement
QtGraphs no longer requires opengl to work.

Pick-to: 6.6
Change-Id: I03e166dc2d4265b74156f17d56ba4e20bc180bfd
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-10-17 11:45:51 +00:00
Qt Submodule Update Bot
6ec6b62dad Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I763565f0920efb1bf17cd424334098ab08a03685
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-10-12 16:58:36 +00:00
Samuli Piippo
4b5f7744d4 qtbase: add PACKAGECONFIG for egldevice platform plugin
The eglfs EglDevice platform plugin is used only in NVIDIA boards.
Add separate PACKAGECONFIG so it can be disabled by default,
otherwise it gets built whenever kms is enabled.

Pick-to: 6.6 6.5
Change-Id: I98b56f4ff1c9dc04a0c0df3ab51f908608c52fbd
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-10-12 12:03:32 +00:00
Qt Submodule Update Bot
b091031439 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ia8a29b697788adefe484610b307f061639bcc518
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-10-05 22:40:08 +00:00
Qt Submodule Update Bot
080d5982c0 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ib7afe389db2d60529d36fe2b41f51c299e3074fa
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-10-04 13:42:23 +00:00
Samuli Piippo
234a3be0a8 qtapplicationmanager: remove unneeded CFLAGS
Use of execinfo has been fixed in the module, no need
to add flags here.

Change-Id: I65bbb6e304c59d345e2425f5e9da7f8006479925
Reviewed-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-10-04 10:08:36 +00:00
Samuli Piippo
9566cdd31e qtopcua: add support for native and nativesdk
Starting with Qt 6.7, Qt OPC UA comes with a data type generator.
Add support for native and nativesdk builds.

Change-Id: Ia840870417e39862f04f02ba8da868a5659acd14
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-10-03 07:43:31 +00:00
Qt Submodule Update Bot
b0041aef2c Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I46cff826d8e052ad53a18a6ccdf05fe241b690dd
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-10-03 07:43:06 +00:00
Andreas Cord-Landwehr
806a39f3ac qtbase: add at-spi2-core as dependency for accessibility option
Without at-spi2-core the SPI bridge API is not being built.

Pick-to: 6.6 6.5
Change-Id: I49232f933b96597fba721473dd7dcf894d60d9cd
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-10-02 16:37:18 +02:00
Samuli Piippo
98eb819c18 qtmultimedia: enable ffmpeg only if its license is accepted
QtMultimedia can use FFmpeg, but it has has somewhat problematic license
and user must accept it before it can be built. Enable FFmpeg backend
by default only if the license has been accepted in LICENSE_FLAGS_ACCEPTED.

Pick-to: 6.6 6.5
Change-Id: If23ee18fa7ac7f92f58bf9d09d8e96aedd08b625
Reviewed-by: Inkamari Harjula <inkamari.harjula@qt.io>
2023-10-02 11:38:09 +03:00
Qt Submodule Update Bot
96c3988dab Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ia3fe4693cc260c9b8470a00a9f7c6dbc30025258
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-27 11:45:41 +00:00
Samuli Piippo
12b1d381ea Revert "qtbase: fix build with kirkstone"
This reverts commit fd946afc0a.
Fix was merged in qtbase.

Change-Id: I16c05ad1f681a8a92b83c2bad6aa69de8ab2e35f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-09-26 13:53:05 +00:00
Qt Submodule Update Bot
add471f503 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ie43409b68ac47a4f970b2f812a0b14580d60ea4d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-25 13:06:09 +00:00
Qt Submodule Update Bot
60deda9f57 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I22fd0a05b06f87f7dc9195a81c4ec0f95ec189d7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-21 10:47:46 +00:00
Qt Submodule Update Bot
6b66a78f1b Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I6ae1be46a869ab5bf5b67253634bf663c69599e5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-19 23:18:58 +00:00
Qt Submodule Update Bot
a674050be5 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I8f14e07947bd37f437c4612908876378566c426d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-18 20:33:30 +00:00
Samuli Piippo
1fd1ae94de Revert "qtwebengine: fix build without DRI"
This reverts commit 9ef6d50fa2.
Patch was merged upstream.

Change-Id: I967fe401fe91fdf4776b3a9646c5db98bd6b0f3b
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 5695e5a52e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-09-18 10:01:08 +00:00
Khem Raj
8c738d89dd qtapplicationmanager: Fix build with musl
execinfo is not part of main C library on musl, but we do have a package
providing that, therefore depend on it when using musl.

Change-Id: I99b1651b5a8096a3014be3588a84e21ddac1c761
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-09-13 17:19:49 +00:00
Qt Submodule Update Bot
437af2514a Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I1272826584466e6af0a2f3e9934bdb7ccc302457
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-31 11:36:33 +00:00
Qt Submodule Update Bot
192b21fdf4 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I180e4c23a31daeafa5e9b489658be6bb4ad8a995
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-31 07:01:04 +00:00
Jaeyoon Jung
7c2a20a1c5 qtshadertools: Fix missing dependency to spirv-tools
qsb needs spirv-tools when -O flag is given, but it is not pulled in
recipe-sysroot-native due to missing dependency. It causes qsb files
are not created as output. Errors like below can be seen with a small
tweak that makes qsb run with no -s flag.

[1/218] cd /home/noelma/work/webos/build-webos/BUILD/work/x86_64-linux/qtdeclarative-native/6.7.0-r0/build/src/quick && /home/noelma/work/webos/build-webos/BUILD/work/x86_64-linux/qtdeclarative-native/6.7.0-r0/recipe-sysroot-native/usr/bin/qsb --glsl 100es,120,150 --hlsl 50 --msl 12 -b -O -o /home/noelma/work/webos/build-webos/BUILD/work/x86_64-linux/qtdeclarative-native/6.7.0-r0/build/src/quick/.qsb/scenegraph/shaders_ng/8bittextmask.frag.qsb /home/noelma/work/webos/build-webos/BUILD/work/x86_64-linux/qtdeclarative-native/6.7.0-r0/git/src/quick/scenegraph/shaders_ng/8bittextmask.frag
spirv-opt -O /tmp/qsb-XOAphY/qsb_spv_temp -o /tmp/qsb-XOAphY/qsb_spv_temp_out
Failed to run spirv-opt -O /tmp/qsb-XOAphY/qsb_spv_temp -o /tmp/qsb-XOAphY/qsb_spv_temp_out: Child process set up failed: execve: No such file or directory

Pick-to: 6.6 6.5 6.2
Change-Id: I49c88711be4ca09425fa71f8ce8eda88256370f6
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-08-30 10:26:02 +00:00
Khem Raj
76801cc905 qtbase: Add locale-base-c only on glibc based targets
Musl e.g. does not provide these locales

Change-Id: I41071c2a2e3eef0fdf653cc80a31f72f22f93893
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-08-29 17:32:54 -07:00
Samuli Piippo
deab0703da qtbase: fix install if lcl_maybe_fortify is empty
lcl_maybe_fortify might be empty, which would make sed fail during
do_install. Workaround this by adding space to the substitution
pattern.

Fixes: QTBUG-115588
Pick-to: 6.6 6.5 6.2
Change-Id: Ic6c5a6c80011dfefc92e1b2d7aadc48cce82ed7a
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-08-28 09:43:33 +00:00
Samuli Piippo
7f09ce9d51 qtwebengine: fix build without DRI
Task-number: QTBUG-116152
Change-Id: Idfdf639edf3dd09928f865dafd3f73ffcef1fa7d
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 9ef6d50fa2)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-25 18:09:49 +00:00
Samuli Piippo
ff3b6d4269 qtdeclarative: add dependency to QtSvg for example
Examples now have dependency to QtSvg, include it if examples
are enabled.

Pick-to: 6.6
Change-Id: Ie049a282456f3647b280b788a3a589c74aeedeba
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-25 08:38:21 +00:00
Qt Submodule Update Bot
c858fd3c0a Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Iebf110c8bb5a489510be6a68e89d47d4dc8d62a4
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-25 08:38:19 +00:00
Samuli Piippo
fef57b1545 qtwebengine: fix x86_64 build of ffmpeg
Backport fix from oe-core/ffmpeg.

Pick-to: 6.6 6.5
Change-Id: Id1fec1ef32f3ce8233c57a6caab18457ca3f8a72
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-22 13:03:58 +00:00
Michael Brüning
f6f7f8b569 Use std::size_t instead of int to store position in string
Using int caused a compilation error with GCC 12.

Fixes: QTBUG-115981
Change-Id: I82107b143995ced6de0facb41e9964e42148d402
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 7d72d5053a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-08-22 13:03:53 +00:00
Mikko Gronoff
94ee1bcf16 qtwebengine: update chromium branch
Now using 112 branch.

Change-Id: I193759ca61b6b09c23865a54cb6be3477e67e849
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit d40da8f6cb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-08-22 13:03:49 +00:00
Qt Submodule Update Bot
fff78c0a11 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Iec9c4e23d13c5c34584064063e3442a592e5304a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-22 13:03:44 +00:00
Samuli Piippo
fd946afc0a qtbase: fix build with kirkstone
sqlite3 is too old for the current code in qtbase.

Change-Id: I53d31b8d247590a45bf20971758be31f3404629e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-22 13:03:27 +00:00
Samuli Piippo
69a8018ec1 qtshadertools: add runtime dependency to spirv-tools
Add runtime dependency to spirv-tools as the qsb utility can use
spirv-opt at runtime. Cannot include it for mingw32 toolchain
as compilation fails.

To support dunfell, add BBCLASSEXTEND append to the spirv-tools.

Fixes: QTBUG-113210
Pick-to: 6.6 6.5 6.2
Change-Id: Icce264b1f2bff5f56cf2b40a0420c5001493e236
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-15 12:00:58 +00:00
Samuli Piippo
c0318a6ad8 examples: add runtime dependency to main package
If examples are only using QML modules, the package manager won't
add automatic dependency to either the main or -qmlplugins packages,
and those might not get installed to the image. Add the runtime
dependency explicitly for the examples package.

Fixes: QTBUG-115310
Pick-to: 6.6 6.5 6.2
Change-Id: I5b713d3a65f794da1ab0113cf1d7f69035e29288
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-15 12:00:40 +00:00
Khem Raj
431d1405f8 qtwebview: Match COMPATIBLE_MACHINE with qtwebengine
qtwebview has direct build dependency on qtwebengine and it can be tried
to build in world builds since it does not have same restrictions on
supported hosts as qtwenengine, therefore match it.

Change-Id: I018471bacc232349a5763822daf3131ae32f17c0
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-08-15 05:00:23 -07:00
Khem Raj
d4785f6c6f conan.inc: Remove support
meta-qt6 plans to use conan have not materialized

Change-Id: I038dcf17729e4706f5319ddd3e0f33d4a5facc2d
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-08-15 05:00:12 -07:00
Khem Raj
3484b503b5 qtbase: Add a packageconfig knob to enable lld linker
Change-Id: I402859e22fae0151424c2187401fa9576b616d19
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-08-15 05:00:05 -07:00
Martin Jansa
d65dc4592b *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

Change-Id: I2da4efd9736cccb73f8f5fa40ff4fd4c973183c5
Pick-to: 6.6 6.5
Reviewed-by: Martin Jansa <Martin.Jansa@gmail.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-08-14 12:11:28 +02:00
Samuli Piippo
4af8539dcf qtwebengine: update patch
Fuzz detected.

Pick-to: 6.6
Change-Id: I5be6c8841f414a3fe73d0805be6b2b83e667c155
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-06-09 05:53:53 +00:00
Qt Submodule Update Bot
fdbfe37d38 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I9cfcdf63c9908be61782638d5b7bd80c5c61582c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-06-09 05:53:29 +00:00
Samuli Piippo
4729a37e36 qttools: add PACKAGECONFIG for clang dependency
QDoc depends on libclang and using clang toolchain causes build error:
| CMake Error at qttools/6.6.0-r0/recipe-sysroot/usr/lib/cmake/Qt6/QtToolHelpers.cmake:623 (message):
|   Failed to find the host tool "Qt6::qdoc".  It is part of the Qt6ToolsTools
|   package, but the package did not contain the tool.  Make sure that the host
|   module Tools was built with all features enabled (no explicitly disabled
|   tools).
because libclang was found for qttools-native, but not for the target.

Add PACKAGECONFIG that can be enabled when using clang toolchain
if there is need for the qdoc, but otherwise keep it disabled.

Pick-to: 6.6 6.5 6.2
Change-Id: Idc4e35936511ef0c208d7e8fd6f8fc51f3f8a1e2
Reviewed-by: Martin Jansa <Martin.Jansa@gmail.com>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Reviewed-by: Khem Raj <raj.khem@gmail.com>
2023-06-08 13:20:07 +00:00
Qt Submodule Update Bot
8b9d5c95ca Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I1745e6fe5ba8ff72116f43acebd740838deb8735
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-31 07:50:46 +00:00
Samuli Piippo
8f67afff3f qtbase: add PACKAGECONFIGs for different linkers
Add PACKAGECONFIG options for gold and bfd linkers so that they can
be easily changed independently of the ld-is-gold DISTRO_FEATURE.

For CI builds, drop ld-is-gold feature and instead enable gold only
for Qt modules.

Pick-to: 6.5
Change-Id: I63e3835f15c732f57740b6718245e4f45ddb6c8c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-05-29 17:07:17 +00:00
Samuli Piippo
6ad68945b5 qtbase: add runtime dependency to C.UTF-8 locale
Qt expects to have UTF-8 locale available. If the current locale
is not UTF-8, Qt will try to use C.UTF-8 locale. Make that available
by adding RRECOMMENDS to locale-base-c package.

Task-number: QTBUG-113371
Pick-to: 6.5 6.2
Change-Id: I48f18488413168afbeffddb9eac58985d1b8a988
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-05-29 04:38:35 +00:00
Samuli Piippo
30f672a28d qtwayland: update patch
Fuzz detected.

Change-Id: I422205975b9d6acfa67c238bf27fe334fb678727
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-05-29 04:37:29 +00:00
Qt Submodule Update Bot
3571ef11fa Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: If0be552e9c3c6f7699d78333240435f723604d4f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-29 04:37:25 +00:00
Martin Jansa
e1cacf710f qt3d: Backport assimp fix for build with gcc-13
* fixes:
  http://errors.yoctoproject.org/Errors/Details/704200/

  qt3d/6.5.0-r0/git/src/3rdparty/assimp/src/code/AssetLib/FBX/FBXBinaryTokenizer.cpp:475:61: error: 'uint32_t' is not a member of 'std'; did you mean 'wint_t'?
    475 |         if (!is64bits && (length > std::numeric_limits<std::uint32_t>::max())) {
        |                                                             ^~~~~~~~
        |                                                             wint_t

Pick-to: 6.5
Change-Id: I503f18ae93a24fe08b66827b4ab2dc5b7562819a
Reviewed-by: Martin Jansa <Martin.Jansa@gmail.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-05-25 07:23:32 +02:00
Qt Submodule Update Bot
cf976a7d83 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I512089793ac3ada9e7a76a3af89fec49ada978ae
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-23 08:58:00 +00:00
Samuli Piippo
6777ad5f22 qtvncserver: add PACKAGECONFIG to enable password protection
If LibTomCrypt is available, Qt VNC Server will be built with support
for password protection using DEC Authentication.

Pick-to: 6.5
Change-Id: Id866d1facbbff0a50c39fe2e440e64e3cca8a579
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-05-19 04:27:47 +00:00
Qt Submodule Update Bot
44b5c08a38 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I40c7af9f3b6b8b5fd3d19d5ff5c16db7ea0ec56a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-16 11:44:05 +00:00
Qt Submodule Update Bot
2bb6b8dcc3 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: If5217b9e821089f658ff3d6efcd016cb204e2aa3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-15 13:32:06 +00:00
Qt Submodule Update Bot
c3512694d2 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I2200feae28698a7fcafd46f29158b33a24ea3816
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-12 06:41:14 +00:00
Mikko Gronoff
f6958965bd Revert "qtgrpc: add patch for build issue"
This reverts commit 0300ccc33f.

Reason for revert: available upstream

Change-Id: I1e9f1257cfc50d412d2e4c2f2b018b1ea596e890
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-05-12 06:41:13 +00:00
Mikko Gronoff
0300ccc33f qtgrpc: add patch for build issue
Add (upstream pending) patch to fix build issue in the module:

"error: format not a string literal and no format arguments [-Werror=format-security]
| 194 | QTest::addRow(rus.id().constData())"

Change-Id: I4cedc32cca000fc217e88a8a832c258e60a0cb4f
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-05-08 16:47:38 +03:00
Mikko Gronoff
c12a762bfe qtwebengine, qtwayland: refresh patches
Refresh patches to fix build after latest submodule update.

Change-Id: I7f4e5d05287af89332b104b5a74f7ea93d049baa
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit c97feb4696)
2023-05-08 16:47:15 +03:00
Qt Submodule Update Bot
a7a5c14328 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I1253e710eed5785695b09dc8fe49ee10c66e059d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-05-08 13:47:03 +00:00
Samuli Piippo
5b387fd78d packagegroups: enable workaround for allarch packagegroup
Enable workaround for the sanity check of allarch packagegroups
which caused
ERROR: nativesdk-packagegroup-qt6-toolchain-host-essentials-1.0-r0
  do_package_write_rpm: An allarch packagegroup shouldn't depend on
  packages which are dynamically renamed (nativesdk-qttools-dev
  to nativesdk-libqt6uitools-dev)

Nativesdk changes the PACKAGE_ARCH correctly, but it cannot be
inherited first because that would throw another sanity warning.

Pick-to: 6.5 6.2
Fixes: QTBUG-113178
Change-Id: Ifd77ef76f37b9fe39ef38adcc28c87130bf6d6d4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-04-28 06:47:18 +00:00
Qt Submodule Update Bot
07a1ee7ec1 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I55ac80b7554b0c5d4b6ba5292912020921b7980a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-04-25 23:25:54 +00:00
Samuli Piippo
a938dbc6c5 qtgraphs: include only when opengl is available
QtGraphs has hard dependency to opengl, don't include it in packagegroup
unless DISTRO_FEATURE is enabled.

Change-Id: I86ea98c7dd70d25ba20b348681e3c17e782c9576
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-04-20 18:46:33 +00:00
Samuli Piippo
8f50970006 qtwayland: enable all wayland drivers
Remove separate dmabuf PACKAGECONFIGs and let qtwayland
enable all client buffer integration plugins it can.

Task-number: QTBUG-112725
Pick-to: 6.5
Change-Id: Ic841f3349fee36e5207d9b60e5733ac8ee79ee56
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-04-19 10:20:54 +00:00
Samuli Piippo
4d5ed9e090 Add recipe for Qt Graphs
Qt Graphs for data visualization will be replacement for Qt Datavis 3D.

Fixes: QTBUG-112806
Change-Id: I63e5c746a1e79c14a7e203800d60401497e5bb0d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-04-19 10:20:30 +00:00
Martin Jansa
f26b62e29e packagegroup-qt6-commercial-modules: include qt6-commercial.inc
* all rdepends are skipped without Commercial Qt, make sure the
  packagegroup is skipped as well

* fixes:
  ERROR: Nothing RPROVIDES 'qmlcompilerplus' (but meta-qt6/recipes-qt/packagegroups/packagegroup-qt6-commercial-modules.bb RDEPENDS on or otherwise requires it)
  qmlcompilerplus was skipped: Available only with Commercial Qt
  NOTE: Runtime target 'qmlcompilerplus' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['qmlcompilerplus']
  ERROR: Nothing RPROVIDES 'qtvncserver' (but meta-qt6/recipes-qt/packagegroups/packagegroup-qt6-commercial-modules.bb RDEPENDS on or otherwise requires it)
  qtvncserver was skipped: Available only with Commercial Qt
  NOTE: Runtime target 'qtvncserver' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['qtvncserver']

Pick-to: 6.5 6.4
Change-Id: I373c034989a643b5e95f84deb5130580201eddea
Reviewed-by: Martin Jansa <Martin.Jansa@gmail.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-04-17 10:29:07 +02:00
Qt Submodule Update Bot
72ff67de1d Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I665f1dafe100ab9bb24a6f54ba74b512dae3244c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-30 04:58:12 +00:00
Qt Submodule Update Bot
7f534313c6 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ib5b1ae1a8090927efe17d7cc16c8dbd43646b910
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-29 02:10:59 +00:00
Samuli Piippo
e54ee19bfa Make python-html5lib optional
Add python-html5lib to the SDK only if openembedded layer is available.

Pick-to: 6.5
Change-Id: I381382c355e2834c2aadd5976e59007be0549ac9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-03-27 10:39:43 +00:00
Samuli Piippo
a4bf9c64e5 qtserialbus: socketcan need openembedded layer
Don't enable socketcan PACKAGECONFIG unless openembedded layer
is available.

Pick-to: 6.5 6.2
Change-Id: I54aa0d70014448bf5425ef7a49f9a32e27ba7807
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-03-27 10:39:39 +00:00
Qt Submodule Update Bot
99256fd797 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ief959ca1a20ba4764cdb00e3638340dd68ea0643
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-24 07:18:33 +00:00
Andrej Valek
d4f4b54f4e qt6-git: do not override CVE products
Some components use also base name in NVD CVE database product:
| sqlite> select * from products where product like 'qtbase';
| CVE-2019-18281|qt|qtbase|5.11.0|>=|5.11.3|<=
| CVE-2019-18281|qt|qtbase|5.12.0|>=|5.12.5|<
| sqlite> select * from products where product like 'qtsvg';
| CVE-2021-45930|qt|qtsvg|5.0.0|>=|5.15.2|<=
| CVE-2021-45930|qt|qtsvg|6.0.0|>=|6.2.1|<=

Pick-to: 6.5 6.4 6.2
Change-Id: Ic8cbc59522731f49907e10bf08c6a00a213ae006
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-03-22 14:03:11 +00:00
Qt Submodule Update Bot
2ce7415544 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I1da1c9b6b95d5d4d3f20b9b63b9b9c2687179fa0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-22 04:27:11 +00:00
Qt Submodule Update Bot
ab985c2b26 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I1af8a1c4bdf7d5f925ac064e0a9bf351dd620724
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-03-20 13:52:52 +00:00
Samuli Piippo
e44a806e40 qtgrpc: add dependency to declarative for examples
Additional examples depend on QtQuick.

Pick-to: 6.5
Change-Id: I0373dc10d072f75c4f099131aa9b6d7876e17808
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-03-20 13:52:50 +00:00
Samuli Piippo
858a8773e0 qtbase: refresh patch
Fuzz detected.

Change-Id: I09e53fe47a8e01384fce9bdf5960f3c4f1f51093
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 60fc617037)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-03-20 13:52:49 +00:00
Samuli Piippo
0c6fa29d50 Revert "qtbase: fix native build"
This reverts commit 8673fed36e.
Fix has been merged in qtbase.

Change-Id: I76080c148d29090254d5be613469ac48532031c7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-03-20 13:52:48 +00:00
Samuli Piippo
b794bfbd8b qtspeech: add dependency to qtmultimedia
QtSpeech now has hard dependency to QtMultimedia.

Change-Id: I61e2d73c004b225678c040c0096c38c2ea8597a7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-03-20 13:52:46 +00:00
Samuli Piippo
0df94cceef qtbase: update patches
Fuzz detected.

Change-Id: I13269e8d0cf239f32348e70dec3e2e7fb6e2cc84
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit a6bdb1e987)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-03-20 13:52:45 +00:00
Samuli Piippo
e136d33bc5 Revert "qtbase: workaround broken config for librt"
This reverts commit 36006c9897.
CMake configuration was fixes in qtbase.

Change-Id: I036e1045a4ea79a864a02afe81e7e477d23a7a86
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-03-20 13:52:44 +00:00
Michal Klocek
aec03e788c Add python3-html5lib to sdk
This is required by qtwebenigne to be compiled with sdk.

Pick-to: 6.5
Change-Id: I0053ca241c1b60b60edbc99f0830434a1d95f92d
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-03-15 13:55:52 +01:00
Ari Parkkila
ea4489ce49 Change GCC optimization for qtwebengine on armv7a-neon
Disable -O2 optimization to avoid SIGBUS alignment failure, see
GCC compiler bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97473

Fixes: QTBUG-109565
Pick-to: 6.5 6.5.0
Change-Id: I4e6b2c27ad851666b1f25d472932b601442d2fe6
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-03-07 08:25:50 +02:00
Samuli Piippo
4862c58253 qtmultimedia: make default backend configurable
QtMultimedia provides gstreamer and ffmpeg backends where ffmepg is the
default backend. Add configuration that allows changing the default
backend and make gstreamer the default one.

Pick-to: 6.5
Change-Id: I1d9f8916508ddf11c1ef2908543d77e12acdf0bc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-02-27 08:04:09 +00:00
Samuli Piippo
ff2d48090b qtmultimedia: add PACKAGECONFIGs for spatialaudio
Provides additional QML module for spatialaudio with QtQuick3D.

Pick-to: 6.5 6.4
Change-Id: I4d10a430a6f162c94998ef4a9b20ef9e91897f18
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-02-27 08:04:03 +00:00
Samuli Piippo
f395b92330 qttools: update revision
Needed to fix example build.

Change-Id: I784581fc50a5219bb6dff8cb5d8236833ba7937f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-02-10 07:36:50 +00:00
Samuli Piippo
36006c9897 qtbase: workaround broken config for librt
Posix shared memory feature depends on librt which is used from
uninative package in native build. CMake doesn't find it there,
which breaks the build. Workaround this by disabling the feature.

Task-number: QTBUG-111049
Change-Id: I68ab6fd2f4d0520f125dd8e3c13266477dfc26c1
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-02-10 07:36:49 +00:00
Qt Submodule Update Bot
f555df08fc Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ia06554a6ef955d0307c49ccbdb3f4f8cf2212110
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-02-10 07:36:48 +00:00
Samuli Piippo
8673fed36e qtbase: fix native build
Temporary patch until fixed in qtbase.

Change-Id: I0982ac5ee3c8243cff018c6a403e4c434a92aebb
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-02-10 07:36:45 +00:00
Samuli Piippo
b1db9ca0d5 qtbase: enable kms platform plugin by default
Most targets can already use the kms/gbm platform plugins, so enabled
them by default. Targets that don't provide them can override the
PACKAGECONFIG_GRAPHICS to define which graphic backend they support.

Pick-to: 6.5
Change-Id: I85b310608772884134a63138781aad9fa1220110
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-01-31 09:08:54 +00:00
Samuli Piippo
a6f9d2499b Use global variable for Qt version
Add a global variable that can be used whenever meta-qt6 layer is
included in the build to identify the Qt version.

Pick-to: 6.5 6.4 6.2
Change-Id: I3d40d151e0be9f9123d2bf7cbe34a44861e7b093
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-01-30 06:24:38 +00:00
Samuli Piippo
8c17fb058a qtgrpc: include host tools in the toolchain
Add fix for protobuf so that we can build and include nativesdk-qtgrpc
in the toolchain. The protobuf fix has been merged in meta-openembedded
master, but not in langdale.

Pick-to: 6.5
Change-Id: I37a90e1a79d64a8154ab6fb510a9d8d5cf6d26c5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-01-27 10:39:06 +00:00
Samuli Piippo
fdf3b8ae41 qttranslations: add catalogs.json into dev package
A new catalogs.json file is created for deployment purposes.
Include it a dev package.

Change-Id: I2e28c9ee886d8f09a79c5f13cf38e47cb2dc81f0
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit b6928361f7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-01-25 13:38:24 +00:00
Samuli Piippo
47416406c4 qtwebengine: update chromium revision
Task-number: QTBUG-110272
Change-Id: Ic031c857483777deeacbd65f7beaf7c007fccb08
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit de89ed0547)
2023-01-20 13:56:47 +00:00
Samuli Piippo
9ad2cce88e qtbase: move xkbcommon and glib to defaults
Both xkbcommon (for keyboard handling) and glib (for eventloop)
are useful also without X11. Move them to default PACKAGECONFIGs.

Pick-to: 6.5
Change-Id: Ib298a0916d781fd11c0e4ad53dc642734d60ca3b
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-01-20 13:56:39 +00:00
Samuli Piippo
91a21476ab qtbase: use correct path to libdir
Qt might be using different path to libs.

Pick-to: 6.5 6.4 6.2
Change-Id: Iaf0721af1c5e74cd293437cb35c287bd820fa3a5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-01-20 13:56:27 +00:00
Samuli Piippo
a11e036440 qtbase: fix scripts from libexec dir
Some of the scripts were moved to libexec dir, which must also
be patched.

Pick-to: 6.5
Change-Id: I2099f61f8dbdf8d4eed010de146f18146585a40e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-01-20 13:56:20 +00:00
Samuli Piippo
cf715572cb qtmultimedia: enable ffmpeg backend
The ffmpeg backend is now the default backend for qtmultimedia.
Environment variable QT_MEDIA_BACKEND can used at runtime to
selected between the ffmpeg and gstreamer backends.

Pick-to: 6.5
Change-Id: I751737fd7adaeeceb58e889765435750f3c3f274
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-01-19 09:14:36 +00:00
Mikko Gronoff
c80c820012 webengine: update chromium branch
Webengine updated to chromium 108 branch.

Change-Id: Ia67581eee6d0963b77bd4d60724d2845d03f94bd
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit f4c32a89eb)
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-01-18 20:30:00 +00:00
Qt Submodule Update Bot
a4f7961feb Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ie0a2150d3e711e198cf0e0955f9a06fefbf07500
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-01-18 20:29:59 +00:00
Samuli Piippo
56710e8724 Add recipe for QtInsightTracker
QtInsightTracker is a commercial-only module.

Task-number: ANALYTICS-237
Task-number: QTBUG-108568
Pick-to: 6.5
Change-Id: I30412dec8552898b76865402c2e2ccfcae8d1904
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-01-16 16:12:21 +00:00
Samuli Piippo
cfaf86d808 sdk: move sdk mkspec additions to qtbase recipe
The qmake mkspec additions are used with the sdk when the toolchain
environment-setup script hasn't been run. Instead of adding those in
the sdk creation phase, do it already in the qtbase recipe.

Change the mkspec also so that CC/CXX has only the compiler executable,
but none of the compile flags that usually are there in Yocto builds.
This keeps Qt Creator happier as well.

Pick-to: 6.5 6.4 6.2
Task-number: QTCREATORBUG-27372
Change-Id: If27d595965df59ff9846f4c773469889a8480040
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-01-11 14:45:22 +00:00
Qt Submodule Update Bot
cfbcd5f4f1 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Id9246b401328e0f3bc9c04b42e37a9361dce34d8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-01-05 10:32:10 +00:00
Qt Submodule Update Bot
be98220dcf Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Icbe7a67e02e34bf42f1b1b2f1e870559be560d1f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-01-03 16:21:38 +00:00
Samuli Piippo
afcf7b2858 qtvncserver: update license files
Change-Id: I29db1238fa7fd5222fe18c60b4446a076f56f412
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-01-03 16:21:36 +00:00
Samuli Piippo
ee488f6111 qtvncserver: update license checksum
Module switched to SPDX license headers.

Change-Id: I84ab9ab1b9228fe714d940035500b38ed1198ddf
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-12-22 05:43:08 +00:00
Qt Submodule Update Bot
d2a6f8bcf1 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I84a183df6a6a360998ea3f3a48544280bef5806d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-12-22 05:43:07 +00:00
Mikko Gronoff
98edd0f33d Bump PV to 6.6.0
Update/replace previous version update commit
35cf4c22b1, dev branch
is the future 6.6.

Change-Id: I7a57abbf64a5219271dc7fbf5a9fe84de1d038a3
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-12-19 09:01:14 +02:00
Qt Submodule Update Bot
22ae587790 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I5313d97dc76405a1171d44ba4117a7218459a97f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-12-16 22:53:51 +00:00
Mikko Gronoff
35cf4c22b1 Bump PV to 6.5.1
Change-Id: I7fc0d86aac9ad4304b079fbab316dcf77b577033
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2022-12-15 09:11:15 +02:00
Qt Submodule Update Bot
124fd6fd54 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ia6f93574b24e543e479169897f2d050fc949c0c7
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-12-13 01:06:41 +00:00
Samuli Piippo
28842c8014 Don't validate the SRCREV value against the branch
Qt modules recently lost all their release branches in their git
repositories. This broke previous releases since bitbake validates
that SRCREV can be found from the current branch. Add additional
parameter to repo URI to stop bitbake from validating the SRCREV.

Pick-to: 6.4 6.4.2 6.2
Task-number: QTBUG-109319
Change-Id: Ib61164839fdbc5938a23b92ab03f3c07e945812f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-12-12 06:39:37 +00:00
Samuli Piippo
50fc8ccb9e qtwayland: remove xcomposite PACKAGECONFIGs
The XComposite buffer sharing extensions have been removed from QtWayland.

Pick-to: 6.4
Change-Id: I681ad58338567f8666f812c5acea4a7bbf9a87f4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-12-08 11:34:39 +00:00
Samuli Piippo
a03da688dc qtwebengine: disable ptest
Temporarily disable ptest until fix is merged.

Change-Id: I6662af0ad2a3e011ad8712c6aa2e065eb55b21b5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-12-07 08:05:59 +00:00
Mikko Gronoff
0a2bc5a74d Revert "webengine: add patch for python 3.11 build issue"
This reverts commit 676e6da41b.

Reason for revert: Patch included now in upstream chromium with latest submodule update.

Change-Id: Iec46fcf9bc0e89c53f5c61d19cceed88d639b412
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2022-12-07 08:05:52 +00:00
Qt Submodule Update Bot
b5ccdd5e20 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Idd728ffe02dfc4a0759747374e249779a7245e27
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-12-07 08:05:40 +00:00
Samuli Piippo
6db104bd29 Add recipe for QtgRPC
QtgRPC module is Providing protobuf and gRPC support for Qt.

Cannot include nativesdk-qtgrpc in the sdk yet, since it requires
fix to protobuf recipe in meta-openembedded.

Task-number: QTBUG-107921
Change-Id: Ie5ef1b493b1b5550c7b7f308a638c9855342dfa5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-11-24 12:20:31 +00:00
Samuli Piippo
fb725ebed9 Add recipe for QtLocation
QtLocation is back in Qt 6.5.

Task-number: QTBUG-108731
Change-Id: Id86ade02040d626ecadb6c35f173b3be25f02e97
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2022-11-24 05:53:33 +00:00
Qt Submodule Update Bot
ba055c2d9b Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ie7169b46d6922bdfa3ad411278d453fb1be9b6fc
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-11-17 13:46:41 +00:00
Qt Submodule Update Bot
051919e2a4 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ia5513e6fef214f2f2eba64acf77e9232811fc41f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-11-14 23:34:10 +00:00
Samuli Piippo
c48b6f8890 Use *-tools package only for tools
Some of the modules have executables that are necessary for the
module to work properly. Don't put them into the *-tools package
which is not installed by default.

Task-number: QTBUG-99702
Change-Id: I7a9e8532862644574bd2bfb729e6efe466dac070
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-11-14 08:06:30 +00:00
Samuli Piippo
63ba821b5c sdk: add new class for populating qt6 sdk
Add new class that can be used to create toolchain containing
all available Qt modules.

Pick-to: 6.4 6.2
Change-Id: I84982749ea9093bbbd20f99391b063c4bcaee39f
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-11-11 13:32:46 +00:00
Samuli Piippo
7731aab502 qtwebengine: add dependency to cups
Printing support needs cups in cases when it's not already enabled
in qtbase.

Pick-to: 6.4 6.4.1 6.2
Change-Id: I5435bdd61b418f91524726571c9acd2cea92c729
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-11-09 13:23:28 +00:00
Samuli Piippo
4c5d3e2c3c qtbase: enable better image support for native builds
Enable jpeg support for qtbase-native, needed at least by shadergen.
To use system png, zlib needs to be enabled as well.

Pick-to: 6.4 6.2
Change-Id: I0bea658d689fb99596374701b11aa9ce028e882d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-11-08 08:15:41 +00:00
Qt Submodule Update Bot
47ec7eaea7 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I8174f5db17b7f9a5837497e71bd05f75d583a0ab
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-11-08 08:15:05 +00:00
Mikko Gronoff
676e6da41b webengine: add patch for python 3.11 build issue
yocto master branch updated python to 3.11, resulting
in webengine build error(s):

"File "/home/qt/work/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/qtwebengine/6.4.1-r0/git/src/3rdparty/chromium/tools/grit/grit/util.py", line 214, in ReadFile
with io.open(filename, mode, encoding=encoding) as f:
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid mode: 'rU'"

Add patch from chromium upstream.

Pick-to: 6.4 6.4.1 6.2
Change-Id: I6308d2acd17a74b20ad6651d59f34e7246dc96ef
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2022-11-03 09:16:26 +02:00
Samuli Piippo
6cb5390957 qtbase: add dependency to patchelf
Build now require either patchelf or CMake to 3.21 or newer. To support
older Yocto version, add dependency to patchelf.

Change-Id: Id0ef1787e3da0f302d31a0ab3048155b661b64af
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-10-21 06:14:09 +00:00
Qt Submodule Update Bot
c9db653fb7 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ia41163b5227a52f5b98b7c88139e507fb86daffe
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-10-21 06:14:01 +00:00
Samuli Piippo
aa5aa76ef1 qtwebengine: move to 102-based chromium
Latest chromium no longer supports x86 builds.
Enabled spellchecker as build fails without it.

Change-Id: I6f40d48c20a47edbbc958e2f9c25907d05feb5b1
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit c1441fcabc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-10-20 07:19:52 +00:00
Samuli Piippo
f51473e349 qtopcua: update revision
Includes fix for OpenSSL 3.0.

Change-Id: I8c867f90ebc4a3bbea57995c5428ac4ae017e213
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-10-20 07:19:31 +00:00
Samuli Piippo
4e4577a08e qtbase: add dependency to xcb-util-cursor
The XCB support now uses libxcb-cursor instead of Xlib/libXcursor.
The recipe is available in meta-openembedded, which now makes
it a mandatory layer for XCB support.

Task-number: QTBUG-67373
Change-Id: I40a1d100fd06aaeb31b3d4876de0ce6e7d836632
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2022-10-20 07:19:18 +00:00
Mikko Gronoff
a3d1baf37c qtshadertools: update license checksum
Change-Id: Ied742572ed1f41a5fb0972a8f4b3908558102abe
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-10-20 07:19:08 +00:00
Samuli Piippo
444b6cc7ad qtquick3dphysics: include the new cooker tool to images
QtQuick3DPhysics has a new runtime tool that should be included
in the images.

Pick-to: 6.4
Change-Id: Ib6dd643217b1dea76ff42a48183f78427cc2eadf
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-10-20 07:18:58 +00:00
Samuli Piippo
322b7b32f3 Revert "qtdeclarative: fix test builds"
This reverts commit 810f41bd6a.

The commit was been reverted in qtdeclarative, patch is no longer needed.

Change-Id: I26e13bb2c8c1b0e464cc69673df56833ea7a9985
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit c6e8ab8bc6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-10-20 07:18:49 +00:00
Qt Submodule Update Bot
fe2f95b36d Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I94e0163046beb067d7909043bebfe578ac66f6f9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-10-20 07:18:39 +00:00
Samuli Piippo
0bb5361fe0 qtbase: avoid cmake archiving api for native build
After 812bf25183, we need to extend the
workaround for badly configured CMake also to qtbase-native. This fixes
error: CMake was not built with zstd support. Rebuild CMake or
set QT_AVOID_CMAKE_ARCHIVING_API=ON.

Fixes: WEBOSCI-54
Pick-to: 6.4 6.2
Change-Id: I33c97b1a051fe90d706461c83f75912aa1c1c820
Reviewed-by: Janne Juntunen <janne.juntunen@qt.io>
2022-10-10 11:52:08 +00:00
Samuli Piippo
18e0008e9e qtinterfaceframework: add RRECOMMEND for the simulation package
If simulation support is enabled, make sure the package gets installed
to the image and toolchain. CMake files have references to the plugins
which causes builds to fail if interfaceframework is used with the SDK.

Pick-to: 6.4 6.4.0 6.2
Change-Id: I7cf0fc334644ce38e783f6b7e21a7f5b082dacd0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-09-15 04:49:22 +00:00
Samuli Piippo
097d8a347e ptest: fix test build with latest qml tools
Qml tools are now using --bare option, which limits where the tools
tries to find the qml modules. For the test builds, we again need to
use QT_ADDITIONAL_PACKAGES_PREFIX_PATH to tell the tools where to
find qml files for the Qt module we are currently building.

Task-number: QTBUG-106365
Change-Id: I6dfcd32f405475de0f58448cbaa7a19e26cbcfe8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 63eeb3b83e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-09-13 16:29:26 +00:00
Samuli Piippo
497624e967 ptest: remove references to destination directory
Tests are build against the destination directory where qt module was
just installed. This causes extra files to be taken into source package
and adds references to the TMPDIR, which produces QA warnings from
buildpaths QA test. Use DEBUG_PREFIX_MAP to get rid of those paths.

Pick-to: 6.4 6.3 6.2
Task-number: QTBUG-105913
Change-Id: I01ed9261004410db307f2cd809a181377b734c9e
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2022-09-01 05:16:14 +00:00
Samuli Piippo
3102804b65 ptest: remove build paths from tests
Testlib adds references to the build and source directories to tests,
which causes warnings on buildpaths QA test. Remove those references.

Pick-to: 6.4 6.3 6.2
Task-number: QTBUG-105913
Change-Id: Ic63e72a0b11bef55876ef5ca40d0c1d753243004
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2022-09-01 05:16:09 +00:00
Samuli Piippo
ee836b7a9f qtbase: remove unneeded scripts
Reduce warnings from buildpaths QA test (contains reference to TMPDIR)
and remove few build utils that are not usable in bitbake build.
Run same do_install steps for all qtbase builds instead of keeping
separate ones for nativesdk.

Pick-to: 6.4 6.3 6.2
Change-Id: Id8a6c4c3b03a850bdb1f99e3a3a08973e134eafc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-08-24 12:32:18 +00:00
Samuli Piippo
8228b69a19 qmlcompilerplus: add dependency to native
If we stop forcing build of target tools, we then need to have
dependency to the native package.

Pick-to: 6.4 6.3 6.2
Change-Id: Ie5d9634ba4c85af877920e66fd88d36880af8afc
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-08-17 05:17:35 +00:00
Samuli Piippo
7d1d6a11af qtbase: remove initial host path from CMake files
Amend 0b55d8ec94 and remove the initial
host paths from CMake files. They point to the temporary build paths
and cause build breaks in declarative builds.

Pick-to: 6.4
Change-Id: I17d46b989f024e71ec617ff130c8ea7d7fc85641
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-08-15 12:59:16 +00:00
Samuli Piippo
fa46e269e3 sdk: rework how QT_HOST_PATH is set in sdk
After qtbase change 0f8017efb6d037c4f33f947eb3c56aeafa28313c, QT_HOST_PATH
is no longer set in qt.toolchain.cmake, but it was moved to Qt6 package
cmake files. Since the package is in target sysroot, we can no longer use
its location to determine the absolute path of the host sysroot. Instead,
resolve QT_HOST_PATH now in the CMake subscripts and use them also without
the environment-setup script from Qt6Toolchain.cmake.

Change-Id: I81d908321c0d05ab589b9340a62a45800e936252
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 0b55d8ec94)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-08-15 12:59:01 +00:00
Michal Klocek
a565bccb07 Add zlib dependency for qtbase
Zlib is mandatory dependency, meaning if there is no system
one qt will do bundled one. This is important to
know which one is used as webengine will try to build also
bundled one.

Task-number: QTBUG-103149
Pick-to: 6.4 6.3 6.2
Change-Id: Ie7cc83dea558a5605295133fb0bf6fe0a3217492
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-08-09 12:36:55 +02:00
Samuli Piippo
810f41bd6a qtdeclarative: fix test builds
Revert commit that causes ptest build to fail when QmlCompiler is used:
ld.gold: error: [...]/recipe-sysroot-native/usr/lib/libQt6QmlCompiler.so.6.5.0: incompatible target

Pick-to: 6.4 6.3
Change-Id: Ief349b65f59d57c5e0299adb4304278f70da3578
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-08-09 10:36:15 +00:00
Janne Juntunen
ec51270404 qtbase: update SDK patch to work with latest qtbase version
Some lines from qt.toolchain.cmake.in were moved elsewhere, causing
the need to update meta-qt6's SDK patch to match these changes.

Pick-to: 6.4
Change-Id: I2b7ff9b6fa009e5a654f97ddd05541d5fa0e84ad
Reviewed-by: Janne Juntunen <janne.juntunen@qt.io>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-08-09 10:36:02 +00:00
Qt Submodule Update Bot
40583d1a0c Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Icc86661b67e1196501ec3fc9518ead88ce7787db
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-08-09 10:35:51 +00:00
Samuli Piippo
812bf25183 qtbase: build native and nativesdk with zstd enabled
rcc is using zstd to compress resources, so that needs be
enabled also in native and nativesdk builds.

Pick-to: 6.4 6.3 6.2
Change-Id: Ic10758eb41a67712e55b44bfec4d4385d0512f7e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-08-09 05:59:54 +00:00
Qt Submodule Update Bot
05f4eac711 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ie7e5cd2427027ca74e6a1e29789bb0a9f4c86b1c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-07-25 12:44:00 +00:00
Michal Klocek
9c2b02aab6 Fix minizip usage in qtwebengine
WebEngine needs minizip which is part of zlib.Till now it always built
bundled zip as minizip recipe does not exist in poky and moreover this
was never a configurable feature as it was not in PACKAGECONFIG.

A change in https://codereview.qt-project.org/c/qt/qtwebengine/+/384262
enables compilation of bundled minizip against system zlib (by using
shim headers) however it is not advisable as those two version of zip
might be different and minizip is project wise a part of zlib.

Therefore introduce cheap rip off of zlib recipe, however
building minizip from same source tree.

Task-number: QTBUG-103149
Pick-to: 6.4 6.3 6.2
Change-Id: I1e36d2fba339fb5383018f05a6347c27dde0c8c1
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2022-07-21 18:13:02 +02:00
Qt Submodule Update Bot
582176f1e4 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ibf4c7770abce1b6c06dd9caea2e2f8e281b24cef
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-07-18 13:12:09 +00:00
Samuli Piippo
6a8e3aab59 qtquick3dphysics: add dependency to qtquick3d-native
Needs explicit dependency to qtquick3d-native if tools are not
built for the target.

Pick-to: 6.4
Change-Id: I999a946536a4f15620f10d60e5c3195a0d1f4b9b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2022-07-18 06:22:29 +00:00
Samuli Piippo
49bfeff2bf qtdeclarative: 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: I522b101929c99ebe35fcb6948be46c85b07eefd2
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-07-13 18:30:57 +03:00
Qt Submodule Update Bot
c20db41ae1 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I4269b332b6c44f63af8b0a4731b678b7a378daed
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-07-13 15:30:55 +00:00
Samuli Piippo
cc13555263 qtdeclarative: remove patch
The fix was merged and patch is no longer needed.

Change-Id: I013e2077638fe692bf6f494b1e12115e3edaaa2a
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-07-13 18:30:54 +03:00
Samuli Piippo
9f297583dc qtapplicationmanager: remove unneeded patch
The fix was merged and patch is no longer needed.

Change-Id: I27f8bf0497fbbf86a4e81b5ca5a1591b4a663cbc
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
2022-07-13 15:30:53 +00:00
Samuli Piippo
c2027fb867 qttranslations: update licenses
Update licenses after SPDX changes were applied to the module.

Change-Id: Ic6bf4edc58096483315835868ad096af526e8652
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
2022-07-13 15:30:52 +00:00
Samuli Piippo
88efd33036 qthttpserver: add PACKAGECONFIG for websocket
Add PACKAGECONFIG for the optional WebSockets integration.

Change-Id: Id5f693be968e51fbae6fca9bc712d61eee0bfc54
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
(cherry picked from commit b12809e2d8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-07-13 15:30:50 +00:00
Samuli Piippo
dc388dea7a qtlanguageserver: update licenses
Update licenses after SPDX changes were applied to the module.

Change-Id: Idb7f50c2c031a79ecf98a09e3da2883877498970
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
(cherry picked from commit ad37ff1b6f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2022-07-13 15:30:49 +00:00
Samuli Piippo
fa8cf58215 qtwebchannel: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I275fa9e39923d69149f03844022cb86819cc61b6
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
2022-07-06 06:51:58 +00:00
Samuli Piippo
928a97fd48 qtbase: add runtime dependency to vulkan-loader
Dependency to the vulkan-loader need to be runtime to correctly
pull it into the image.

Pick-to: 6.4 6.3 6.2
Change-Id: I76be6de10d3515826e16b71444828a043c06970b
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-30 07:41:01 +00:00
Samuli Piippo
799eb8622f qtapplicationmanager: fix compilation with GCC 12
Change-Id: I871c5507a01b1924825b7ed9a145176d61e5b3a7
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-27 13:19:02 +00:00
Samuli Piippo
9a4458dae2 qtmultimedia: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: Ic6ba168b88633f1cd065ecbba2172fbb7ecaafe6
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-27 13:18:57 +00:00
Samuli Piippo
ca64e61b97 qtwebengine: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I5fba720fd55b7a5912e81617e3b25f40eed47da1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-27 13:18:53 +00:00
Samuli Piippo
3a2a6defe2 qtspeech: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I13fce8829bc236f698091980a65a1f67c9fa744c
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-27 13:18:48 +00:00
Samuli Piippo
32ba661e50 qtquick3dphysics: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I5bc964f9a79e9110c0637420aefe705457667e7d
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-27 13:18:44 +00:00
Samuli Piippo
5b822f7147 qthttpserver: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I0425fded67a62c1737de6654c464397ba0baea39
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-27 13:18:40 +00:00
Samuli Piippo
755553c409 qt5compat: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: I1aa94166eb55e7ee520b487e0afdac8bfe7f1dcd
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-27 13:18:36 +00:00
Samuli Piippo
772d2ad8d9 qt3d: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: Ib2321b761d2beea1af00a938ba3e6ae13ca15cb8
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-27 13:18:31 +00:00
Qt Submodule Update Bot
4e852462b8 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: If8514ba2bd9f91df2aefcb19582b9484aa5b095c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-06-27 13:18:26 +00:00
Samuli Piippo
2d38d1b4c2 qtpositioning: update licenses
Update licenses after SPDX changes were applied to the module.

Pick-to: 6.4
Change-Id: Icb6a07db6930a979c42d75d8f78d559e4b74dd0a
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:39:17 +00:00
Samuli Piippo
dd82e34f0f qtdeclarative: fix ptest build
Change-Id: I24be618fc9629cf5b0d915a378243f5865f556cf
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:39:16 +00:00
Samuli Piippo
b1a05a124b qtinterfaceframework: update licenses
Update licenses after SPDX changes were applied to the module.

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

Pick-to: 6.4
Change-Id: I5f43b9640348d0ecc0b776a9daa84cf676f555e1
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:39:14 +00:00
Qt Submodule Update Bot
918fc6dc59 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I5d28bb5c535a2e1f9761abfd5f2886fff6473b4d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2022-06-22 12:39:12 +00:00
Samuli Piippo
779d230d62 qtmqtt: update licenses
Update licenses after SPDX changes were applied to the module.

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

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

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

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

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

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

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

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

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

Pick-to: 6.4
Change-Id: Iccae552890298c3737787ad099d7b667c1a2d1ad
Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
2022-06-22 12:38:57 +00:00
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
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