Commit Graph

20 Commits

Author SHA1 Message Date
Khem Raj
3462ea7490 python3-shiboken6: Fix build when Python_SOABI is not correctly found
On newer architectures e.g. RISCV python-config module fails to populate
Python_SOABI correctly and returns empty string. Which result in
configure failure

Fixes:
| CMake Error at cmake/ShibokenHelpers.cmake:223 (message):
|   Python_SOABI variable is empty.
| Call Stack (most recent call first):
|   cmake/ShibokenSetup.cmake:54 (get_python_extension_suffix)
|   CMakeLists.txt:13 (include)
|

Change-Id: I22c7756edcb21c9973b54207351d9cd4a99a0ea2
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 830a70309d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-12-03 08:00:27 +00:00
Samuli Piippo
2b2015a3be pyside6: add webview as dependency
Add missing dependency to QtWebView which can be used when
webengine is available.

Fixes: QTBUG-141441
Change-Id: I71ef6b0a467aa34ca65f17dee21d0212af3d125c
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
(cherry picked from commit c16128397c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-10-24 19:16:56 +00:00
Samuli Piippo
5fe66403f8 Update recipes to match S/UNPACKDIR changes in oe-core/whinlatter
In whinlatter, git sources are placed by default to UNPACKDIR/BP and
default value for S now works for git projects. Remove settings of S
and use BB_GIT_DEFAULT_DESTSUFFIX in recipes with multiple git repos.

To support previous Yocto versions, set default value for
BB_GIT_DEFAULT_DESTSUFFIX that matches the default S and use it for
all git checkouts.

Change-Id: I49d7ab7e2d34695618a48bf5f649341a8de2cbda
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 8553e4019a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 6dcfaaa359)
2025-07-04 08:49:07 +03:00
Samuli Piippo
b97d75d45f pyside6: use tqtc prefix for the module
This lets submodule update bot handle pyside6 updates in LTS branches.

Change-Id: I43113b032eee2a225b1ff565c89cdc93e5c44c55
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-05-16 06:12:59 +00:00
Samuli Piippo
81346233b9 pyside6: support clang from oe-core
Clang recipes have been moved from meta-clang layer to oe-core in
whinlatter. Add support for using pyside6 without meta-clang layer,
but with the clang recipes from oe-core.

Change-Id: I62b74f34bbcbe37060117681034614168b43690d
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit fb21821c4d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2025-05-07 11:57:23 +00:00
Samuli Piippo
2e65c7f10b pyside6: use correct site-packages dir
For multilib builds, pyside needs to be told correct site-packages dir.

Fixes: QTBUG-136018
Change-Id: Ife8ab54ad1f14a9730490c0345395d91fda0c64c
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2025-04-29 12:58:53 +00:00
Mikko Gronoff
adb13e7931 pyside6: remove branch override
Not needed.

Change-Id: Icdd7ab48f0d464f92460cb46e5d9d02f2db9b796
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-04-25 17:31:37 +03:00
Mikko Gronoff
ef59c81b86 qt6: switch to commercial-only LTS repos and branches
6.8 enters LTS phase.

Original 6.5 branch commit adjusted to 6.8 by adding
lts configs additionally to qtdoc, qtgraphs & pyside6.

Change-Id: I09d479153a75489de12a877fbfa5cc2f1ec4ea07
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit 67eeece339)
2025-04-25 17:31:15 +03:00
Leon Anavi
f850801b80 python3-pyqt6: Fix unsafe for cross-compilation
Replace /usr/include/${PYTHON_DIR} (in this case python3.13) with
${PYTHON_INCLUDE_DIR} in all .pro files.

Fixes: cc1plus: error: include location "/usr/include/python3.13"
is unsafe for cross-compilation [-Werror=poison-system-directories]

The work was sponsored by GOVCERT.LU.

Change-Id: I42b9bd400d036aa411e80a9cc7db0515c12f2e8f
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-02-12 12:08:30 +02:00
Leon Anavi
d22e5b5339 python3-pyqt6: Add Upstream-Status
Add Upstream-Status in patch 0001-Fix-build-with-Qt-6.8.2.patch to
fix errors when building PyQt 6.8 based on Styhead or newer Yocto
releases.

The work was sponsored by GOVCERT.LU.

Change-Id: Ieccbab24320e68a7623017fb8616cb73354fb554
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-02-12 12:08:22 +02:00
Leon Anavi
a35ce4d021 python3-pyqt6: Fix QStringConverterBase
Add a patch to fix QStringConverterBase after it has been made
move-only. The patch has been taken from a submission for the
openSUSE package: https://build.opensuse.org/requests/1242226

The work was sponsored by GOVCERT.LU.

Change-Id: Ie416f85bd4129af56eb674c0daa7a0ced41a9481
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-02-06 06:25:18 +02:00
Leon Anavi
3ff79d2e98 python3-pyqt6-sip: Upgrade 13.9.1 -> 13.10.0
After the migration from Mercurial to GitHub the homepage has
changed and PyQt6-sip is now licensed under the BSD-2-Clause
license. Upgrade to release 13.10.0.

This work was sponsored by GOVCERT.LU.

License-Update: PyQt6-sip is now licensed under the BSD-2-Clause.

Change-Id: Idda94fba3bbb1d76b2833c7bf615d36b06bb9bc7
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-02-06 06:25:15 +02:00
Leon Anavi
cc3fdd1604 python3-pyqt-builder-native: Upgrade 1.17.0 -> 1.18.0
Upgrade to release 1.18.0 with the following changes:

- Added support for the QtStateMachine module
- Missing Linux multimedia libraries in Qt v6.8
- Updated the default ABIs used
- Set the minimum glibc version on x86-64 to v2.28
- Include specific (L)GPL LICENSE file in Qt wheels
- A regression that prevented single architecture Qt installations
  being bundled on macOS was fixed.

The work was sponsored by GOVCERT.LU.

Change-Id: I3751c821a2cfce4a4f82136e7ec1a3c53852524b
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-02-06 06:25:11 +02:00
Leon Anavi
eb4219f29e python3-pyqt6: Add recipe for version 6.8.0
Port the recipe for building PyQt from meta-qt6 branch 6.7 to 6.8.
Update the recipe to version 6.8.0 with modules QtCore, QtGui,
QtNetwork, QtXml, QtNetwork, QtQml and QtSql.

The work was sponsored by GOVCERT.LU.

Change-Id: Ice4b75c7ad2de8ccce659f33bee683c558276487
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-02-06 04:25:06 +00:00
Leon Anavi
03a110ba97 python3-pyqt-builder-native: Add recipe
Port recipe python3-pyqt-builder-native from Qt 6.7 to Qt 6.8 and
update it to version 1.17.0.

The work was sponsored by GOVCERT.LU.

Change-Id: I66622da7b3bc87704fc681ce036fd7682e855cdc
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-02-06 04:25:03 +00:00
Leon Anavi
717f11380d python3-pyqt6-sip: Add version 13.9.1
The sip extension module provides support for the PyQt6 package.
This recipe has been ported from meta-qt6 branch 6.7 and updated
to version 13.9.1.

The work was sponsored by GOVCERT.LU.

Change-Id: Iea6421034abda646a1167e9e18846ae2117d93ca
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
2025-02-06 04:24:59 +00:00
Samuli Piippo
de258ca122 pyside6: remove unneeded patching
Fix has been merged in upstream, remove unneeded modifications.

Change-Id: Ifd6119a0fe2e045e23dca3f2079e862ef69c6374
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-11-01 08:11:30 +00:00
Samuli Piippo
98bb732d06 pyside6: remove buildpaths
Files have buildpath that cause QA error.

Change-Id: I97a16c7590c249c554461374de6e64b9bd7129f0
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-10-23 06:48:34 +00:00
Samuli Piippo
ed91cc08df pyside6: include PySide6 recipes for Qt 6.8.1
Bring all pyside related changes from 6.7 branch to 6.8.

Fixes: PYSIDE-2889
Change-Id: I69b692815b715ebacd9ed708d0ca64c828021d82
Reviewed-by: Ari Parkkila <ari.parkkila@qt.io>
2024-10-22 07:51:56 +00:00
Samuli Piippo
7941caa131 pytest-qt: upgrade to latest version
Update python3-pytest-qt to version 4.2.0.

Pick-to: 6.7 6.6
Change-Id: Ib3cd21aaae59be4dbc02552c665e4c4f585e7cb2
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2023-12-19 11:55:30 +00:00