Commit Graph

782 Commits

Author SHA1 Message Date
Qt Submodule Update Bot
b53f4cf4a3 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Id8068f9c054fe49c7e9dc12a864496a442e846cb
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-08-30 02:43:15 +00:00
Khem Raj
0014b3894d qtwebengine: Add missing patch headers
Latest yocto turns missing Upstream-Status to be a build error

Change-Id: Ia63f38d3148d223c3c2367d209dfcbfbd2173634
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-08-26 06:00:04 -07:00
Qt Submodule Update Bot
7a83227232 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I0e428477c6494202806344e132d6cd0f10586d99
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-08-23 08:46:51 +00:00
Mikko Gronoff
9c8fbeb559 qtapplicationmanager: remove patch
Patch is now merged upstream.

Pick-to: 6.8
Change-Id: I565f6dd84736f86a292231039354d0302680f0e8
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-23 11:46:35 +03:00
Khem Raj
e3dfa2275d qtwebengine: Set DEBUG_LEVELFLAG to -g1
Latest master core layer has moved the debug level to
a new variable away from DEBUG_FLAGS, therefore set it
accordingly, use -g1 across all architectures, there is
no supported architectures where build with -g succeeds

Change-Id: I9bd79384894d610b6802450832e11ad7ee8a1cca
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-08-21 15:56:12 +00:00
Mikko Gronoff
b109517cc2 qt3d: update license
imgui component got updated & license updated.

Pick-to: 6.8
Change-Id: I6609f9f65edb80dd4f2114734be342d8d611333e
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-20 10:47:18 +03:00
Mikko Gronoff
df565fa277 qtapplicationmanager: update recipe
Add pending patch & flag to address appman tools
issue following 5fc4b8a36c02c601a6fabf2b393a93ed1f387de9.

Change-Id: Ic74d8929570a02fbcfc6e15931fb8f81bcea646e
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-20 10:47:13 +03:00
Mikko Gronoff
34c48088a5 python3-qface: backport recipe from meta-oe master
Latest qtinterfaceframework requires qface version 2.0.11. Meta-qt6
layer used to have it some time ago, but it was moved to meta-python under
meta-openembedded. Only meta-openembedded(master) branch has required version
available currently.

Backport the recipe from meta-openembedded(master) branch:
https://git.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python3-qface_2.0.11.bb

Fixes build issue:
|   File "/home/qt/work/build/build/tmp/work/core2-32-poky-linux/qtinterfaceframework/6.7.3/recipe-sysroot-native/usr/lib/python3.11/site-packages/qface/utils.py", line 22, in load_filters
|     exec(path.text(), ctx)
|          ^^^^^^^^^
| AttributeError: 'PosixPath' object has no attribute 'text'

Change-Id: If3ba64fac1375452cba031358e67fd90b3331ba2
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit f52437ef0a)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-20 10:47:00 +03:00
Michal Klocek
a4ed875ee2 Do not build webnn with xnnpack (122-based) on yocto
The xnnpack build has own march flags, which are getting
overridden by yocto setup, this ends in broken compilation,
as gn has no clue about override. Therefore, build webnn
without xnnpack on yocto.

Change-Id: I426a452a5608a5da3bc630f8ec3389e0eb313ef4
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-08-20 10:46:55 +03:00
Michal Klocek
649de76994 Fix cross compiler crash when compiling qtwebengine
The compilation distributed_point_functions project crashes
compiler. It issue is reported and solved here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110280

Apply the patch as it released for 13.3

Fixes: QTBUG-126655
Change-Id: I999643f9e336af7dd98849897a18c731340ea932
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-08-20 10:46:48 +03:00
Mikko Gronoff
78e3092015 qtwebengine: update chromium branch
Updated to 122-based.

Change-Id: I3196e4a15d9bb714415f1c8e61778c2fb271e0f7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-08-20 10:46:42 +03:00
Mikko Gronoff
eeca91ef6c qmlcompilerplus: Update licenses
SPDX license changes were applied on the module.

Pick-to: 6.8
Change-Id: I53f2d2d756330e24c9073dcaefae53c6ef8e3271
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-20 10:46:36 +03:00
Mikko Gronoff
3543fd8caf qtdeviceutilities: update licenses
SPDX license changes were applied on the module.

Pick-to: 6.8
Change-Id: Id41c227a182c158801398e28b571c8f96196e2e2
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-08-20 10:46:31 +03:00
Mikko Gronoff
45e8893c6d qtwayland: update license
HPND_LICENSE.txt location got moved a bit.

Pick-to: 6.8
Change-Id: I2e51e6b381ddb67dd16489fa743c1c4e84d06bad
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-20 10:46:23 +03:00
Mikko Gronoff
824cee83ef qtshadertools: update license
Amends commit e7c1f03660.
The MIT license got temporarily renamed with LicenseRef prefix.

Change-Id: Iafe1b3bb7511c4d8b5f0e2161433982c952cf74e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit fb2bd89126)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-20 10:46:17 +03:00
Mikko Gronoff
a00d1fe183 qtshadertools: update licenses
Change-Id: If9f1a03d8e41253b218af9f1945039d05331e152
Reviewed-by: Alex Bu <alex.bu@qt.io>
(cherry picked from commit e7c1f03660)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-20 10:46:10 +03:00
Mikko Gronoff
dee86c6f31 qtbase: update patch
Update patch after commit ecf8843720a0240dc310c169a4dd605f8f0cab45
touched the patched area.

Pick-to: 6.8
Change-Id: Iba9779539bc9b3ae9e4bd2b96d038534a19f6e6f
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-20 10:46:04 +03:00
Qt Submodule Update Bot
515ac91779 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I617e1ca60a59d139cec4b99c2c5509fa728e65d1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-08-20 10:45:58 +03:00
Ari Parkkila
ecd6b8a0e3 ptest: Enable rpath to load libraries from relative paths
Task-number: QTBUG-118680
Change-Id: I27dd5eb355326bbd46a0270e7bf51b9819550fa6
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Jari Helaakoski <jari.helaakoski@qt.io>
2024-08-15 09:34:32 +03:00
Christoph Fritz
bdc5526f0e qtpdf: add cups dependency
QtPDF depends on cups-config during 'bitbake <image> -c populate_sdk'.

Without this patch the build fails with:
 FileNotFoundError: [Errno 2] No such file or directory: 'cups-config'

Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
Fixes: QTBUG-126996
Pick-to: 6.8
Change-Id: I28b47687159717b468373a32303447f80063d3cf
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-07-08 23:46:22 -07:00
Samuli Piippo
4182082028 ptest: use builtin test data
Builtin testdata packages all test data files into resources. This is
used on mobile platforms by default. Enable it for the ptest builds.
We can then remove copying of the source files for the tests.

Change-Id: I5e27b3a3a43ed2993eb5570628f023da3f1ed4d5
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Reviewed-by: Alex Bu <alex.bu@qt.io>
2024-06-24 08:37:35 +00:00
Alex Bu
708d438421 qtlocation: update licenses
Update licenses after SPDX changes were applied to the module.

Fixes: QTBUG-126397
Pick-to: 6.8
Change-Id: Iccb2e1b64953bfe0442fb9bf8963c10f66607438
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-06-18 08:38:12 +03:00
Mikko Gronoff
611d24b0d7 Bump version to 6.9.0
Change-Id: Ibe3116959d0cd1352d87696bfdd8ea8fd60a8864
Reviewed-by: Jari Helaakoski <jari.helaakoski@qt.io>
2024-06-13 16:04:15 +03:00
Qt Submodule Update Bot
1ef5e7cff6 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I58223d16bcbc167b3e9eaab77167dc22ee85fc44
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-06-01 05:09:28 +00:00
Qt Submodule Update Bot
381b6c586c Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ib46ca020adb4342126cc5e2c04cca6e0cc15af91
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-31 05:51:11 +00:00
Samuli Piippo
d43b178430 layer: add compatibility to styhead
Pick-to: 6.7
Change-Id: I324ba4a26c1559e6cb3d23fb58914fec29f54ca3
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-05-30 11:45:31 +00:00
Khem Raj
43279a089c qt3d,qtquick3d: define IOAPI_NO_64
In yocto we can safely assume 64bit off_t as LFS is default, this helps
compile with musl which does not provide the legacy *64 APIs anymore

Fixes

src/3rdparty/assimp/src/contrib/unzip/ioapi.c:24:29: error: implicit declaration of function 'ftello'; did you mean 'ftell'? [-Wimplicit-function-declaration]
|    24 | #define FTELLO_FUNC(stream) ftello64(stream)
|       |                             ^~~~~~~~

Change-Id: I0a03b833027c55fe2d4fc1af78c5cc78f636eaff
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-05-30 04:45:25 -07:00
Valek Andrej
e3deb80e59 qt6: do not mix bitbake's and shell variables
Change-Id: If8eae76571574d9e6a98a591e8b9f03537c0670d
Signed-off-by: Valek Andrej <andrej.v@skyrain.eu>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-05-30 09:36:10 +02:00
Qt Submodule Update Bot
6dabdc7782 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I6c7249243ed811a3b5ae24b262cf17e9dc809b6a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-29 17:06:35 +00:00
Ari Parkkila
df5ae777a4 ptests: Install external resource files
Install .rcc files to support testing of loading resources at runtime.

Task-number: QTBUG-118680
Change-Id: I9963c2cdc5c51165b7656e01237f09e499a838fc
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-05-28 10:13:25 +03:00
Qt Submodule Update Bot
6391fcbd0d Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I1a9d5a63920a113caf03501344dae5352ddb1f85
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-27 16:28:14 +00:00
Samuli Piippo
f0f4c24fa1 Revert "qtquick3d: add workaround for test build failure"
This reverts commit 82fac6f29a.
Original issue has been resolved.

Change-Id: Icf547207762fc78a4df28d175772c0f8936f1cac
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-05-27 10:06:30 +00:00
Qt Submodule Update Bot
ae443dfd0a Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I40e3bd4823b33841e0b219b0996caef69d4d30ad
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-23 04:50:23 +00:00
Samuli Piippo
e055954304 coin: use more memory for the ptest testimage
More memory is needed for the testimage that runs Qt ptests.

Change-Id: I28f186cfae847261a5ae2b47091900da446c61dd
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-05-22 10:17:55 +00:00
Ari Parkkila
e13760ae97 ptests: Update test environment for non and root user
Export LANG only if it has not yet been defined for the current user.

Check that HOME directory exists and is writable before running tests.
For example "ptest" user is created without home directory by default.

Webengine tests expect --no-sandbox when running as root so export
environment variable to disable sandbox.

Task-number: QTBUG-118680
Change-Id: I7f40378f92e089bfb3279270ead0b92b309eeb47
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-05-21 09:17:44 +03:00
Samuli Piippo
dcd4f6f846 qtwebengine: add PACKAGECONFIG for x11 dependencies
webengine-ozone-x11 feature (Support GLX on qpa-xcb) has dependencies
for x11 libraries and libgl. Add all of them into new PACKAGECONFIG
that's enabled if x11 and opengl are in DISTRO_FEATURES.

libxdamage is added as new dependency as it's needed when both
ozone-x11 and webrtc are enabled.

libgl is added to make sure it's available regardless of how qtbase
has been configured (e.g. with gles2) and dependencies are not met
through it.

Pick-to: 6.7
Change-Id: I6708d3440b7f1ef5b3b8dcc3a1563e6e5fc48dc0
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Reviewed-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-05-17 05:42:23 +00:00
Qt Submodule Update Bot
7c86e03093 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I9bcb096a55b6d98c422ac09898e8f6f095c54ec8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-15 06:29:06 +00:00
Samuli Piippo
4b0b745d5e qtbase: disable dnslookup for mingw builds
Windows implementation of QDnsLookup uses features that are not
available in MinGW 9.0.0 currently used in meta-mingw layer. None
of the host tools we need with mingw require dnslookup, so disable
the feature.

Task-number: QTBUG-125290
Change-Id: I457a627824430554183f3ee463276676e31b16c5
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-05-14 13:07:16 +00:00
Qt Submodule Update Bot
27d604060b Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I0e6780f7eb5c0c79cf570df7b0d090bddfb2fa59
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-14 13:07:07 +00:00
Khem Raj
96af7a74c9 nativesdk-packagegroup-qt6-toolchain-host-addons: Add wayland dependent packages conditionally
This ensures that these packages are added only when wayland is
enabled in DISTRO_FEATURES, since now these packages do check for
this distro feature themselves, this fixes the SDK builds for eglfs
distros

Pick-to: 6.7
Change-Id: If4f231ee8999b6a7499d63d4b0bd104ab1ff510d
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-05-14 05:28:04 +00:00
Samuli Piippo
ca2460be0d Add vendor to CVE_PRODUCT
Add vendor information to the CVE_PRODUCT and use default assignment,
so that qt6-git.inc can be included in other non-qt-module recipes.

Pick-to: 6.7
Task-number: QTBUG-125018
Change-Id: If4aa9aede3c57886eb232f115fbf1ceaeba3cf73
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-05-07 10:38:55 +00:00
Qt Submodule Update Bot
b148717dec Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ie4c7962efb4574798aa962346778c1150fb918f5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-03 22:32:15 +00:00
Qt Submodule Update Bot
291bfc8189 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ie28ba8212f7500eafef0d9776011f1422168ac40
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-05-02 22:14:12 +00:00
Samuli Piippo
f50783d0d3 ptest: include only needed files
Instead of removing unwanted build file, install only the required
files (executables and qmldir files).

Task-number: QTBUG-105913
Change-Id: Ifc4e2b8b290ba692f4a161e05df13eb23d68eb2a
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-05-02 10:52:06 +00:00
Qt Submodule Update Bot
4c59335743 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ieda2c835f2fc4aab0beaa5d2822fc9f04d05a606
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-04-26 16:50:00 +00:00
Qt Submodule Update Bot
dbeb327395 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: Ieea1c70062744654196c1afc22226e4e2c50060b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-04-23 11:17:35 +00:00
Mikko Gronoff
89bf14b9c7 qtwayland: fix patch fuzz
Pick-to: 6.7 6.5
Change-Id: I37700a20205d9a5596d1270ec98d404f6a655f3e
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-04-18 11:58:02 +03:00
Qt Submodule Update Bot
c23d991d06 Update submodule refs on 'dev' in yocto/meta-qt6
Change-Id: I7e7f0c85994700898dd82a4de30d7075c0615084
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-04-18 08:57:54 +00:00
Samuli Piippo
110dbeceeb qtwayland: make wayland DISTRO_FEATURES a requirement
QtWayland requires that qtbase has been built with QT_FEATURE_wayland
enabled. By default, this is done only if 'wayland' is in the
DISTRO_FEATURES. Add check that allows qtwayland to be built only
if wayland is in the DISTRO_FEATURES.

Fixes: QTBUG-123489
Pick-to: 6.7
Change-Id: I4e6d2e093e0f38f7fa150ad25303c2f20f487981
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-04-17 06:28:34 +00:00
Samuli Piippo
30ede4cdd3 readme: update Yocto support table
Add Yocto styhead to support table.

Pick-to: 6.7
Change-Id: Ice7f9a188ac3bcd26ba7ab11b35d974a282a000d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-04-15 16:19:02 +03:00