Commit Graph

784 Commits

Author SHA1 Message Date
Qt Submodule Update Bot
7d437c4983 Update submodule refs on '6.8.0' in yocto/meta-qt6
Change-Id: I6e781ee7b7c77894ff56ad9c28276f2fd6e61c60
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-09-19 20:58:20 +00:00
Mikko Gronoff
96e8095eca gcc-source: Only apply patch on GCC 13
Amends commit 649de76994.

Fixes: QTBUG-128511
Change-Id: If7b2b8bf2e48fb218d5fffcb0989cd6bb182551b
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
(cherry picked from commit 01692b5a8a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-05 05:23:13 +00:00
Khem Raj
ea3f10eb3e 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>
(cherry picked from commit 0014b3894d)
Reviewed-by: Khem Raj <raj.khem@gmail.com>
2024-09-05 05:22:16 +00:00
Khem Raj
acfa89abe2 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>
(cherry picked from commit e3dfa2275d)
Reviewed-by: Khem Raj <raj.khem@gmail.com>
2024-08-29 10:05:17 +00:00
Qt Submodule Update Bot
0b5d762829 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: I21576bae3e66094bcc38cf1d293986aba16bcd49
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-08-26 20:00:33 +00:00
Mikko Gronoff
5664699bcb Revert "qtwebengine: Add patch for cross-compilation error"
This reverts commit 7d3da9111f.

Reason for revert: merged upstream

Change-Id: I07dee7ae0084216197551259edef9c8aae020f70
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-26 11:36:43 +00:00
Mikko Gronoff
385b861a27 qtapplicationmanager: remove patch
Patch is now merged upstream.

Change-Id: I565f6dd84736f86a292231039354d0302680f0e8
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 9c8fbeb559)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-08-26 11:36:31 +00:00
Qt Submodule Update Bot
d6f7dba5e9 Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: I96b14aac8c4181c71873de2a7343e848d7f83138
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-08-26 11:36:13 +00:00
Mikko Gronoff
7d3da9111f qtwebengine: Add patch for cross-compilation error
Fixes build issue with certain imx8 targets.

Change-Id: I164d1b0ac5c18e29c86293b064bc553f1dc287c5
Reviewed-by: Alex Bu <alex.bu@qt.io>
2024-08-23 09:10:21 +03:00
Michal Klocek
4874464cf0 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>
(cherry picked from commit a4ed875ee2)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-21 08:33:40 +03:00
Michal Klocek
dca85f7c91 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>
(cherry picked from commit 649de76994)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-21 08:33:35 +03:00
Mikko Gronoff
65a233e301 qtwebengine: update chromium branch
Updated to 122-based.

Change-Id: I3196e4a15d9bb714415f1c8e61778c2fb271e0f7
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 78e3092015)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-08-21 08:33:29 +03:00
Mikko Gronoff
06abb7a4fa 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-21 08:33:22 +03:00
Mikko Gronoff
2cfa6538fd 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>
(cherry picked from commit df565fa277)
2024-08-21 08:33:09 +03:00
Mikko Gronoff
6c86d3699a qt3d: update license
imgui component got updated & license updated.

Change-Id: I6609f9f65edb80dd4f2114734be342d8d611333e
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit b109517cc2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-08-21 08:32:46 +03:00
Mikko Gronoff
8b7c9a1ced qmlcompilerplus: Update licenses
SPDX license changes were applied on the module.

Change-Id: I53f2d2d756330e24c9073dcaefae53c6ef8e3271
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit eeca91ef6c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-08-21 08:32:40 +03:00
Mikko Gronoff
8ead4b03d5 qtdeviceutilities: update licenses
SPDX license changes were applied on the module.

Change-Id: Id41c227a182c158801398e28b571c8f96196e2e2
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 3543fd8caf)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-08-21 08:32:34 +03:00
Mikko Gronoff
d1f9a245ba qtwayland: update license
HPND_LICENSE.txt location got moved a bit.

Change-Id: I2e51e6b381ddb67dd16489fa743c1c4e84d06bad
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 45e8893c6d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-08-21 05:32:27 +00:00
Mikko Gronoff
729e1fac2a 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-21 08:32:21 +03:00
Mikko Gronoff
639c2329f7 qtshadertools: update licenses
Change-Id: If9f1a03d8e41253b218af9f1945039d05331e152
Reviewed-by: Alex Bu <alex.bu@qt.io>
(cherry picked from commit e7c1f03660)
2024-08-21 08:32:14 +03:00
Qt Submodule Update Bot
6195b2ebec Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: Iaa7765fc2b1a68cdba8693f965d66bc01af35574
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-08-21 05:32:07 +00:00
Christoph Fritz
b7dd88b628 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
Change-Id: I28b47687159717b468373a32303447f80063d3cf
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit bdc5526f0e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-07-09 08:17:57 +00:00
Alex Bu
0e2daebe92 qtlocation: update licenses
Update licenses after SPDX changes were applied to the module.

Fixes: QTBUG-126397
Change-Id: Iccb2e1b64953bfe0442fb9bf8963c10f66607438
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 708d438421)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-06-18 11:39:25 +00:00
Antti Kokko
084ec5054c qt6-git.inc: Switch to 6.8 branch
Change-Id: I9ac0b80314fb9aefcbd03847b7f9d6c7b00a69a4
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2024-06-07 09:25:28 +03:00
Qt Submodule Update Bot
a4530f4dff Update submodule refs on '6.8' in yocto/meta-qt6
Change-Id: I97edb63f51d1b7b28b14e79731df2c81513482b6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-06-03 19:54:42 +00: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