Compare commits

...

116 Commits
dev ... v6.6.3

Author SHA1 Message Date
Qt Submodule Update Bot
c693c25577 Update submodule refs on '6.6.3' in yocto/meta-qt6
Change-Id: I1f7ed40be00654995cb62776ed378668a329a398
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-03-19 16:13:00 +00:00
Qt Submodule Update Bot
76fdee15e9 Update submodule refs on '6.6.3' in yocto/meta-qt6
Change-Id: I1c6c496f071f4de5c58345e05b14332936c4713a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-03-15 10:19:03 +00:00
Qt Submodule Update Bot
773330500a Update submodule refs on '6.6.3' in yocto/meta-qt6
Change-Id: I22a24bcf54cb2ad0cfc7cc99744aff183ac1fde8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-03-14 03:18:06 +00:00
Mikko Gronoff
9fc2fb4388 qtbase: fix patch fuzz
Change-Id: I286a9e70eb7e4a57f9398dc88dd61aaff90a9aea
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 64d0ebee63)
2024-03-12 08:40:56 +02:00
Qt Submodule Update Bot
26f8a62bc0 Update submodule refs on '6.6.3' in yocto/meta-qt6
Change-Id: Ie5e281f1df2768def2c8293a6b666cc859fc1b64
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-03-12 06:40:42 +00:00
Samuli Piippo
8ef222ccce squish: don't move executables
Squish's startaut needs to be in the expected location (SQUISH_PREFIX)
or it doesn't work.

Change-Id: I1cbb41fa4ad43cf309a6b04850021abfa47b628f
Reviewed-by: Timo Lahti <timo.lahti@qt.io>
(cherry picked from commit 79b82fe7b1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-03-07 18:48:56 +00:00
Qt Submodule Update Bot
d41fbe92cf Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I1691df4d8f14298dc49974881bdffa984f860461
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-03-01 10:32:05 +00:00
Samuli Piippo
a437c9d7df squish: fix QA issue
QA Issue: File /opt/squish/etc/paths.ini in package squish contains reference to TMPDIR

Change-Id: Ifae1c428950070689d33ef22a121b3322ece8ed6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 5aebd74ba6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-02-27 14:24:11 +00:00
Samuli Piippo
8327f02b9a squish: add profile script
Squish uses SQUISH_PREFIX environment path to find its files.
Add profile script to set this correctly.

Change-Id: Ie97788fa1e2feb28fa35bfb1222e794cfac1379b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 7b7a113236)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-02-27 14:24:05 +00:00
Qt Submodule Update Bot
b71601ab2c Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I8c10a21a28b7ec99ca3e6da97745d433041a84e0
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-26 19:15:49 +00:00
Samuli Piippo
5b5b110b1a squish: make wayland optional
Unless DISTRO_FEATURES has wayland enabled, don't add qtwayland
to dependencies.

Change-Id: I1ac6b0b7154743c4ba11878c4fc3392ef4702816
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 76ac80e2b8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-02-26 18:17:11 +00:00
Samuli Piippo
aea4ee81ec Add support for building Squish
Add recipe that builds the embedded parts of Squish needed on the
device. Squish is available only with specific license and the source
packages need to be downloaded separately. The default uri here points
to Qt internal location not accessible from outside network.

Task-number: QTBUG-120658
Task-number: SQUISH-9656
Change-Id: Ia5e0434023fa3f55c1e32ee1accd4dd0cabe1c15
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit d3b5b82c04)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-02-21 10:32:54 +00:00
Qt Submodule Update Bot
7be31fdecc Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I9d39b6e833aaaf954dbb5e72393b6b8d7c358bc9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-20 22:31:45 +00:00
Qt Submodule Update Bot
1e4acf74de Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: Ide782779ecd59a1a7ba9459011be0c8d95b6cf83
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-19 06:36:34 +00:00
Qt Submodule Update Bot
ef2659ed34 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I7ba0d5aa3d275557dbef7607b9c9e2f05c79c172
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-15 18:31:36 +00:00
Samuli Piippo
de18ee079e qtbase: prefer system png
Update PACKAGECONFIG[png] to make sure we use the system libpng
as expected.

Fixes: QTBUG-121795
Pick-to: 6.5
Change-Id: I051a9a40a9a7bfd001b77c51db9eab2b19147efb
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit b8a440f310)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 0929fe9236)
2024-02-14 05:16:57 +00:00
Samuli Piippo
5167e03636 packagegroup: add Qt modules only on supported archs
QtQuick3dPhysics, QtPdf and QtWebengine have limited
architecture support.

Pick-to: 6.5
Change-Id: Icf1d7628de5365825c79030462f019b15d9ae9a0
Reviewed-by: Alex Bu <alex.bu@qt.io>
(cherry picked from commit a18047ef52)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 498e94c913)
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-02-14 05:16:51 +00:00
Qt Submodule Update Bot
5114708ebe Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: Ie6ff76bcd52f85c4747eb13ff1b8dcc423989e65
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-13 18:23:19 +00:00
Samuli Piippo
b18288a195 layer.conf: update LAYERSERIES_COMPAT for scarthgap
oe-core as switched to scarthgap

Pick-to: 6.5
Change-Id: Ica326b8be4a23a5b6a52667a98740720185a6f73
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 3c24d5dfd2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 0c80b6fb04)
2024-02-13 13:20:24 +00:00
Qt Submodule Update Bot
96d008a54a Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: Ib95ee0d3b743d574b32e701e7e339dceff857d44
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-12 09:41:01 +00:00
Qt Submodule Update Bot
0885129359 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: Ibf31c45f0422cda83f4185ece3b00984c530a329
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-02-07 18:16:27 +00:00
Samuli Piippo
b1a6059e18 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.5
Change-Id: I0457a62333d88b14c3330e3349f585dc6c3eec35
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 8d3758ce9e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit fb6eea5204)
2024-02-01 08:50:01 +00:00
Samuli Piippo
557c8bb50f coin: update build targets
Reshulffle the build targets.
mickledore is EOL, drop it from active testing.

Change-Id: Ia371a06c10b3f66956227d5d7c0357cb83097f87
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 564f560b50)
2024-01-31 14:08:41 +02:00
Mikko Gronoff
3411be6c39 Bump version to 6.6.3
Change-Id: Iabee96e64ac1d9dcf62e41b6379a68e625b51f55
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-01-30 09:56:58 +02:00
Samuli Piippo
0abaf089ba 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.

Fixes: WEBOSCI-62
Change-Id: If8e3ce657d86469b8a83a05146e6698b8c5452d3
Reviewed-by: Alex Bu <alex.bu@qt.io>
(cherry picked from commit c0b9c32fbc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit a752aeab90)
2024-01-30 02:40:28 +00:00
Qt Submodule Update Bot
13d1029cce Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I490ab845b9b360e7fc429fb83591d10a2ef5965a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-01-29 17:10:29 +00:00
Mikko Gronoff
45e0bd1b2b qtmultimedia: update revision
Update revision to fix build issue QTBUG-121455.

Change-Id: I86cd99228cd120e2bbce90327a0a9cbb6207b8e2
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2024-01-25 18:46:48 +02:00
Mikko Gronoff
f1bd3e2053 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>
(cherry picked from commit 7e80a1296c)
2024-01-25 18:46:42 +02:00
Qt Submodule Update Bot
d1ee5530b3 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I7652ddacfe63060adcae432733f45f26a6bee1cc
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2024-01-25 16:46:35 +00:00
Qt Submodule Update Bot
99e5198791 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I773b902516a3040ac0bfce1d329e8a4f6ab97ad3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-22 17:49:47 +00:00
Samuli Piippo
fc23bfc720 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
Change-Id: I6397cb1fd331941a3425bf627676b6387ab8bb8d
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 5e20524950)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 0ce823c16d)
2023-12-21 23:26:10 +00:00
Samuli Piippo
f670b4112f pytest-qt: upgrade to latest version
Update python3-pytest-qt to version 4.2.0.

Change-Id: Ib3cd21aaae59be4dbc02552c665e4c4f585e7cb2
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 7941caa131)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 33b5b2d830)
2023-12-20 01:38:03 +00:00
Samuli Piippo
a64ed60fe8 coin: add pyside6 to CI build
Build pyside6 and pyqt6 in the same CI build.

Change-Id: I8099689a1a7978c6813c08883f0f2dd16655fbb1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2023-12-18 11:47:13 +00:00
Samuli Piippo
b8d52a40be pyside6: Qt for Python
Qt for Python offers the official Python bindings for Qt,
which enables you to use Python to write your Qt applications.
The project has two main components:
PySide6, so that you can use Qt6 APIs in your Python applications, and
Shiboken6, a binding generator tool, which can be used to expose C++
projects to Python, and a Python module with some utility functions.

Shiboken has dependency to libclang, the recipes can therefore be
used only with meta-clang layer included in the build.

Task-number: PYSIDE-1958
Change-Id: Ic4de8c37ecbfdb092a33869b472b55e5442720fc
Reviewed-by: Alex Bu <alex.bu@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2023-12-18 11:47:01 +00:00
Leon Anavi
61b17210d6 python3-pyqt6: upgrade 6.6.0 -> 6.6.1
Upgrade to version 6.6.1. This is a minor bug-fix release. The work
was sponsored by GOVCERT.LU.

Change-Id: Iafd3bee3f48719271c0c4cd45f4cd5e96b2b4834
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-12-14 11:38:35 +02:00
Leon Anavi
316a2f13bd python3-pyqt-builder-native: 1.15.3 -> 1.15.4
Upgrade from 1.15.3 to 1.15.4. This is a minor bug-fix release. The
work was sponsored by GOVCERT.LU.

Change-Id: I2ec9833253d0c14cd0fac4d9bb43a0043a099b1c
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-12-14 11:38:31 +02:00
Samuli Piippo
d4df132051 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.

Change-Id: I91960508a8ec96ee6fe7af69046915f048925f62
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit a6c21eed21)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit d8cff1ccc0)
2023-12-14 09:36:01 +00:00
Samuli Piippo
279f12265d 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.

Change-Id: I1c43a816f81eeb5cdd28c5d05316e9e137514f58
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 13ce6ff6bd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 6ea8c04a95)
2023-12-14 09:36:01 +00:00
Qt Submodule Update Bot
4825dab017 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: Ibdbbbfe759ff5bf59bd3b8b084a0f7d301ab9407
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-12-08 23:11:48 +00:00
Samuli Piippo
89d8192efd coin: add test build for PyQt6
Test PyQt6 in one insignificant CI build, failure will not prevent
integrations.

Change-Id: I14c2a11290ce95d085790dadafd3fc5cc94ffa01
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-12-05 08:23:11 +00:00
Leon Anavi
31fb7ecee5 python3-pyqt6: upgrade 6.5.3 -> 6.6.0
Fix buildpaths warnings for python3-pyqt6-src, remove qt-6.6.patch
and upgrade to PyQt version 6.6.0 with support for Qt v6.6.
The work was sponsored by GOVCERT.LU.

Change-Id: Iabd88b6d91a89f52f07b7f61b8d0ce416c546e65
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-12-05 10:23:06 +02:00
Leon Anavi
47f3393bba python3-pyqt6: add version 6.5.3
Add recipe for building PyQt version 6.5.3 with modules QtCore,
QtGui, QtNetwork, QtXml, QtNetwork, QtQml and QtSql.

PyQt6 depends on sip version 6.7.12 from meta-oe (branch master)
to avoid build issues with ABI version:

| sip-build: '13.6' is not a supported ABI version

The work was sponsored by GOVCERT.LU.

Change-Id: Iacd379f6f1cdf746144d497ff7153efae63571ff
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-12-05 10:23:02 +02:00
Leon Anavi
fbf31bb221 python3-pyqt6-sip: add version 13.6.0
The sip extension module provides support for the PyQt6 package.
The work was sponsored by GOVCERT.LU.

Change-Id: Idf215d8835e06da1554aa38f43360c5d15b2e0f9
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-12-05 10:22:58 +02:00
Leon Anavi
fe43ddf7b5 python3-pyqt-builder-native: add recipe
Port the recipe from meta-qt5 and upgrade to version 1.15.3. The
work was sponsored by GOVCERT.LU.

Change-Id: I89e591d66bbe8708a9181a12059fd2f345ff985d
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-12-05 10:22:54 +02:00
Samuli Piippo
ebb07490da 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.5
Fixes: QTBUG-119140
Change-Id: Ied2ca04b5d46cff5d4bed1c456e95235156c58f0
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 5cfc35d4f0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-11-30 09:44:57 +00:00
Samuli Piippo
842884802e 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.5
Change-Id: I3c23a0a093b396df6b88aedc51a15a871f1ba9e9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 097cfd9d54)
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2023-11-28 13:17:54 +00:00
Qt Submodule Update Bot
6b6856a239 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I8635fe0ddc45a6811619cb1dd762a1754f54410e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-22 07:16:06 +00:00
Mikko Gronoff
7085063a1b Bump version to 6.6.2
Change-Id: I5eb7b1e78c3de9f08f05a7a7548fbcc1c93ff162
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-11-20 12:53:20 +02:00
Qt Submodule Update Bot
be05f38ec1 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I121592d30e8556f625651f837f8cf569457593e8
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-20 07:42:43 +00:00
Samuli Piippo
4945d1e994 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>
(cherry picked from commit ac54355589)
2023-11-20 07:42:42 +00:00
Samuli Piippo
635405045c qmlcompiler: enable ptest
Issues resolved and the tests can be enabled.

Pick-to: 6.5
Change-Id: I8c8c0ad8b9864589ed4248a9157159bb55d26407
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 3dc62ec47b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-11-17 13:50:11 +00:00
Samuli Piippo
afa2639371 qtwebengine: enable ptest
Issues resolved and the tests can be enabled.

Pick-to: 6.5
Change-Id: I052259b23b9836e84faa07be9123078b5bdb7d2d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit c5d2c93ba1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-11-17 13:50:11 +00:00
Samuli Piippo
572aa2ea9c qtconnectivity: enable ptest
Issues resolved and the tests can be enabled.

Pick-to: 6.5
Change-Id: Ia50bf85c006fef63a65762bd37204f86299e7bf9
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 51bd35a9f9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-11-17 13:50:01 +00:00
Samuli Piippo
37aefee595 coin: add CI build for nanbield
Add separate build for nanbield. Update readme for the supported
branches. Next Yocto release (scarthgap) will be LTS relase,
aim to support it from Qt 6.5 upwards.

Pick-to: 6.5
Change-Id: I37141b4d2a93fc6b276de906dbb7ba60b2733c41
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 550194a77a)
2023-11-16 08:44:19 +00:00
Samuli Piippo
334ee20756 Revert "protobuf: add workaround for qtgrpc"
This reverts commit f00bd7134e.
Fix has been merged to meta-openembedded

Fixes: QTBUG-118868
Pick-to: 6.5
Change-Id: I2d5f03d49e48605dad2bbc0b0c6885fe3f73ef75
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 44f08284c7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-11-15 12:31:41 +00:00
Qt Submodule Update Bot
1e564b68e7 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: Ifbe80bb45826a463692d7453de98a5d8b17c5640
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-13 15:00:50 +00:00
Qt Submodule Update Bot
2ee1961de7 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I12d8721dbd7968a3e43a897415140b90084df50f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-09 10:05:18 +00:00
Samuli Piippo
83b545285b protobuf: add workaround for qtgrpc
If protoc is enabled for the build, recipes using protobuf will
fail when protoc is not available in the recipe sysroot:

|   The imported target "protobuf::protoc" references the file
|
|      ".../recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/bin/protoc-3.21.5.0"
|
|   but this file does not exist.  Possible reasons include:
|
|   * The file was deleted, renamed, or moved to another location.
|
|   * An install or uninstall procedure did not complete successfully.
|
|   * The installation package was faulty and contained
|
|      ".../recipe-sysroot/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/lib/cmake/protobuf/protobuf-targets.cmake"
|
|   but not all the files it references.

Use SYSROOT_DIRS to stage the binary to sysroot so it's always
available for other recipes.

Pick-to: 6.5
Change-Id: I588c54d0459dbb88bc080e8bf55902e851a0a1d8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit f00bd7134e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-11-06 18:33:38 +00:00
Qt Submodule Update Bot
dc8a253565 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I1a62ba8030cb3374cdb4d129ca6d0a9796b00ff3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-04 05:09:52 +00:00
Qt Submodule Update Bot
344e02ba60 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: Ideb0532f1a5bed8845f7f6c4cd30fbceceff4b46
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-11-02 21:17:50 +00:00
Qt Submodule Update Bot
fe79790cfa Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I3cd3b23eaa7c8f5c6b347fe5d1ed71d4de4ec731
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-10-31 02:06:36 +00:00
Samuli Piippo
3b9ed8a29d 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.5
Change-Id: I6eaee9aa74681cfb70fb738d966cd7381f4bcdb0
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
(cherry picked from commit 511db28072)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-10-19 09:47:39 +00:00
Samuli Piippo
c619e94c9b 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.5
Change-Id: Ia70658e0c64b916c9d36ad9aca4c40172b86b5b6
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit bc1179c5a3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-10-18 21:12:26 +00:00
Martin Jansa
6270297ae7 layer.conf: fix LAYERDEPENDS_qt6-layer
* qtgrpc depends on protobuf from meta-oe:

  ERROR: Nothing PROVIDES 'protobuf-native' (but /OE/build/oe-core/meta-qt6/recipes-qt/qt6/qtgrpc_git.bb DEPENDS on or otherwise requires it). Close matches:
    popt-native
    xcb-proto-native
    xorgproto-native
  ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
  Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'qtgrpc', 'protobuf-native']

* and qtpdf, qtwebengine depend python3-html5lib-native on from meta-python:

  ERROR: Nothing PROVIDES 'python3-html5lib-native' (but /OE/build/oe-core/meta-qt6/recipes-qt/qt6/qtpdf_git.bb, /OE/build/oe-core/meta-qt6/recipes-qt/qt6/qtwebengine_git.bb DEPENDS on or otherwise requires it). Close matches:
    python3-toml-native
    python3-tomli-native
    python3-urllib3-native
  ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
  Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'qtpdf', 'python3-html5lib-native']

Pick-to: 6.5
Change-Id: I616e03e3a259e532e4ccd6ec87a2975c063837fc
Reviewed-by: Martin Jansa <Martin.Jansa@gmail.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 2713f52a6f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-10-18 21:12:26 +00:00
Qt Submodule Update Bot
03785ec2f1 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I5795c84df965cdcc01b190346ee32c1565464a62
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-10-18 15:36:20 +00:00
Samuli Piippo
07fa80f4b4 qtgraphs: remove opengl requirement
QtGraphs no longer requires opengl to work.

Change-Id: I03e166dc2d4265b74156f17d56ba4e20bc180bfd
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 3df4dfb2e2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-10-17 17:02:53 +00:00
Michal Klocek
bdbb28f362 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
Pick-to: dev
Change-Id: I94a610c4562463f5de3f8bbb29915e05cf40e640
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-10-16 04:18:49 +00:00
Qt Submodule Update Bot
7292470324 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: Ief0a0a2dcd1a371f014ebf2ab28b7135c0482d9c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-10-16 04:18:47 +00:00
Samuli Piippo
cc229bfa36 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.5
Change-Id: I98b56f4ff1c9dc04a0c0df3ab51f908608c52fbd
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 4b5f7744d4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-10-12 16:58:41 +00:00
Qt Submodule Update Bot
8e151f0640 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I2ea9492213874a4994920dac00a8b23c96ce6dbf
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-10-11 09:14:46 +00:00
Qt Submodule Update Bot
f0bc44e14b Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: Idac64a01c3f8ee7e8daecbe328027c8703a78e14
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-10-06 18:07:18 +00:00
Qt Submodule Update Bot
6781b39225 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: Ia01bbecdb8082f25947edd9d056803ad5a83f3ed
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-10-05 16:16:42 +00:00
Qt Submodule Update Bot
bf3725e45e Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I2237be9ace356915296aeb4378fd8bc51c090704
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-10-03 00:48:33 +00:00
Andreas Cord-Landwehr
a50132b5da 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.5
Change-Id: I49232f933b96597fba721473dd7dcf894d60d9cd
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 806a39f3ac)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-10-02 18:28:58 +00:00
Samuli Piippo
1ba070272e 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.5
Change-Id: If23ee18fa7ac7f92f58bf9d09d8e96aedd08b625
Reviewed-by: Inkamari Harjula <inkamari.harjula@qt.io>
(cherry picked from commit 98eb819c18)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-10-02 14:37:24 +00:00
Samuli Piippo
cc05190dfa readme: Add link to bug tracker
Pick-to: 6.5
Change-Id: Ida7529550d0ef2d816f86d82c1feaa581e0b624f
Reviewed-by: Inkamari Harjula <inkamari.harjula@qt.io>
(cherry picked from commit 0f91287175)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-10-02 14:37:24 +00:00
Qt Submodule Update Bot
0cdaf2fdd5 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I177ebb4eac18d0ed4b1cb87822d796430bb3de48
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-26 18:16:21 +00:00
Qt Submodule Update Bot
f5dfe0425d Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: Ia6b06d3eeffb5b53045ac61ef134aabb3ac5ae20
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-25 16:56:06 +00:00
Qt Submodule Update Bot
b5563a55d1 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I88401cde85a028694c603f7d3db446289c7b081e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-22 20:58:07 +00:00
Qt Submodule Update Bot
ee6bdd0bf8 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: Ia088ae8007d17e2de86ffdca7ef28b22d210f620
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-21 09:19:46 +00:00
Qt Submodule Update Bot
5e3d27ef4b Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I349857da3bc92d8f67b57d39dfa4d5f402954f59
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-19 19:54:01 +00:00
Samuli Piippo
5695e5a52e Revert "qtwebengine: fix build without DRI"
This reverts commit 9ef6d50fa2.
Patch was merged upstream.

Pick-to: dev
Change-Id: I967fe401fe91fdf4776b3a9646c5db98bd6b0f3b
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-09-18 08:32:18 +03:00
Qt Submodule Update Bot
afe07957a5 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: Ie04132582b0c7bcb9890db4aaa88abf8c1a70895
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-18 05:32:08 +00:00
Mikko Gronoff
c89ca44d44 Bump version to 6.6.1
Change-Id: Ieab6ee691c12e64dbe005b83c50ff3140a095c0b
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2023-09-14 12:50:57 +03:00
Samuli Piippo
4517131d2e layer.conf: update LAYERSERIES_COMPAT for nanbield
oe-core as switched to nanbield.

Pick-to: 6.5
Change-Id: Iebc445cea81d1449f0564f036787c44ba6aa8a87
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 6c221de4fb)
2023-09-12 08:03:46 +00:00
Qt Submodule Update Bot
cb2fe922ad Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: If47184259da02bdf45283ed252501f3362571815
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-12 03:10:27 +00:00
Qt Submodule Update Bot
c4f9d62e7e Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: If00411cca35c2ddd44fc048ea4e14f6d0cc8015a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-09-01 18:55:50 +00:00
Qt Submodule Update Bot
28b06d9c29 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I36db5d60214e9a029c6a4080dceecfc6696f25b9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-31 00:44:51 +00:00
Jaeyoon Jung
42701bcb12 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

Change-Id: I49c88711be4ca09425fa71f8ce8eda88256370f6
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 7c2a20a1c5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-08-30 14:38:00 +00:00
Qt Submodule Update Bot
b7769e14a6 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I3a0da71dcc8401192d3f49fc07c1929646b0b1f1
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-29 19:40:28 +00:00
Samuli Piippo
05e78180cc 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
Change-Id: Ic6c5a6c80011dfefc92e1b2d7aadc48cce82ed7a
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit deab0703da)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-08-29 04:43:43 +00:00
Qt Submodule Update Bot
75ce91384a Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I7c2e18b1b6b4fce9d617394c6309ec42fa5576a9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-29 00:31:30 +00:00
Samuli Piippo
d43d9d2125 qtdeclarative: add dependency to QtSvg for example
Examples now have dependency to QtSvg, include it if examples
are enabled.

Change-Id: Ie049a282456f3647b280b788a3a589c74aeedeba
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit ff3b6d4269)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-08-25 18:09:55 +00:00
Samuli Piippo
5f4d006748 qtwebengine: fix x86_64 build of ffmpeg
Backport fix from oe-core/ffmpeg.

Change-Id: Id1fec1ef32f3ce8233c57a6caab18457ca3f8a72
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit fef57b1545)
2023-08-25 12:30:43 +00:00
Qt Submodule Update Bot
ed23544934 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: Ice1289a5cb06390b73646ef819f13b389b37ba31
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-24 14:32:02 +00:00
Samuli Piippo
4429d9e5e6 coin: remove langdale from CI tests
Langdale is now EOL, stop testing Qt against it.

Change-Id: Idba5e353ef3ec484e088fe831ed59f54d70b3acf
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 30dfd502b3)
2023-08-23 13:09:34 +03:00
Qt Submodule Update Bot
8afc481723 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: Ie483074d25efaf6f1ce5d2a4412a7160968803c2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-23 05:39:30 +00:00
Samuli Piippo
9ef6d50fa2 qtwebengine: fix build without DRI
Task-number: QTBUG-116152
Change-Id: Idfdf639edf3dd09928f865dafd3f73ffcef1fa7d
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-08-17 06:31:38 +00:00
Qt Submodule Update Bot
65e052b187 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: Ie1dca396866e96d433506ef52f50e18017eed883
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-17 01:26:38 +00:00
Samuli Piippo
9e316a7c31 coin: add workaround for QA warning on qemu
QEMU has QA warning on runtime dependencies which breaks
our CI build since they are treated as errors.

Change-Id: I1f2699d62d556b538da85aa12d8c2ec91483fb0b
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 12f78361ed)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-08-16 23:05:32 +00:00
Samuli Piippo
dca2c5ed40 coin: use INIT_MANAGER to select systemd
Yocto has INIT_MANAGER variable that can be used to select
the init manager. Use it instead of doing all to separate
changes ourselves.

Change-Id: I8aa31de9116048628a55d630ed3296fac28dfec8
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 90226dfc47)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-08-16 23:05:24 +00:00
Qt Submodule Update Bot
01b84070a5 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: Ib3ff7967d1920c8fc2dbdc42abcd354602335a8b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-08-16 04:30:34 +00:00
Mikko Gronoff
d40da8f6cb qtwebengine: update chromium branch
Now using 112 branch.

Pick-to: dev
Change-Id: I193759ca61b6b09c23865a54cb6be3477e67e849
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-08-16 04:30:34 +00:00
Mikko Gronoff
b2ae9232f6 coin: Add workaround for static build in CI
After 35cb20a3556a6987d31090cdc3f77126efceaab0 landed in
qtapplicationmanager we need to disable multi-process pkgconfig in static build to fix build issue:

"ERROR: Feature "am_multi_process": Forcing to "ON" breaks its condition"

Change-Id: Idd901baf72236db2a21c25d5b6a905c1246e0c6a
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-08-16 04:30:34 +00:00
Michael Brüning
7d72d5053a Use std::size_t instead of int to store position in string
Using int caused a compilation error with GCC 12.

Pick-to: dev
Fixes: QTBUG-115981
Change-Id: I82107b143995ced6de0facb41e9964e42148d402
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-08-16 04:30:34 +00:00
Samuli Piippo
48be19bd79 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
Change-Id: I5b713d3a65f794da1ab0113cf1d7f69035e29288
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit c0318a6ad8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-08-15 16:10:26 +00:00
Samuli Piippo
4cc6cb1109 readme: add note about release branches and tags
Fixes: QTBUG-114723
Change-Id: I2f6b4ce365b53ec7bd96555c0d6fcbea0e7e50cd
Reviewed-by: <inkamari.harjula@qt.io>
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 21beafaf82)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-08-15 16:10:26 +00:00
Samuli Piippo
72015d3360 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
Change-Id: Icce264b1f2bff5f56cf2b40a0420c5001493e236
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 69a8018ec1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-08-15 16:10:26 +00:00
Martin Jansa
7d08b331d5 *.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
Reviewed-by: Martin Jansa <Martin.Jansa@gmail.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit d65dc4592b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-08-15 07:31:09 +00:00
Qt Submodule Update Bot
68018c2e98 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I7f41c9d4e35e618b30dc16a7ebdf008969eaac2f
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
2023-06-27 13:08:18 +00:00
Samuli Piippo
af841f7c19 Add 6.6 compatibility notes
Update readme for the 6.6 branch compatibility and testing.

Change-Id: Ib093cd11c3fe4c57c511f59fd0cf82f90969c15c
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit 8f29099348)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-06-19 11:31:01 +00:00
Paul Geurts
391a45bac6 Remove legacy license identifier mappings in layer config
The layer configuration uses SPDXLICENSEMAP to change GPL-3.0-only to
GPL-3.0 (and other maps). Inluding meta-qt6 results in _all_
GPL-3.0-only licensed packages to be changed to GPL-3.0. As a result,
setting

INCOMPATIBLE_LICENSE += "GPL-3.0* LGPL-3.0* AGPL-3.0*"

does not filter out GPL-3.0-only packages anymore. This means
GPL-3.0-only packages still land in the target image. Adding GPL-3.0 to
the INCOMPATIBLE_LICENSE settings is not allowed, as Yocto has
deprecated these licenses.

This removes these license mappings so the incompatible license filter
is restored.

Change-Id: I5d1c13764bd034f5a20ea0cf3b6d98f1d29244d7
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit c677a9e91e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-06-15 17:42:26 +00:00
Samuli Piippo
ac6d295cbe qt6: update module branch
Use correct branch for Qt 6.6.

Change-Id: I87e7fc2dc1779bd81a86a2a670c14afc725fad3e
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
2023-06-14 05:48:25 +00:00
Samuli Piippo
abcd9410cd qtwebengine: update patch
Fuzz detected.

Change-Id: I5be6c8841f414a3fe73d0805be6b2b83e667c155
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 4af8539dcf)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-06-12 06:48:59 +00:00
Qt Submodule Update Bot
1c098eb6b2 Update submodule refs on '6.6' in yocto/meta-qt6
Change-Id: I06dfd09e267c067b7b0bda41761bebbec8f4434b
Reviewed-by: Akseli Salovaara <akseli.salovaara@qt.io>
2023-06-12 09:48:52 +03:00
Samuli Piippo
ca0dbeedb0 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.

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>
(cherry picked from commit 4729a37e36)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-06-08 17:52:26 +00:00
46 changed files with 777 additions and 281 deletions

View File

@ -5,31 +5,41 @@ This layer depends on:
URI: https://git.openembedded.org/openembedded-core/
URI: https://git.openembedded.org/meta-openembedded/
and optionally:
URI: https://git.openembedded.org/meta-openembedded/
URI: https://github.com/kraj/meta-clang
Yocto version support
---------------------
The branching of meta-qt6 layer follows Qt branching scheme, that is
`dev` for the development branch, `6.x` for each minor release and
`lts-6.x` for commercial LTS releases.
The branching of meta-qt6 layer follows [Qt branching scheme](https://wiki.qt.io/Branch_Guidelines),
that is `dev` for the development branch, `6.x` for minor stabilization branches,
`6.x.y` for the release branches and `lts-6.x.y` for commercial LTS releases.
Each Qt release is tagged either as `v6.x.y` or `v6.x.y-lts`
Following table shows the Yocto branches which are used to test each
Qt version (x) and any additional Yocto releases that are stated in
the LAYERSERIES_COMPAT (c).
| Yocto \ Qt | dev | 6.5 | 6.4 | 6.3 | 6.2 |
| ---------- |:---:|:---:|:---:|:---:|:---:|
| master | x | x | | | |
| mickledore | x | x | x | | |
| langdale | x | x | x | | |
| kirkstone | x | x | x | x | x |
| honister | c | c | c | x | x |
| hardknott | c | c | c | c | c |
| gatesgarth | c | c | c | c | c |
| dunfell | x | x | x | x | x |
| Yocto \ Qt | 6.6 | 6.5 | 6.4 | 6.3 | 6.2 |
|:---------- |:----:|:---:|:---:|:---:|:---:|
| scarthgap | x | x | | | |
| nanbield | x | x | | | |
| mickledore | c | c | c | | |
| langdale | c | c | c | | |
| kirkstone | x | x | c | c | x |
| honister | c | c | c | c | c |
| hardknott | c | c | c | c | c |
| gatesgarth | c | c | c | c | c |
| dunfell | x | x | c | c | x |
| | | | | | |
| |stable| LTS | EOL | EOL | LTS |
Detailed status of supported Qt versions can be found from
https://doc.qt.io/qt-6/supported-platforms.html#supported-qt-versions
Commercial Qt
-------------
@ -56,15 +66,30 @@ QtWebEngine
QtWebEngine needs at least CMake 3.19, which is available starting from Hardknott.
For this reason QtWebEngine is not tested on older releases.
QtMultimedia
------------
Qt Multimedia now prefers [FFmpeg][1] as the multimedia backend instead of GStreamer.
FFmpeg recipe, however, is flagged with LICENSE_FLAGS = "commercial", which means
that user must accept the license before FFmpeg can be used in the build. If user
accepts the license using LICENSE_FLAGS_ACCEPTED = 'commercial_ffmpeg', the FFmpeg
support is enabled in Qt Multimedia. If user doesn't accept the license,
Qt Multimedia only uses GStreamer.
[1]: https://doc.qt.io/qt-6/qtmultimedia-index.html#ffmpeg-as-the-default-backend
Contributing
------------
To contribute to this layer you should submit the patches for review using
To contribute to this layer submit the patches for review using
[Qt Gerrit](https://codereview.qt-project.org).
More information about Qt Gerrit and how to use it:
- https://wiki.qt.io/Gerrit_Introduction
- https://wiki.qt.io/Setting_up_Gerrit
- [Gerrit_Introduction](https://wiki.qt.io/Gerrit_Introduction)
- [Setting_up_Gerrit](https://wiki.qt.io/Setting_up_Gerrit)
Report bugs on [Qt Bug Tracker](https://bugreports.qt.io) using
`Yocto: meta-qt6 layer` component.
Layer maintainers
-----------------

View File

@ -2,7 +2,7 @@ python do_srcrev_update() {
import subprocess
recipe = d.getVar('FILE')
srcrev_file = os.path.join(os.path.dirname(recipe), 'qt6-git.inc')
srcrev_file = os.path.join(d.getVar('QT6BASE'), 'recipes-qt/qt6/qt6-git.inc')
module = d.getVar('QT_MODULE')

View File

@ -7,7 +7,7 @@ accept_configuration:
equals_value: Yocto
- condition: property
property: target.arch
in_values: [TARGET1, TARGET2, TARGET3, TARGET4, TARGET5]
in_values: [TARGET1, TARGET2, TARGET3, TARGET4, TARGET5, INSIGNIFICANT_TARGET1]
machine_type:
Build:
@ -15,12 +15,12 @@ machine_type:
# Target build matrix:
#
# [target1] [target2] [target3] [target4] [target5]
# [machine] qemuarm64 qemux86 qemuarm qemux86-64 qemuarm64
# [yocto] kirkstone langdale mickledore dunfell master
# [X11] no no yes yes no
# [mingw] no yes no no no
# [static] no no no no yes
# [target1] [target2] [target3] [target4] [target5] [target6]
# [machine] qemuarm64 qemux86-64 qemuarm qemux86 qemuarm64 qemuarm64
# [yocto] master master dunfell nanbield kirkstone master
# [wayland] yes no no yes yes no
# [mingw] no no no yes no no
# [static] no no no no yes no
#
target1: &target1
@ -31,7 +31,7 @@ target1: &target1
variableValue: qemuarm64
- type: EnvironmentVariable
variableName: MANIFEST
variableValue: kirkstone.xml
variableValue: master.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs wayland
@ -44,13 +44,13 @@ target2: &target2
instructions:
- type: EnvironmentVariable
variableName: MACHINE
variableValue: qemux86
variableValue: qemux86-64
- type: EnvironmentVariable
variableName: MANIFEST
variableValue: langdale.xml
variableValue: master.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs wayland mingw no-webengine
variableValue: ci configs
enable_if:
condition: property
property: target.arch
@ -63,10 +63,10 @@ target3: &target3
variableValue: qemuarm
- type: EnvironmentVariable
variableName: MANIFEST
variableValue: mickledore.xml
variableValue: dunfell.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs
variableValue: ci configs dunfell no-webengine
enable_if:
condition: property
property: target.arch
@ -76,13 +76,13 @@ target4: &target4
instructions:
- type: EnvironmentVariable
variableName: MACHINE
variableValue: qemux86-64
variableValue: qemux86
- type: EnvironmentVariable
variableName: MANIFEST
variableValue: dunfell.xml
variableValue: nanbield.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs dunfell no-webengine
variableValue: ci configs wayland mingw no-webengine
enable_if:
condition: property
property: target.arch
@ -95,7 +95,7 @@ target5: &target5
variableValue: qemuarm64
- type: EnvironmentVariable
variableName: MANIFEST
variableValue: master.xml
variableValue: kirkstone.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs wayland static no-webengine
@ -103,6 +103,22 @@ target5: &target5
condition: property
property: target.arch
equals_value: TARGET5
target6: &target6
type: Group
instructions:
- type: EnvironmentVariable
variableName: MACHINE
variableValue: qemuarm64
- type: EnvironmentVariable
variableName: MANIFEST
variableValue: master.xml
- type: EnvironmentVariable
variableName: TEST_CONFIGS
variableValue: ci configs wayland python
enable_if:
condition: property
property: target.arch
equals_value: INSIGNIFICANT_TARGET1
instructions:
Build:
@ -111,6 +127,7 @@ instructions:
- *target3
- *target4
- *target5
- *target6
- type: EnvironmentVariable
variableName: DL_DIR
variableValue: "/mnt/yocto-cache/downloads"
@ -149,6 +166,9 @@ instructions:
bitbake-layers add-layer ../meta-openembedded/meta-python
bitbake-layers add-layer ../meta-openembedded/meta-multimedia
bitbake-layers add-layer ../meta-mingw
if [ -e ../meta-clang ]; then
bitbake-layers add-layer ../meta-clang
fi
bitbake-layers add-layer ${SOURCE_DIR}
for conf in ${TEST_CONFIGS}; do

View File

@ -1,9 +1,5 @@
PREFERRED_PROVIDER_udev = "systemd"
# use systemd
DISTRO_FEATURES:append = " systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = ""
INIT_MANAGER:forcevariable = "systemd"
INHERIT += "buildstats buildstats-summary"
INHERIT += "rm_work"
@ -31,10 +27,16 @@ EXTRA_QA = "\
ERROR_QA:append = "${EXTRA_QA}"
WARN_QA:remove = "${EXTRA_QA}"
# workaround for qemu
# nativesdk-qemu-user-mips rdepends on nativesdk-bash, but it isn't a build dependency
INSANE_SKIP:nativesdk-qemu-user-mips = "build-deps"
# enable thumb for broader test coverage (oe-core autobuilder doesn't have thumb enabled)
PREFERRED_ARM_INSTRUCTION_SET ?= "thumb"
ARM_INSTRUCTION_SET = "${PREFERRED_ARM_INSTRUCTION_SET}"
RDEPENDS:${PN}:append:pn-packagegroup-qt6-addons = " squish"
# enable webengine with commercial/proprietary features
DISTRO_FEATURES:append = " webengine"
PACKAGECONFIG:append:pn-qtwebengine = " proprietary-codecs"

2
coin/test-python.inc Normal file
View File

@ -0,0 +1,2 @@
RDEPENDS:${PN}:append:pn-packagegroup-qt6-addons = " python3-pyside6 python3-pyqt6"

View File

@ -1,2 +1,3 @@
PACKAGECONFIG:append:pn-qtbase = " static"
QT_PTEST_ENABLED = "0"
PACKAGECONFIG:remove:pn-qtapplicationmanager = "multi-process"

View File

@ -18,6 +18,7 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILES_DYNAMIC += " \
meta-python:${LAYERDIR}/dynamic-layers/meta-python/*/*/*.bb \
meta-python:${LAYERDIR}/dynamic-layers/meta-python/*/*/*.bbappend \
openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/recipes*/*/*.bbappend \
"
BBFILE_COLLECTIONS += "qt6-layer"
@ -33,19 +34,22 @@ BBFILE_PRIORITY_qt6-layer = "${BBFILE_PRIORITY_core}"
# cause compatibility issues with other layers
LAYERVERSION_qt6-layer = "1"
LAYERDEPENDS_qt6-layer = "core"
LAYERDEPENDS_qt6-layer = "core openembedded-layer meta-python"
LAYERSERIES_COMPAT_qt6-layer = "dunfell gatesgarth hardknott honister kirkstone langdale mickledore"
LAYERSERIES_COMPAT_qt6-layer = "dunfell gatesgarth hardknott honister kirkstone langdale mickledore nanbield scarthgap"
LICENSE_PATH += "${LAYERDIR}/licenses"
IMAGE_FEATURES[validitems] += "qtcreator-debug"
# Set a variable to get to the top of the metadata location
QT6BASE := "${LAYERDIR}"
QT_GIT_PROJECT ?= "qt"
QT_GIT ?= "git://code.qt.io"
QT_GIT_PROTOCOL ?= "git"
QT_EDITION ?= "opensource"
QT_VERSION = "6.6.0"
QT_VERSION = "6.6.3"
QT_COMMERCIAL_GIT ?= "git://codereview.qt-project.org"
QT_COMMERCIAL_GIT_PROTOCOL ?= "ssh"
@ -53,7 +57,4 @@ QT_COMMERCIAL_GIT_PROTOCOL ?= "ssh"
QT_COMMERCIAL_MODULES ?= "0"
# License mapping back to old license files
SPDXLICENSEMAP[GPL-3.0-only] = "GPL-3.0"
SPDXLICENSEMAP[LGPL-3.0-only] = "LGPL-3.0"
SPDXLICENSEMAP[GPL-2.0-or-later] = "GPL-2.0"
SPDXLICENSEMAP[GFDL-1.3-no-invariants-only] = "GFDL-1.3"

View File

@ -0,0 +1,149 @@
Squish Commercial License Agreement
Agreement version 3.1
This Squish Commercial License Agreement ("Agreement") is made by and
between The Qt Company Oy ("The Qt Company"), and you (either an
individual or a legal entity) ("Licensee").
IMPORTANT - READ CAREFULLY:
1. The Qt Company developed and originated Squish including source code,
documentation and example programs ("Licensed Software"). The Licensed
Software is protected by copyright laws and international copyright
treaties, as well as other intellectual property laws and
treaties. The Qt Company retains all rights not expressly granted.
2. By installing, copying, or otherwise using the Licensed Software,
Licensee agrees to be bound by the terms of this Agreement. If
Licensee does not agree to the terms of this Agreement, Licensee
should not install, copy, or otherwise use the Licensed Software. In
addition, by installing, copying, or otherwise using any updates or
other components of the Licensed Software that Licensee receives
separately as part of the Licensed Software ("Updates"), Licensee
agrees to be bound by any additional license terms that accompany such
Updates. If Licensee does not agree to the additional license terms
that accompany such Updates, Licensee may not install, copy, or
otherwise use such Updates.
3. Upon Licensee's acceptance of the terms and conditions of this
Agreement, The Qt Company grants Licensee the right to use the Licensed
Software during the agreed validity period as set forth in the
respective License Certificate ("License Term"), solely for Licensee's
internal business purposes in the manner provided below.
4a. If the license, as specified in the license certificate, is a
Floating Tester Subscription or Floating Execution Subscription,
Licensee may install the Licensed Software on an unlimited amount of
computers. Concurrent use of the installed Licensed Software is
limited to the number of floating seats purchased as specified in the
license certificate and to persons employed or contracted by the
Licensee. If the license is a Floating Execution License, Licensee may
only use the installed Licensed Software for executing tests and
processing test results, but not for developing, debugging and
maintaining tests.
4b. If the license, as specified in the license certificate, is a User
Node-Locked Subscription, Licensee may install the Licensed Software
for a single user on a single physical computer. Installation and
usage in virtual machines or the use via remote access is prohibited.
5. Licensee may modify the Licensed Software except for altering or
removing any details of ownership, copyright, trademark or other
property right connected with the Licensed Software.
6. Licensee may not distribute the Licensed Software, modified or
unmodified, separately or as part of any software package.
7. Upon expiry of the initially agreed License Term, the respective
License Terms shall be automatically extended to one or more
extensions of previous License Term as agreed between the Parties
("Renewal Term"), unless and until either Party notifies the other
Party in writing, or any other method acceptable to The Qt Company, that it
does not wish to continue the License Term, such notification to be
provided to the other Party no less than thirty (30) days before
expiry of the respective License Term. Unless otherwise agreed between
the Parties, Renewal Term shall be of equal length with the initial
License Term.
Any such Renewal Term shall be subject to License Fees agreed between
the Parties or, if no advance agreement exists, subject to The Qt Company
standard pricing applicable at the commencement date of any such
Renewal Term.
Any price or other term specified for a Renewal Term shall be valid
only for the specified time.
WARRANTY DISCLAIMER
8. The Licensed Software is licensed to Licensee "as is". To the
maximum extent permitted by applicable law, The Qt Company on behalf of
itself and its suppliers, disclaims all warranties and conditions,
either expressed or implied, including, but not limited to, implied
warranties of merchantability, fitness for a particular purpose, title
and non-infringement with regard to the Licensed Software.
LIMITATION OF LIABILITY
9. If, The Qt Company's warranty disclaimer notwithstanding, The Qt Company is
held liable to Licensee, whether in contract, tort or any other legal
theory, based on the Licensed Software, The Qt Company's entire liability
to Licensee and Licensee's exclusive remedy shall be, at The Qt Company's
option, either (A) return of the price Licensee paid for the Licensed
Software, or (B) repair or replacement of the Licensed Software,
provided Licensee returns to The Qt Company all copies of the Licensed
Software as originally delivered to Licensee. The Qt Company shall not
under any circumstances be liable to Licensee based on failure of the
Licensed Software if the failure resulted from accident, abuse or
misapplication, nor shall The Qt Company under any circumstances be liable
for special damages, punitive or exemplary damages, damages for loss
of profits or interruption of business or for loss or corruption of
data. Any award of damages from The Qt Company to Licensee shall not exceed
the total amount Licensee has paid to The Qt Company in connection with
this Agreement.
SUPPORT AND UPDATES
10. Licensee will be eligible to receive email based software support
and access to Downloads and Updates to the Licensed Software for the
License Term, in accordance with The Qt Company's then current policies and
procedures, if any. Such policies and procedures may be changed from
time to time.
PRIVACY
11. Licensee acknowledges and agrees that for the purpose of this
agreement, The Qt Company may collect, use, transfer and disclose personal
data pertaining to Users as well as any other employees and directors
of the Licensee and its contractors relevant for carrying out the
intent of this agreement. Such personal data may be collected from the
Licensee or directly from the relevant individuals. The parties
acknowledge that with regard to such personal data processed
hereunder, The Qt Company shall be regarded as the Data Controller under
the applicable data protection legislation. The Qt Company shall process
any such personal data in accordance with its privacy policies and
practices, which will comply with all applicable requirements of the
General Data Protection Regulation (GDPR) and any national
implementing laws and regulations.
GENERAL PROVISIONS
12. This Agreement may only be modified in writing signed by
authorized representatives of Licensee and The Qt Company. In case of a
conflict between this Agreement and the terms of any purchase order or
other ordering document, this Agreement shall prevail. If any provision
of this Agreement is found void or unenforceable, the remainder will
remain valid and enforceable according to its terms. If any remedy
provided is determined to have failed for its essential purpose, all
limitations of liability and exclusions of damages set forth in this
Agreement shall remain in effect.
13. This Agreement shall be construed, interpreted and governed by the
laws of Finland, the legal venue to be Helsinki District Court. The Qt
Company reserves all rights not specifically granted in this
Agreement.

View File

@ -0,0 +1 @@
BBCLASSEXTEND = "native nativesdk"

View File

@ -0,0 +1,10 @@
SUMMARY = "The PEP 517 compliant PyQt build system"
HOMEPAGE = "https://pypi.org/project/PyQt-builder/"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=9cd437778ebd1c056a76b4ded73b3a6d"
SRC_URI[sha256sum] = "39f8c75db17d9ce17cb6bbf3df1650b5cebc1ea4e5bd73843d21cc96612b2ae1"
inherit pypi setuptools3 native
PYPI_PACKAGE = "PyQt-builder"

View File

@ -0,0 +1,12 @@
SUMMARY = "The sip module support for PyQt6"
HOMEPAGE = "https://pypi.org/project/PyQt6-sip/"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=9cd437778ebd1c056a76b4ded73b3a6d"
SRC_URI[sha256sum] = "2486e1588071943d4f6657ba09096dc9fffd2322ad2c30041e78ea3f037b5778"
inherit pypi setuptools3
PYPI_PACKAGE = "PyQt6_sip"
BBCLASSEXTEND = "native nativesdk"

View File

@ -0,0 +1,102 @@
SUMMARY = "Python Qt6 Bindings"
HOMEPAGE = "https://www.riverbankcomputing.com/software/pyqt"
SECTION = "devel/python"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
inherit pypi python3targetconfig python3-dir qt6-qmake qt6-paths
PYPI_PACKAGE = "PyQt6"
SRC_URI[sha256sum] = "9f158aa29d205142c56f0f35d07784b8df0be28378d20a97bcda8bd64ffd0379"
S = "${WORKDIR}/PyQt6-${PV}"
B = "${S}/build"
DEPENDS += " \
qtbase \
qtdeclarative \
sip (>= 6.7.12) \
sip-native (>= 6.7.12) \
python3 \
python3-pyqt6-sip-native \
python3-pyqt6-sip \
python3-packaging-native \
python3-tomli-native \
python3-pyqt-builder-native \
python3-ply \
python3-ply-native \
"
RDEPENDS:${PN} += " \
qtbase \
qtdeclarative \
python3-core \
python3-pyqt6-sip \
"
# Disable support of 128bit ints and add path to Python.h
CXXFLAGS += " -DQT_NO_INT128 -I${PYTHON_INCLUDE_DIR}"
EXTRA_OEMAKE = "INSTALL_ROOT=${D}"
DISABLED_FEATURES = " \
PyQt_Desktop_OpenGL \
PyQt_Accessibility \
PyQt_SessionManager \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '', 'PyQt_OpenGL', d)} \
"
PYQT_MODULES = " \
QtCore \
QtGui \
QtNetwork \
QtXml \
QtNetwork \
QtQml \
QtSql \
"
do_configure() {
local i
local extra_args
for i in ${DISABLED_FEATURES}; do
extra_args="${extra_args} --disabled-feature=${i}"
done
for i in ${PYQT_MODULES}; do
extra_args="${extra_args} --enable=${i}"
done
cd ${S}
sip-build \
--verbose \
--confirm-license \
--scripts-dir="${bindir}" \
--build-dir="${B}" \
--target-dir="${PYTHON_SITEPACKAGES_DIR}" \
--no-make \
--qmake=${OE_QMAKE_QMAKE} \
--pep484-pyi \
--no-dbus-python \
${extra_args}
QMAKE_PROFILES=${B}/PyQt6.pro
}
do_compile:append() {
sed -i "s,${STAGING_DIR_TARGET},," ${B}/inventory.txt
}
do_install:append() {
sed -i "s,exec .*nativepython3,exec ${bindir}/python3," ${D}/${bindir}/*
}
# fix buildpaths warnings
pyqt_fix_sources() {
find ${PKGD}/usr/src/debug/${PN} -type f -exec sed -i "s,\(${B}\|${S}\),/usr/src/debug/${PN}/${PV}-${PR},g" {} \;
}
PACKAGESPLITFUNCS:prepend = "pyqt_fix_sources"
FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR} ${OE_QMAKE_PATH_PLUGINS}"

View File

@ -0,0 +1,32 @@
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only)"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
"
python() {
if 'clang-layer' not in d.getVar('BBFILE_COLLECTIONS').split():
raise bb.parse.SkipRecipe('Requires meta-clang to be present.')
}
inherit setuptools3
inherit qt6-cmake
require recipes-qt/qt6/qt6-git.inc
QT_GIT_PROJECT = "pyside"
QT_MODULE = "pyside-setup"
FILESEXTRAPATHS:prepend := "${THISDIR}/pyside6:"
S = "${WORKDIR}/git"
EXTRA_OECMAKE += "-DBUILD_TESTS=FALSE"
EXTRA_OECMAKE:append:class-target = " -DQFP_SHIBOKEN_HOST_PATH=${STAGING_EXECPREFIXDIR} -DQFP_PYTHON_HOST_PATH=${PYTHON}"
INSANE_SKIP:${PN} += "already-stripped"

View File

@ -0,0 +1,61 @@
require python3-pyside6.inc
DEPENDS += "\
python3-shiboken6 \
python3-shiboken6-native \
${PYSIDE_QT_MODULES} \
"
PYSIDE_QT_MODULES ?= "\
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qt3d', '', d)} \
qtbase \
qtcharts \
qtconnectivity \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtdatavis3d', '', d)} \
qtdeclarative \
qtdeclarative-native \
qtgraphs \
${@bb.utils.contains('QT_COMMERCIAL_MODULES', '1', 'qthttpserver', '', d)} \
qtlocation \
qtmultimedia \
qtnetworkauth \
qtpositioning \
qtquick3d \
qtquick3d-native \
qtremoteobjects \
qtremoteobjects-native \
qtscxml \
qtscxml-native \
qtsensors \
qtserialbus \
qtserialport \
qtspeech \
qtsvg \
qttools \
qtwebchannel \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtpdf', '', d)} \
qtwebsockets \
"
OECMAKE_SOURCEPATH = "${S}/sources/pyside6"
export LLVM_INSTALL_DIR = "${STAGING_DIR_NATIVE}${exec_prefix}"
PYSIDE_COMPILER = "${HOST_SYS}-g++"
PYSIDE_COMPILER:toolchain-clang = "${HOST_SYS}-clang++"
EXTRA_OECMAKE += "\
-DSTANDALONE=ON \
-DPYSIDE_TREAT_QT_INCLUDE_DIRS_AS_NON_SYSTEM=ON \
-DSHIBOKEN_GENERATOR_EXTRA_FLAGS='\
--clang-options=--sysroot=${STAGING_DIR_TARGET},--target=${HOST_SYS},${@d.getVar('HOST_CC_ARCH').replace(' ',',')} \
--compiler-path=${PYSIDE_COMPILER} \
' \
"
FILES:${PN} += "\
${QT6_INSTALL_PLUGINSDIR}/designer \
"
FILES:${PN}-dev += "\
${datadir}/PySide6 \
"

View File

@ -0,0 +1,9 @@
require python3-pyside6.inc
DEPENDS += "qtbase clang-native python3-shiboken6-native"
OECMAKE_SOURCEPATH = "${S}/sources/shiboken6"
EXTRA_OECMAKE += "-DSHIBOKEN_BUILD_LIBS=ON"
BBCLASSEXTEND = "native nativesdk"

View File

@ -3,7 +3,7 @@ HOMEPAGE = "http://github.com/pytest-dev/pytest-qt"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=be0db96616c6ec3cabe975402c4c687f"
SRC_URI[sha256sum] = "dfc5240dec7eb43b76bcb5f9a87eecae6ef83592af49f3af5f1d5d093acaa93e"
SRC_URI[sha256sum] = "00a17b586dd530b6d7a9399923a40489ca4a9a309719011175f55dc6b5dc8f41"
inherit pypi setuptools3

View File

@ -11,8 +11,8 @@ PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
RDEPENDS:${PN} += " \
nativesdk-qtapplicationmanager-dev \
nativesdk-qtapplicationmanager-tools \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', 'nativesdk-qtgrpc-dev', '', d)} \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', 'nativesdk-qtgrpc-tools', '', d)} \
nativesdk-qtgrpc-dev \
nativesdk-qtgrpc-tools \
nativesdk-qtquick3d-dev \
nativesdk-qtquick3d-tools \
nativesdk-qtremoteobjects-dev \
@ -28,6 +28,6 @@ RDEPENDS:${PN} += " \
FORLINUXHOST:mingw32 = ""
FORLINUXHOST = " \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-python', 'nativesdk-qtinterfaceframework-dev nativesdk-qtinterfaceframework-tools', '', d)} \
nativesdk-qtinterfaceframework-dev nativesdk-qtinterfaceframework-tools \
"

View File

@ -1,6 +1,9 @@
DESCRIPTION = "Qt6 development host commercial packages"
LICENSE = "MIT"
# disable sanity check for allarch packagegroup
PACKAGE_ARCH = ""
inherit packagegroup nativesdk
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"

View File

@ -1,6 +1,9 @@
DESCRIPTION = "Qt6 development host packages"
LICENSE = "MIT"
# avoid warning with inherit_defer allarch
PACKAGE_ARCH = ""
inherit packagegroup nativesdk
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
@ -18,5 +21,5 @@ FORLINUXHOST = " \
nativesdk-cmake \
nativesdk-ninja \
nativesdk-perl-modules \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', 'nativesdk-python3-html5lib', '', d)} \
nativesdk-python3-html5lib \
"

View File

@ -16,11 +16,11 @@ RDEPENDS:${PN} += " \
qtconnectivity \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtdatavis3d', '', d)} \
qtdeviceutilities \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtgraphs', '', d)} \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', 'qtgrpc', '', d)} \
qtgraphs \
qtgrpc \
qthttpserver \
qtimageformats \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-python', 'qtinterfaceframework', '', d)} \
qtinterfaceframework \
qtlocation \
qtlottie \
qtmqtt \
@ -47,13 +47,22 @@ RDEPENDS:${PN} += " \
qtwebsockets \
"
ARCHITECTURE_LIMITED_MODULES = "\
RDEPENDS:${PN}:append:aarch64 = "\
qtquick3dphysics \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtpdf', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebview', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview qtpdf', '', d)} \
"
RDEPENDS:${PN}:append:arm = " qtquick3dphysics"
RDEPENDS:${PN}:append:armv6 = "\
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview qtpdf', '', d)} \
"
RDEPENDS:${PN}:append:armv7a = "\
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview qtpdf', '', d)} \
"
RDEPENDS:${PN}:append:armv7ve = "\
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview qtpdf', '', d)} \
"
RDEPENDS:${PN}:append:x86 = " qtquick3dphysics"
RDEPENDS:${PN}:append:x86-64 = "\
qtquick3dphysics \
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview qtpdf', '', d)} \
"
RDEPENDS:${PN}:append:aarch64 ="${ARCHITECTURE_LIMITED_MODULES}"
RDEPENDS:${PN}:append:arm ="${ARCHITECTURE_LIMITED_MODULES}"
RDEPENDS:${PN}:append:x86 ="${ARCHITECTURE_LIMITED_MODULES}"
RDEPENDS:${PN}:append:x86-64 ="${ARCHITECTURE_LIMITED_MODULES}"

View File

@ -1,5 +1,16 @@
#!/bin/sh
if [ ! -s tst_list ]; then
echo PASS: no tests
exit 0
fi
export LANG=C.UTF-8
export QT_QPA_PLATFORM=offscreen
for test in $(cat tst_list); do
( cd $(dirname ${test}) && ./$(basename ${test}) )
(
cd $(dirname ${test})
t=$(basename ${test})
./${t} && echo PASS: ${t} || echo FAIL: ${t}
)
done

View File

@ -11,6 +11,4 @@ include recipes-qt/qt6/qt6-commercial.inc
DEPENDS += "qtbase qtdeclarative qtdeclarative-native qmlcompilerplus-native"
PTEST_ENABLED = "0"
BBCLASSEXTEND = "native nativesdk"

View File

@ -1,27 +0,0 @@
From 6e377e36c9cab72b858f4149aed88e2090d9ff4d Mon Sep 17 00:00:00 2001
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Date: Tue, 9 Aug 2022 01:51:30 +0300
Subject: [PATCH] Use unqualified uint32_t everywhere in FBXBinaryTokenizer
The use of qualified std::uint32_t requires including <cstdint> instead
of <stdint.h> on some implementations, and that breaks the build of Qt 6
on GCC 13. Just use the unqualified name everywhere.
---
Upstream-Status: Backport [v5.2.5 commit 253f8bfa621a9fa6cd2c36291cdaa8c60c99322c]
code/AssetLib/FBX/FBXBinaryTokenizer.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/code/AssetLib/FBX/FBXBinaryTokenizer.cpp b/code/AssetLib/FBX/FBXBinaryTokenizer.cpp
index 348812054..120e47a76 100644
--- a/code/AssetLib/FBX/FBXBinaryTokenizer.cpp
+++ b/code/AssetLib/FBX/FBXBinaryTokenizer.cpp
@@ -472,7 +472,7 @@ void TokenizeBinary(TokenList& output_tokens, const char* input, size_t length)
}
catch (const DeadlyImportError& e)
{
- if (!is64bits && (length > std::numeric_limits<std::uint32_t>::max())) {
+ if (!is64bits && (length > std::numeric_limits<uint32_t>::max())) {
throw DeadlyImportError("The FBX file is invalid. This may be because the content is too big for this older version (", ai_to_string(version), ") of the FBX format. (", e.what(), ")");
}
throw;

View File

@ -25,7 +25,6 @@ ASSIMP_BRANCH = "qt6_assimp"
SRC_URI += " \
${QT_GIT}/${QT_GIT_PROJECT}/qtquick3d-assimp.git;name=qt3d-assimp;branch=${ASSIMP_BRANCH};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty/assimp/src \
file://0001-Use-unqualified-uint32_t-everywhere-in-FBXBinaryToke.patch;patchdir=src/3rdparty/assimp/src \
"
DEPENDS = "qtbase qtdeclarative qtdeclarative-native qtshadertools qtshadertools-native"

View File

@ -1,8 +1,10 @@
DESCRIPTION ?= "Qt is a cross-platform application development framework for desktop, embedded and mobile."
HOMEPAGE ?= "https://www.qt.io"
inherit srcrev-update
QT_MODULE ?= "${BPN}"
QT_MODULE_BRANCH ?= "dev"
QT_MODULE_BRANCH ?= "6.6"
QT_MODULE_BRANCH_PARAM ?= "branch=${QT_MODULE_BRANCH};nobranch=1"
QT_MODULE_REPO ?= "${QT_MODULE}.git"
@ -16,54 +18,55 @@ PV = "${QT_VERSION}"
SRCREV = "${SRCREV_${QT_MODULE}}"
SRCREV_tqtc-qmlcompilerplus = "a851849f3e58545b93041529565bf147e2ff605e"
SRCREV_tqtc-qtinsighttracker = "0698ff767f02be2d81f1d1e35b4b9a2d13f36c4b"
SRCREV_tqtc-qtvncserver = "8f0d24d3ebe7907b382cee9f31e8bea62d0546a2"
SRCREV_qt3d = "920382c85c7933d0ca8f1cffb81aaaa17af2560d"
SRCREV_qt3d-assimp = "5a38cd0a03015ceabbd5bc6efb0730dde1ef74e5"
SRCREV_qt5compat = "b53f53763d0aee4ed453a5b427ae24e7dda6308e"
SRCREV_qtbase = "44cfdfa7c07a4f1aa1e5b6a384418556e6b3028e"
SRCREV_qtapplicationmanager = "2cdef073adc592ead91e3357648dfa8ca5f0483c"
SRCREV_qtcharts = "ce064aa8a6d5333de09f13a4ddf55132aaa92557"
SRCREV_qtcoap = "a55bff01011325251ff455024b2684de53464943"
SRCREV_qtconnectivity = "f92df5f13df75da35f537ba8920f3069de4b72a9"
SRCREV_qtdatavis3d = "09b0b45ab88733365fa30c16288d7faffcc4d359"
SRCREV_qtdeclarative = "b982c2146cd729e8dbfc41c33b3022b6ef702e94"
SRCREV_qtdeviceutilities = "03693a1e230a13302932218ba0fcd7acaaa5cd98"
SRCREV_qtgraphs = "ef3dcf12853f838ccea3834f6f4ea0d56bf1f1ab"
SRCREV_qtgrpc = "8c1a9a50190b3845da1c444535817123b24dd3c4"
SRCREV_qthttpserver = "eb71e1bc7bdf874e3349d73cfba32fdda6c6d94f"
SRCREV_qtimageformats = "29a949b133e98ed9f58511164149403edccce7c6"
SRCREV_qtinterfaceframework = "cf27ef87b609e1a14d223e4cfaefde3a0ce3c097"
SRCREV_qtlanguageserver = "756d85baaab4f8a33a81913a4e971fae235dcdf7"
SRCREV_qtlocation = "181834612d7fad00b1de1b2b6d505a435b271e26"
SRCREV_qtlottie = "ce4f32538f24772b718f2b334769250aa24c8e53"
SRCREV_qtmqtt = "e2f58cee5c316d92d2b3b824867af8a7c1094b79"
SRCREV_qtmultimedia = "ec1747b0d18718649b1d6fd8581b55d5012a9c87"
SRCREV_qtnetworkauth = "75a8a8eb81865cceea52121744d5cb150dedf82a"
SRCREV_qtopcua = "97864141a3871b9649ac0b670337dcc0c5867cdb"
SRCREV_qtpositioning = "fec9b22d86981008c7217bd14ef1241b9983c677"
SRCREV_qtquick3d = "8f92f961b705a6e457c12cd158693818bb052133"
SRCREV_tqtc-qmlcompilerplus = "976dae30ade4b2e766e91861047c4971237a93d5"
SRCREV_tqtc-qtinsighttracker = "b1a9b31f0cf2a4eebdd372564be371b790fa190d"
SRCREV_tqtc-qtvncserver = "108f7ba06f92e729a6cc2b9d6b454a89258af0ef"
SRCREV_pyside-setup = "afbd87359bc5e959bac28cc0318794aa2231a91c"
SRCREV_qt3d = "c5d6c942098327226ff0661b60adb3baef704992"
SRCREV_qt3d-assimp = "c60a259fd35f09b8896b2920d48c436145914aae"
SRCREV_qt5compat = "b495ada5f1eefc060f38a100b04ebc4c55abf076"
SRCREV_qtbase = "afdec885058c92e24604f398a926297222da06f3"
SRCREV_qtapplicationmanager = "8eeb7df697cae07b1636142e3d96b6aef6845098"
SRCREV_qtcharts = "0891236aec710abe7b02166068ac5d0447d5c04c"
SRCREV_qtcoap = "cb94031f00b0cbe3f2d7cb7c4322c57f11d37969"
SRCREV_qtconnectivity = "bc8194177c9f11e0082650d83e2b452446d49b7c"
SRCREV_qtdatavis3d = "263fce9ec8be74eeb7a67a9f87069ba3bdec60ed"
SRCREV_qtdeclarative = "ab5521fd1a637739c7e91def84caa84426055aff"
SRCREV_qtdeviceutilities = "45f8475ce8a1af3d122810c5ba19cdaf8f8aec67"
SRCREV_qtgraphs = "398e5bf3d5c1b62d2ac4e50fb87bb9eb9c877645"
SRCREV_qtgrpc = "fea34fc3596c90f53a70d51a50feee6bc6921689"
SRCREV_qthttpserver = "19d4435d4ef523f4a5c30c6484a2f11739fc3fec"
SRCREV_qtimageformats = "2bb23118cf14d96c1dbcb5da3f8b0cab3dfe3da2"
SRCREV_qtinterfaceframework = "0455bf81a5777bf19894a2dc917b20df98d2ed0c"
SRCREV_qtlanguageserver = "7a6eefecb4834c0b1238e7c5696d66227423747e"
SRCREV_qtlocation = "0bb0e7bab232ba0832619ff3397040d25677b0f5"
SRCREV_qtlottie = "f8a0df02d394e0a7bf06620da79f22c164e40c30"
SRCREV_qtmqtt = "73fb20a86c607ed4c963ea056ffe7f882d6e894b"
SRCREV_qtmultimedia = "42c108aba3bd007e0cfe349851575d3a333106a7"
SRCREV_qtnetworkauth = "55af7eba57ac8c786290f88046da5a6b59b856ec"
SRCREV_qtopcua = "13c80698da9a9b97d0f62d9072c44ccf585179ad"
SRCREV_qtpositioning = "31cc09838d78da554afea162ea5a94bb45e489c6"
SRCREV_qtquick3d = "94144b1fd579627b8f96116e6af362fc43e0ba85"
SRCREV_qtquick3d-assimp = "c300c2c8e32cb9125d7caf0342b83d79e4925acd"
SRCREV_qtquick3dphysics = "d689345cabe9205daff6ff1405d10fc4ef523c9e"
SRCREV_qtquickdesigner-components = "e0198ba7bc8c9c7c9f1aadee3a35d7e0efbf4856"
SRCREV_qtquicktimeline = "f88a21433614fc12c881d963aec664bcfdf5f8c2"
SRCREV_qtremoteobjects = "1d1d9925a76beb3b86b0de2386635c8b77a45bc5"
SRCREV_qtscxml = "7f4d742224d69edb823a2cf69fe0a67aec7361fd"
SRCREV_qtsensors = "97a36e0ca9cf0305220ce5b47d8d2340ace05cc4"
SRCREV_qtserialbus = "93c3e33897293bf64d145c5d8ab16e20df21209f"
SRCREV_qtserialport = "3b407d359d46c6510e07d568b4c227155c5cf2b3"
SRCREV_qtshadertools = "d6f53b3da241a9bdccb8ea07160c760ca4a2fa84"
SRCREV_qtspeech = "747d2cc1a15ffcbb3743b77f8f9ba71d1feceb95"
SRCREV_qtsvg = "e35ae8ce98053079331902e648e6ade1efff6e04"
SRCREV_qttools = "3182e4ac04fc1e55a0ee5bf767863e4df95a1dcb"
SRCREV_qtquick3dphysics = "007b89ee9b505428224a0178a443d0bdba6b20fe"
SRCREV_qtquickdesigner-components = "8be09977abbdb638bf483ea417b36091b409c54f"
SRCREV_qtquicktimeline = "e155cafc4e19fd4999779b14e906ac6403491159"
SRCREV_qtremoteobjects = "d00a983aee9e30a1f0bc8c4e5873a3206857cb54"
SRCREV_qtscxml = "7c3716741e93c0ab8ca3fe411f77bf6f3f52aef2"
SRCREV_qtsensors = "fac467e1f18318581abe218dcf2b5d2f1deb7a45"
SRCREV_qtserialbus = "1df01219add4b862a132b18fce2452143e44228f"
SRCREV_qtserialport = "477a3b977154284ecad6ea9b68b62bf54b04bc89"
SRCREV_qtshadertools = "58c70c631af3372ed20e042cf41159c6b754df06"
SRCREV_qtspeech = "38451e6998bbeeb753f8a951e11bfbae32d20aa2"
SRCREV_qtsvg = "86b5372ebf311b7a6411666c17c9f45e072c4b6f"
SRCREV_qttools = "ad230559fb2fa2ae121552314206a926280d10a2"
SRCREV_qttools-qlitehtml = "f05f78ef33225823d348ee18f2fa464e95024dd2"
SRCREV_qttools-qlitehtml-litehtml = "43af58e8adad70c4f1a0a9235546a246754c1737"
SRCREV_qttranslations = "9e3669e3370b2efd088aa7d771721557f3e69aa7"
SRCREV_qtvirtualkeyboard = "ac0936917b88e10c9c6d2a26e2ed1f3e0b874a5b"
SRCREV_qtwayland = "e1c1e58baf3ac4e866c90eab9963b6efc397fe65"
SRCREV_qtwebchannel = "c3188853c8ee5253619b0615f74952349180381b"
SRCREV_qtwebengine = "c4bc5914c27d7097bef44f4e987b2c5e4e03cd1e"
SRCREV_qtwebengine-chromium = "34482ee5da826627131767d907800f6f4a2f0a36"
SRCREV_qtwebsockets = "f9e3cb1e44ab4dc8a8d4cc751cb3604ee033931c"
SRCREV_qtwebview = "aa3788b056c0ec16e93a135ed3d446ff95bab6c6"
SRCREV_qttranslations = "5007f966daac7e132a8e158c874281730e67ebeb"
SRCREV_qtvirtualkeyboard = "8a8fbb8888e04322909658a1328f20dec0f3c94c"
SRCREV_qtwayland = "c48bc5a760fcf3311998297efb02e5c4bdfde70f"
SRCREV_qtwebchannel = "a836e598960cd61e256e077c331b38bca662b77d"
SRCREV_qtwebengine = "ee8f63ea4b325404529f231273adf1fb6eb874d1"
SRCREV_qtwebengine-chromium = "34ec0d3e7bacfea89889641a8f4320d8ffcfa9af"
SRCREV_qtwebsockets = "26db5812958bc8bcf6e333357760c3023631eae3"
SRCREV_qtwebview = "2ba692f13a218edd824ae6307791faeb24c5a48b"

View File

@ -10,66 +10,88 @@ DEBUG_PREFIX_MAP += "\
-fmacro-prefix-map=${D}= \
"
do_install_ptest_base[progress] = "${@d.getVarFlag('do_compile', 'progress')}"
B_PTEST = "${WORKDIR}/build-ptest"
fakeroot do_install_ptest() {
cat >${WORKDIR}/toolchain-ptest.cmake <<EOF
include(${WORKDIR}/toolchain.cmake)
list(PREPEND CMAKE_FIND_ROOT_PATH ${D})
EOF
if [ -n "${OE_QMAKE_QMAKE}" ]; then
# qmake project
B_PTEST=${B}
mkdir -p ${B_PTEST}/tests
cd ${B_PTEST}/tests
${OE_QMAKE_QMAKE} -o Makefile ${S}/tests
oe_runmake
else
# cmake project
B_PTEST=${WORKDIR}/build-ptest
mkdir -p ${B_PTEST}
cd ${B_PTEST}
cmake \
${OECMAKE_GENERATOR_ARGS} \
-DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain-ptest.cmake \
-DPython3_EXECUTABLE=${PYTHON} \
${EXTRA_OECMAKE} \
-DQT_BUILD_STANDALONE_TESTS=ON \
-DQT_ADDITIONAL_PACKAGES_PREFIX_PATH=${D}${QT6_INSTALL_LIBDIR}/cmake \
-DCMAKE_STAGING_PREFIX=${D}${prefix} \
-DCMAKE_SKIP_RPATH=ON \
-DQT_DISABLE_NO_DEFAULT_PATH_IN_QT_PACKAGES=ON \
${S} \
-Wno-dev
${CMAKE_VERBOSE} cmake --build ${B_PTEST} --target all
fi
mkdir -p ${B_PTEST}
cd ${B_PTEST}
cmake \
${OECMAKE_GENERATOR_ARGS} \
-DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain-ptest.cmake \
-DPython3_EXECUTABLE=${PYTHON} \
${EXTRA_OECMAKE} \
-DQT_BUILD_STANDALONE_TESTS=ON \
-DQT_ADDITIONAL_PACKAGES_PREFIX_PATH=${D}${QT6_INSTALL_LIBDIR}/cmake \
-DCMAKE_STAGING_PREFIX=${D}${prefix} \
-DCMAKE_SKIP_RPATH=ON \
-DQT_DISABLE_NO_DEFAULT_PATH_IN_QT_PACKAGES=ON \
${S} \
-Wno-dev
${CMAKE_VERBOSE} cmake --build ${B_PTEST} --target all
# if any auto tests were build
if [ -e "${B_PTEST}/tests/auto" ]; then
install -d ${D}${PTEST_PATH}/tests
cp -r ${B_PTEST}/tests/auto ${D}${PTEST_PATH}/tests
for tests in auto baseline
do
if [ -e "${B_PTEST}/tests/$tests" ]; then
install -d ${D}${PTEST_PATH}/tests
cp -r ${B_PTEST}/tests/$tests ${D}${PTEST_PATH}/tests
# remove build files
find ${D}${PTEST_PATH}/tests \
\( -wholename "*/.*" -o -wholename "*autogen*" -o -iwholename "*cmake*" -o -name Makefile \) \
-delete
# remove build files
find ${D}${PTEST_PATH}/tests/$tests \
\( -wholename "*/.*" -o -wholename "*autogen*" -o -iwholename "*cmake*" -o -name Makefile \) \
-delete
for f in $(find ${D}${PTEST_PATH} -name tst_* -executable); do
test=${f##${D}${PTEST_PATH}/}
testdir=$(dirname ${test})
# tests may depend on files from sources
if [ -e ${S}/${testdir} ]; then
cp -r ${S}/${testdir}/* ${D}${PTEST_PATH}/${testdir}
fi
echo ${test} >> ${D}${PTEST_PATH}/tst_list
done
fi
cp -r ${S}/tests/$tests ${D}${PTEST_PATH}/tests
fi
done
}
fakeroot python do_create_ptest_list() {
import json, os, subprocess
builddir = d.getVar('B_PTEST')
ptest_path = d.getVar('PTEST_PATH')
try:
command_output = subprocess.check_output(['ctest', '--show-only=json-v1'], cwd=builddir, text=True)
except subprocess.CalledProcessError as e:
bb.fatal('Could not get list of tests: {e.output}')
json_data = json.loads(command_output)
tests_data = json_data.get('tests', [])
output = d.getVar('D') + os.path.join(ptest_path, 'tst_list')
file = open(output, 'w')
for test in tests_data:
test_name = test.get('name')
working_directory = next((prop['value'] for prop in test.get('properties', []) if prop['name'] == 'WORKING_DIRECTORY'), None)
test_executable = os.path.normpath(os.path.join(working_directory,test_name))
if test_executable.startswith(builddir) and os.path.isfile(test_executable):
test_executable = test_executable.replace(builddir,ptest_path)
file.write(f'{test_executable}\n')
file.close()
}
addtask create_ptest_list after do_install_ptest_base before do_package
python () {
if not(d.getVar('PTEST_ENABLED') == "1"):
bb.build.deltask('do_create_ptest_list', d)
}
INSANE_SKIP:${PN}-ptest += "file-rdeps"
PACKAGESPLITFUNCS =+ "remove_ptest_debug"
remove_ptest_debug() {
if [ -e ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest/tests/auto ]; then
find ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest/tests/auto -depth -type d -name .debug -exec rm -rf '{}' \;
if [ -e ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest/tests ]; then
find ${PKGD}${QT6_INSTALL_LIBDIR}/${BPN}/ptest/tests -depth -type d -name .debug -exec rm -rf '{}' \;
fi
}

View File

@ -1,5 +1,3 @@
inherit srcrev-update
include recipes-qt/qt6/qt6-ptest.inc
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,"
@ -127,3 +125,4 @@ FILES:${PN}-examples = " \
${QT6_INSTALL_EXAMPLESDIR} \
${prefix}/examples \
"
RDEPENDS:${PN}-examples = "${PN}"

View File

@ -1,4 +1,4 @@
From 1662965c5b1fd00fb61c3fc29833324999c0bfc2 Mon Sep 17 00:00:00 2001
From 4064b8757cbb28588fdff2529ea203bf3eabc579 Mon Sep 17 00:00:00 2001
From: Holger Freyther <zecke@selfish.org>
Date: Wed, 26 Sep 2012 17:22:30 +0200
Subject: [PATCH] qlibraryinfo: allow to set qt.conf from the outside using the
@ -15,18 +15,17 @@ Upstream-Status: Inappropriate [embedded specific]
Change-Id: I41595c6ce7514e8f197d0a19a1308c9460037d1b
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
src/corelib/global/qlibraryinfo.cpp | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
index 715bda488c..3e9314be86 100644
index 92729b06f1..dac7857600 100644
--- a/src/corelib/global/qlibraryinfo.cpp
+++ b/src/corelib/global/qlibraryinfo.cpp
@@ -92,7 +92,12 @@ static QSettings *findConfiguration()
if (QLibraryInfoPrivate::qtconfManualPath)
return new QSettings(*QLibraryInfoPrivate::qtconfManualPath, QSettings::IniFormat);
@@ -101,7 +101,12 @@ static QSettings *findConfiguration()
if (qtconfManualPath)
return new QSettings(*qtconfManualPath, QSettings::IniFormat);
- QString qtconfig = QStringLiteral(":/qt/etc/qt.conf");
+ QByteArray config = getenv("OE_QMAKE_QTCONF_PATH");

View File

@ -34,10 +34,10 @@ DEPENDS:remove:class-native = "qtbase-native"
RDEPENDS_${PN}:remove:class-native = "libssl-native"
RRECOMMENDS:${PN}:append:class-target = " locale-base-c"
RRECOMMENDS:${PN}-ptest:append = " tzdata"
PACKAGECONFIG:class-native ?= "\
gui widgets jpeg png dbus no-opengl openssl zlib \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', 'zstd', '', d)} \
gui widgets jpeg png dbus no-opengl openssl zlib zstd \
"
PACKAGECONFIG:class-nativesdk ?= "${PACKAGECONFIG:class-native}"
PACKAGECONFIG ?= "\
@ -78,8 +78,8 @@ PACKAGECONFIG_DEFAULT ?= "\
widgets \
xkbcommon \
zlib \
zstd \
${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Os', 'optimize-size ltcg', '', d)} \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', 'zstd', '', d)} \
"
PACKAGECONFIG:remove:mingw32 = "openssl"
@ -93,6 +93,9 @@ OPENSSL_LINKING_MODE ?= "runtime"
QT_QPA_DEFAULT_PLATFORM ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb', \
bb.utils.contains('PACKAGECONFIG', 'gles2', 'eglfs', 'linuxfb', d), d)}"
# at-spi bridge requires XCB currently
ACCESSIBILITY_DEPENDS = "${@bb.utils.contains("DISTRO_FEATURES", "x11", "at-spi2-core", "", d)}"
PACKAGECONFIG[ltcg] = "-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON,-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF"
PACKAGECONFIG[optimize-size] = "-DFEATURE_optimize_size=ON,-DFEATURE_optimize_size=OFF"
PACKAGECONFIG[static] = "-DBUILD_SHARED_LIBS=OFF,-DBUILD_SHARED_LIBS=ON"
@ -114,13 +117,14 @@ PACKAGECONFIG[lttng] = "-DFEATURE_lttng=ON,-DFEATURE_lttng=OFF,lttng-ust"
# gui
PACKAGECONFIG[gui] = "-DFEATURE_gui=ON,-DFEATURE_gui=OFF"
PACKAGECONFIG[accessibility] = "-DFEATURE_accessibility=ON,-DFEATURE_accessibility=OFF"
PACKAGECONFIG[accessibility] = "-DFEATURE_accessibility=ON,-DFEATURE_accessibility=OFF,${ACCESSIBILITY_DEPENDS}"
PACKAGECONFIG[directfb] = "-DFEATURE_directfb=ON,-DFEATURE_directfb=OFF,directfb"
PACKAGECONFIG[fontconfig] = "-DFEATURE_fontconfig=ON,-DFEATURE_fontconfig=OFF,fontconfig"
PACKAGECONFIG[gbm] = "-DFEATURE_gbm=ON,-DFEATURE_gbm=OFF,virtual/libgbm"
PACKAGECONFIG[gl] = "-DFEATURE_opengl_desktop=ON,-DFEATURE_opengl_desktop=OFF,virtual/libgl"
PACKAGECONFIG[gles2] = "-DFEATURE_opengles2=ON,-DFEATURE_opengles2=OFF,virtual/libgles2 virtual/egl"
PACKAGECONFIG[eglfs] = "-DFEATURE_eglfs=ON,-DFEATURE_eglfs=OFF"
PACKAGECONFIG[eglfs-egldevice] = "-DFEATURE_eglfs_egldevice=ON,-DFEATURE_eglfs_egldevice=OFF"
PACKAGECONFIG[harfbuzz] = "-DFEATURE_harfbuzz=ON,-DFEATURE_harfbuzz=OFF,harfbuzz"
PACKAGECONFIG[jpeg] = "-DFEATURE_jpeg=ON,-DFEATURE_jpeg=OFF,jpeg"
PACKAGECONFIG[kms] = "-DFEATURE_kms=ON,-DFEATURE_kms=OFF,drm virtual/egl"
@ -128,7 +132,7 @@ PACKAGECONFIG[libinput] = "-DFEATURE_libinput=ON,-DFEATURE_libinput=OFF,libinput
PACKAGECONFIG[linuxfb] = "-DFEATURE_linuxfb=ON,-DFEATURE_linuxfb=OFF"
PACKAGECONFIG[mtdev] = "-DFEATURE_mtdev=ON,-DFEATURE_mtdev=OFF,mtdev"
PACKAGECONFIG[no-opengl] = "-DINPUT_opengl=no"
PACKAGECONFIG[png] = "-DFEATURE_png=ON,-DFEATURE_png=OFF,libpng"
PACKAGECONFIG[png] = "-DFEATURE_system_png=ON,-DFEATURE_png=OFF,libpng"
PACKAGECONFIG[tslib] = "-DFEATURE_tslib=ON,-DFEATURE_tslib=OFF,tslib"
PACKAGECONFIG[vulkan] = "-DFEATURE_vulkan=ON,-DFEATURE_vulkan=OFF,vulkan-headers,vulkan-loader"
PACKAGECONFIG[xcb] = "-DFEATURE_xcb=ON,-DFEATURE_xcb=OFF,libxcb xcb-util-wm xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-cursor"
@ -159,6 +163,7 @@ EXTRA_OECMAKE += "\
EXTRA_OECMAKE:append:class-target = "\
-DFEATURE_rpath=OFF \
-DFEATURE_relocatable=OFF \
-DQT_QPA_DEFAULT_PLATFORM=${QT_QPA_DEFAULT_PLATFORM} \
"
@ -206,7 +211,7 @@ EOF
do_install:append:class-target() {
sed >> ${D}${QT6_INSTALL_MKSPECSDIR}/linux-oe-g++/qmake.conf <<EOF \
-e 's:${lcl_maybe_fortify}::' \
-e 's: ${lcl_maybe_fortify}: :' \
-e 's:${DEBUG_PREFIX_MAP}::' \
-e 's:${RECIPE_SYSROOT}:$$[QT_SYSROOT]:' \
-e 's:${TARGET_PREFIX}:$$[QT_HOST_PREFIX]${bindir}/${TARGET_SYS}/${TARGET_PREFIX}:'

View File

@ -14,9 +14,6 @@ inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
# QTBUG-93565
PTEST_ENABLED = "0"
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)}"

View File

@ -17,5 +17,7 @@ include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtshadertools qtshadertools-native qtdeclarative-native qtlanguageserver"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtsvg"
BBCLASSEXTEND = "native nativesdk"

View File

@ -2,8 +2,8 @@ LICENSE = "GPL-3.0-only | The-Qt-Company-Commercial"
LIC_FILES_CHKSUM = "file://LICENSE.GPL3;md5=d32239bcb673463ab874e80d47fae504"
inherit qt6-cmake
include recipes-qt/qt6/qt6.inc
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
DEPENDS = "qtbase qtdeclarative qtdeclarative-native qtvirtualkeyboard"
RDEPENDS:${PN} = "connman"

View File

@ -13,11 +13,6 @@ inherit qt6-cmake
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
python() {
if 'meta-python' not in d.getVar('BBFILE_COLLECTIONS').split():
raise bb.parse.SkipRecipe('Requires meta-python to be present.')
}
# Default build and package these
REFERENCE_API ?= "1"
SIMULATION_SUPPORT ?= "1"

View File

@ -20,7 +20,10 @@ include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase qtshadertools qtshadertools-native"
PACKAGECONFIG ?= "ffmpeg gstreamer pulseaudio qml spatialaudio spatialaudio_quick3d"
PACKAGECONFIG ?= "\
${@bb.utils.contains_any('LICENSE_FLAGS_ACCEPTED','commercial commercial_ffmpeg','ffmpeg','',d)} \
gstreamer pulseaudio qml spatialaudio spatialaudio_quick3d"
PACKAGECONFIG[alsa] = "-DFEATURE_alsa=ON,-DFEATURE_alsa=OFF,alsa-lib"
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtsvg"
PACKAGECONFIG[ffmpeg] = "-DFEATURE_ffmpeg=ON,-DFEATURE_ffmpeg=OFF,ffmpeg"

View File

@ -5,6 +5,8 @@ Subject: [PATCH] Skip embree on mingw
Build fails with older mingw headers, skip it complete since
it's not needed for the toolchain.
Upstream-Status: Inappropriate [OE Specific]
---
src/3rdparty/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

View File

@ -16,9 +16,7 @@ include recipes-qt/qt6/qt6.inc
DEPENDS += "qtbase"
PACKAGECONFIG ?= "modbus-serialport \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', 'socketcan', '', d)} \
"
PACKAGECONFIG ?= "modbus-serialport socketcan"
PACKAGECONFIG:class-native = ""
PACKAGECONFIG:class-nativesdk = ""

View File

@ -16,6 +16,10 @@ include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc
DEPENDS = "qtbase qtshadertools-native"
DEPENDS:append:class-native = " spirv-tools-native"
RDEPENDS:${PN}-tools = "spirv-tools"
RDEPENDS:${PN}-tools:remove:mingw32 = "spirv-tools"
BBCLASSEXTEND = "native nativesdk"

View File

@ -24,6 +24,12 @@ SRC_URI += " \
DEPENDS += "qtbase qtdeclarative qttools-native"
PACKAGECONFIG:class-native = "${@bb.utils.contains('BBFILE_COLLECTIONS', 'clang-layer', 'clang', '', d)}"
PACKAGECONFIG:class-nativesdk = "${@bb.utils.contains('BBFILE_COLLECTIONS', 'clang-layer', 'clang', '', d)}"
PACKAGECONFIG:remove:mingw32 = "clang"
PACKAGECONFIG[clang] = "-DFEATURE_clang=ON,-DFEATURE_clang=OFF,clang"
FILES:${PN}-tools += "${QT6_INSTALL_DATADIR}/phrasebooks"
BBCLASSEXTEND = "native nativesdk"

View File

@ -4,7 +4,7 @@ Date: Wed, 29 Jan 2020 12:39:09 +0200
Subject: [PATCH] Allow qtwaylandscanner to be built without dependencies
Change-Id: I15aa5fc5128fcd0925d5950596bd56710b5b81d4
Upstream-Status: Inappropriate [OE Specific]
---
CMakeLists.txt | 5 -----
src/CMakeLists.txt | 2 +-

View File

@ -23,7 +23,7 @@ def gettext_oeconf(d):
return ""
QT_MODULE = "qtwebengine"
QT_MODULE_BRANCH_CHROMIUM = "108-based"
QT_MODULE_BRANCH_CHROMIUM = "112-based"
FILESEXTRAPATHS:prepend := "${THISDIR}/qtwebengine:"
@ -35,7 +35,5 @@ SRC_URI += " \
SRC_URI += " \
file://chromium/0001-v8-qemu-wrapper.patch;patchdir=src/3rdparty \
file://chromium/0002-chromium-workaround-for-too-long-.rps-file-name.patch;patchdir=src/3rdparty \
"
SRCREV_FORMAT = "qtwebengine_qtwebengine-chromium"

View File

@ -1,4 +1,4 @@
From c480cd09ed0297975f533c538faf26c7d4fcbe48 Mon Sep 17 00:00:00 2001
From efa68fdedbec60380946f69a6a2f985958148e83 Mon Sep 17 00:00:00 2001
From: Samuli Piippo <samuli.piippo@qt.io>
Date: Wed, 18 Aug 2021 15:09:41 +0300
Subject: [PATCH] CMake: use generated yocto toolchains
@ -16,10 +16,10 @@ Change-Id: I217c9122144f25bb2d28717e7248c2a51b149127
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/cmake/Functions.cmake b/cmake/Functions.cmake
index b460dbbe8..98db2e52e 100644
index 3371e5ff5..ac889d3f7 100644
--- a/cmake/Functions.cmake
+++ b/cmake/Functions.cmake
@@ -819,7 +819,7 @@ endfunction()
@@ -825,7 +825,7 @@ endfunction()
macro(create_pkg_config_host_wrapper buildDir)
find_package(PkgConfigHost)
@ -28,9 +28,9 @@ index b460dbbe8..98db2e52e 100644
create_pkg_config_wrapper("${buildDir}/pkg-config-host_wrapper.sh" "${PKG_CONFIG_HOST_EXECUTABLE}")
set(PKG_CONFIG_HOST_EXECUTABLE "${buildDir}/pkg-config-host_wrapper.sh")
endif()
@@ -1055,15 +1055,13 @@ endmacro()
macro(append_toolchain_setup)
if(LINUX)
@@ -1097,14 +1097,12 @@ macro(append_toolchain_setup)
elseif(LINUX)
get_gn_arch(cpu ${TEST_architecture_arch})
list(APPEND gnArgArg
- custom_toolchain="${buildDir}/target_toolchain:target"
- host_toolchain="${buildDir}/host_toolchain:host"
@ -38,7 +38,6 @@ index b460dbbe8..98db2e52e 100644
+ host_toolchain="//build/toolchain/yocto:yocto_native"
+ v8_snapshot_toolchain="//build/toolchain/yocto:yocto_target"
)
get_gn_arch(cpu ${TEST_architecture_arch})
if(CMAKE_CROSSCOMPILING)
- list(APPEND gnArgArg
- v8_snapshot_toolchain="${buildDir}/v8_toolchain:v8"
@ -49,10 +48,10 @@ index b460dbbe8..98db2e52e 100644
list(APPEND gnArgArg host_cpu="${cpu}")
endif()
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a62252783..3b7e4975f 100644
index 0084697f2..1c9059ae6 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -157,7 +157,7 @@ endif()
@@ -161,7 +161,7 @@ endif()
# HOST PROJECT
##

View File

@ -6,6 +6,7 @@ Subject: [PATCH] Enable examples
The bug mentioned does not affect bitbake builds.
Change-Id: I076763d9241061f9cdb4d46bcd88e46bd4f783aa
Upstream-Status: Inappropriate [OE Specific]
---
examples/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

View File

@ -1,42 +0,0 @@
From 358e7b51c205521dc9eac8a8cf676412078fe014 Mon Sep 17 00:00:00 2001
From: Samuli Piippo <samuli.piippo@qt.io>
Date: Thu, 30 Mar 2017 11:37:24 +0300
Subject: [PATCH] chromium: workaround for too long .rps file name
Ninja may fail when the build directory is too long:
ninja: error: WriteFile(__third_party_WebKit_Source_bindings_modules_\
interfaces_info_individual_modules__home_qt_work_build_build-nitrogen\
6x_tmp_work_cortexa9hf-neon-mx6qdl-poky-linux-gnueabi_qtwebengine_5.9\
.0_gitAUTOINC_29afdb0a34_049134677a-r0_build_src_toolchain_target__ru\
le.rsp): Unable to create file. File name too long
Task-number: QTBUG-59769
Change-Id: I73c5e64ae5174412be2a675e35b0b6047f2bf4c1
---
gn/src/gn/ninja_action_target_writer.cc | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gn/src/gn/ninja_action_target_writer.cc b/gn/src/gn/ninja_action_target_writer.cc
index 2ceac904a3c..8496e309cec 100644
--- a/gn/src/gn/ninja_action_target_writer.cc
+++ b/gn/src/gn/ninja_action_target_writer.cc
@@ -122,9 +122,18 @@ std::string NinjaActionTargetWriter::WriteRuleDefinition() {
// strictly necessary for regular one-shot actions, but it's easier to
// just always define unique_name.
std::string rspfile = custom_rule_name;
+
+ //quick workaround if filename length > 255 - ".rsp", just cut the dirs starting from the end
+ //please note ".$unique_name" is not used at the moment
+ int pos = 0;
+ std::string delimiter("_");
+ while (rspfile.length() > 250 && (pos = rspfile.find_last_of(delimiter)) != std::string::npos)
+ rspfile = rspfile.substr(0,pos);
+
if (!target_->sources().empty())
rspfile += ".$unique_name";
rspfile += ".rsp";
+
out_ << " rspfile = " << rspfile << std::endl;
// Response file contents.

View File

@ -26,25 +26,22 @@ SECURITY_STRINGFORMAT = ""
PACKAGECONFIG ??= "\
${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio', d)} \
geolocation \
glib \
lcms2 \
libevent \
libjpeg \
libpci \
libpng \
libwebp \
zlib \
${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', '${PACKAGECONFIG_OPENEMBEDDED}', '', d)} \
geolocation \
webchannel \
printing-and-pdf \
pepper-plugins \
spellchecker \
"
PACKAGECONFIG_OPENEMBEDDED ?= "\
lcms2 \
opus \
pepper-plugins \
printing-and-pdf \
snappy \
spellchecker \
webchannel \
webrtc \
zlib \
"
PACKAGECONFIG[alsa] = "-DFEATURE_webengine_system_alsa=ON,-DFEATURE_webengine_system_alsa=OFF,alsa-lib"
@ -86,8 +83,6 @@ FILES:${PN}-tools = ""
# when proprietary-codecs is enabled
INSANE_SKIP:${PN} += "textrel"
QT_PTEST_ENABLED = "0"
# QTBUG-109565 workaround: Disable GCC -O2 on armv7a-neon due to stack alignment issue
FULL_OPTIMIZATION:remove:armv7a = "${@bb.utils.contains('TUNE_FEATURES', 'neon', '-O2', '', d)}"
FULL_OPTIMIZATION:append:armv7a = "${@bb.utils.contains('TUNE_FEATURES', 'neon', ' -O1', '', d)}"

View File

@ -0,0 +1,87 @@
LICENSE = "Squish-Commercial-License-Agreement"
LIC_FILES_CHKSUM = "file://LICENSE;md5=26ea9708fd32ef443b69239b5d9b343c"
EXCLUDE_FROM_WORLD = "1"
inherit qt6-qmake
SQUISH_MIRROR ?= "https://ci-files01-hki.ci.qt.io/input/squish/coin/66x/20240124"
SRC_URI = "\
${SQUISH_MIRROR}/squish-${PV}-qt66x-linux64.run;name=squish \
${SQUISH_MIRROR}/squish-${PV}-qt-embedded-src.tar.gz;name=qt-squish-embedded \
"
SRC_URI[squish.sha256sum] = "69689f25cecf07ce15f8e8975f9cf44d85cc1d0f628d3013dfb6dfc9f562aa91"
SRC_URI[qt-squish-embedded.sha256sum] = "8f0c03f3814eb44f2366f0599e7f6ef52446651fc1882bd487918e441ceac07a"
S = "${WORKDIR}/squish-${PV}-qt-embedded-src"
B = "${WORKDIR}/build"
DEPENDS += "\
qtbase \
qt5compat \
qtdeclarative qtdeclarative-native \
qtapplicationmanager \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland qtwayland-native wayland wayland-native', '', d)} \
"
lcl_maybe_fortify = ""
OE_QMAKE_PATH_HOST_LIBEXECS = "${STAGING_DIR_NATIVE}/${QT6_INSTALL_LIBEXECDIR}"
do_install_squish[cleandirs] = "${WORKDIR}/squish"
do_install_squish[network] = "1"
do_install_squish() {
chmod +x ${WORKDIR}/squish-${PV}-qt66x-linux64.run
TMPDIR=${WORKDIR}/tmp XDG_RUNTIME_DIR=${WORKDIR}/tmp ${WORKDIR}/squish-${PV}-qt66x-linux64.run \
-platform minimal unattended=1 targetdir=${WORKDIR}/squish ide=0 testcenter=0
}
do_configure() {
${S}/configure \
--disable-all \
--enable-qmake-config \
--enable-qt \
--enable-server \
--enable-wayland \
--with-qmake=${STAGING_DIR_NATIVE}${QT6_INSTALL_BINDIR}/qmake \
--with-squishidl=${WORKDIR}/squish/bin/squishidl
}
do_compile() {
./build -j${@oe.utils.cpu_count()}
}
do_install() {
DESTDIR=${D}/opt/squish
./build install DESTDIR=${DESTDIR}
install -d ${D}${QT6_INSTALL_PLUGINSDIR}
mv ${DESTDIR}/plugins/* ${D}${QT6_INSTALL_PLUGINSDIR}
rmdir ${DESTDIR}/plugins
sed -i -e 's|${RECIPE_SYSROOT}||' ${D}/opt/squish/etc/paths.ini
install -d ${D}${sysconfdir}/profile.d
echo "export SQUISH_PREFIX=/opt/squish" > ${D}${sysconfdir}/profile.d/squish.sh
}
FILES:${PN} += "\
${QT6_INSTALL_PLUGINSDIR} \
/opt/squish \
"
FILES:${PN}-dev += "\
/opt/squish/qtbuiltinhook.pri \
/opt/squish/LICENSE \
/opt/squish/include \
/opt/squish/lib/cmake \
/opt/squish/sdk \
"
FILES:${PN}-dev:remove = "${FILES_SOLIBSDEV}"
FILES:${PN}-staticdev += "\
${QT6_INSTALL_PLUGINSDIR}/generic/*.a \
/opt/squish/lib/*.a \
/opt/squish/lib/extensions/qt/*.a \
"
addtask install_squish after do_unpack before do_configure