public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pyside6] rawhide: 6.12.0
@ 2026-10-23 5:43 Jan Grulich
0 siblings, 0 replies; only message in thread
From: Jan Grulich @ 2026-10-23 5:43 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-pyside6
Branch : rawhide
Commit : 068604fed0f23855fca5e2a15127a142a3f15bcf
Author : Jan Grulich <jgrulich@redhat.com>
Date : 2026-10-23T07:43:43+02:00
Stats : +13/-826 in 8 file(s)
URL : https://src.fedoraproject.org/rpms/python-pyside6/c/068604fed0f23855fca5e2a15127a142a3f15bcf?branch=rawhide
Log:
6.12.0
---
diff --git a/.gitignore b/.gitignore
index 7b7841d..bd43b10 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@
/pyside-setup-everywhere-src-6.11.0.tar.xz
/pyside-setup-everywhere-src-6.11.1.tar.xz
/pyside-setup-everywhere-src-6.11.2.tar.xz
+/pyside-setup-everywhere-src-6.12.0.tar.xz
diff --git a/0001-Always-link-to-python-libraries.patch b/0001-Always-link-to-python-libraries.patch
deleted file mode 100644
index 2c58cb1..0000000
--- a/0001-Always-link-to-python-libraries.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From e9591e27db4ae3412d4504a69a8afebee9a1b83e Mon Sep 17 00:00:00 2001
-From: Christophe Giboudeaux <christophe@krop.fr>
-Date: Tue, 27 Jul 2021 14:54:00 +0200
-Subject: [PATCH] Always link to python libraries.
-
-Change-Id: I687191431adaff55927de353db8f81dfa30ba1b1
----
- sources/shiboken6/cmake/ShibokenHelpers.cmake | 10 +++-------
- 1 file changed, 3 insertions(+), 7 deletions(-)
-
-diff --git a/sources/shiboken6/cmake/ShibokenHelpers.cmake b/sources/shiboken6/cmake/ShibokenHelpers.cmake
-index 27ee333..4be2ad1 100644
---- a/sources/shiboken6/cmake/ShibokenHelpers.cmake
-+++ b/sources/shiboken6/cmake/ShibokenHelpers.cmake
-@@ -425,13 +425,9 @@ macro(shiboken_compute_python_libraries)
- "SHIBOKEN_COMPUTE_LIBS" "shiboken_compute_python_libraries"
- "IS_CALLED_FROM_EXPORT" "" "" ${ARGN})
-
-- if (NOT SHIBOKEN_PYTHON_LIBRARIES)
-- set(SHIBOKEN_PYTHON_LIBRARIES "")
-- endif()
--
-- if(WIN32 AND NOT SHIBOKEN_PYTHON_LIBRARIES)
-- set(SHIBOKEN_PYTHON_LIBRARIES ${Python_LIBRARIES})
-- endif()
-+ # Always link to python libraries.
-+ message(STATUS "Linking shiboken to ${Python_LIBRARIES}")
-+ set(SHIBOKEN_PYTHON_LIBRARIES ${Python_LIBRARIES})
-
- # If the resulting variable
- # contains a "debug;X;optimized;Y" list like described in shiboken_check_if_limited_api,
---
-2.46.1
diff --git a/0001-Enumerations-Enable-the-forgiveness-feature-ENOPT_NO.patch b/0001-Enumerations-Enable-the-forgiveness-feature-ENOPT_NO.patch
deleted file mode 100644
index eb0c5fd..0000000
--- a/0001-Enumerations-Enable-the-forgiveness-feature-ENOPT_NO.patch
+++ /dev/null
@@ -1,106 +0,0 @@
-From ccdba08a37998bbbabadf42abfae871af5df8ac3 Mon Sep 17 00:00:00 2001
-From: Friedemann Kleint <Friedemann.Kleint@qt.io>
-Date: Fri, 17 Apr 2026 14:18:25 +0200
-Subject: [PATCH] Enumerations: Enable the forgiveness feature
- ENOPT_NO_ZERODEFAULT for 3.15
-
-Adapt the op codes for detecting a parameterless __init__() call in
-enum code to 3.15.
-
-Task-number: PYSIDE-3221
-Task-number: PYSIDE-1735
-Change-Id: I21b8b8108e2d74e13ff4cb0f7fe2f41121361422
-Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
-Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
----
- sources/pyside6/tests/pysidetest/enum_test.py | 23 +++++++++++++++++--
- .../shiboken6/libshiboken/sbkfeature_base.cpp | 8 ++++++-
- sources/shiboken6/libshiboken/sbkmodule.cpp | 2 ++
- 3 files changed, 30 insertions(+), 3 deletions(-)
-
-diff --git a/sources/pyside6/tests/pysidetest/enum_test.py b/sources/pyside6/tests/pysidetest/enum_test.py
-index a60b4d188..8fbcda932 100644
---- a/sources/pyside6/tests/pysidetest/enum_test.py
-+++ b/sources/pyside6/tests/pysidetest/enum_test.py
-@@ -209,8 +209,27 @@ class InvestigateOpcodesTest(unittest.TestCase):
- ('LOAD_CONST', 82, 0),
- ('RETURN_VALUE', 35, None)]
-
-- self.assertEqual(self.read_code(self.probe_function1), result_1)
-- self.assertEqual(self.read_code(self.probe_function2), result_2)
-+ if sys.version_info[:2] >= (3, 15):
-+ result_1 = [('RESUME', 128, 0),
-+ ('LOAD_GLOBAL', 91, 0),
-+ ('LOAD_ATTR', 79, 2),
-+ ('STORE_FAST', 111, 1),
-+ ('LOAD_CONST', 81, 0),
-+ ('RETURN_VALUE', 33, None)
-+ ]
-+ result_2 = [('RESUME', 128, 0),
-+ ('LOAD_GLOBAL', 91, 0),
-+ ('LOAD_ATTR', 79, 2),
-+ ('PUSH_NULL', 31, None),
-+ ('CALL', 50, 0),
-+ ('STORE_FAST', 111, 1),
-+ ('LOAD_CONST', 81, 0),
-+ ('RETURN_VALUE', 33, None)]
-+
-+ actual1 = self.read_code(self.probe_function1)
-+ actual2 = self.read_code(self.probe_function2)
-+ self.assertEqual(actual1, result_1)
-+ self.assertEqual(actual2, result_2)
-
-
- if __name__ == '__main__':
-diff --git a/sources/shiboken6/libshiboken/sbkfeature_base.cpp b/sources/shiboken6/libshiboken/sbkfeature_base.cpp
-index fc29442ce..3d00c83f4 100644
---- a/sources/shiboken6/libshiboken/sbkfeature_base.cpp
-+++ b/sources/shiboken6/libshiboken/sbkfeature_base.cpp
-@@ -113,10 +113,12 @@ void disassembleFrame(const char *marker)
-
- // OpCodes: Adapt for each Python version by checking the defines in the generated header opcode_ids.h
- // egrep '( LOAD_ATTR | CALL | PUSH_NULL )' opcode_ids.h
--// See also test sources/pyside6/tests/pysidetest/enum_test.py
-+// See also test sources/pyside6/tests/pysidetest/enum_test.py, sbkmodule.cpp:300
-
- static int constexpr LOAD_ATTR_OpCode(long pyVersion)
- {
-+ if (pyVersion >= 0x030F00) // 3.15
-+ return 79;
- if (pyVersion >= 0x030E00) // 3.14
- return 80;
- if (pyVersion >= 0x030D00) // 3.13
-@@ -126,6 +128,8 @@ static int constexpr LOAD_ATTR_OpCode(long pyVersion)
-
- static int constexpr CALL_OpCode(long pyVersion)
- {
-+ if (pyVersion >= 0x030F00) // 3.15
-+ return 50;
- if (pyVersion >= 0x030E00) // 3.14
- return 52;
- if (pyVersion >= 0x030D00) // 3.13
-@@ -135,6 +139,8 @@ static int constexpr CALL_OpCode(long pyVersion)
-
- static int constexpr PUSH_NULL_OpCode(long pyVersion)
- {
-+ if (pyVersion >= 0x030F00) // 3.15
-+ return 31;
- if (pyVersion >= 0x030E00) // 3.14
- return 33;
- return 34;
-diff --git a/sources/shiboken6/libshiboken/sbkmodule.cpp b/sources/shiboken6/libshiboken/sbkmodule.cpp
-index 241629215..d49ffd7ae 100644
---- a/sources/shiboken6/libshiboken/sbkmodule.cpp
-+++ b/sources/shiboken6/libshiboken/sbkmodule.cpp
-@@ -308,6 +308,8 @@ static int constexpr LOAD_CONST_OpCode(long pyVersion)
-
- static int constexpr IMPORT_NAME_OpCode(long pyVersion)
- {
-+ if (pyVersion >= 0x030F00) // 3.15
-+ return 72;
- if (pyVersion >= 0x030E00) // 3.14
- return 73;
- if (pyVersion >= 0x030D00) // 3.13
---
-2.56.0
-
diff --git a/0001-Fix-header-installation-path-to-follow-filesystem-st.patch b/0001-Fix-header-installation-path-to-follow-filesystem-st.patch
deleted file mode 100644
index c9679fb..0000000
--- a/0001-Fix-header-installation-path-to-follow-filesystem-st.patch
+++ /dev/null
@@ -1,304 +0,0 @@
-From d252378a3980c99e23340e6b722631182814d8bb Mon Sep 17 00:00:00 2001
-From: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
-Date: Tue, 21 Apr 2026 14:21:35 +0200
-Subject: [PATCH] Fix header installation path to follow filesystem standards
-
-Amends 77c37b1937c9500a2af5a1bed2366058de74d1b7. Not a pure revert.
-
-- PREFIX/PySide6/include is non-standard. Correct path is
- PREFIX/include/PySide6
-- Fixes system installs broken by the amended commit
-- Updates INSTALL_INTERFACE on imported targets to match
-(include/PySide6, include/shiboken6)
-- Wheel consumers still work. Cmake config lands 4 levels inside the
- wheel package so _IMPORT_PREFIX resolves to site-packages/PySide6, and
- INSTALL_INTERFACE:include/PySide6 gives the correct absolute path
-- Build scripts updated to copy headers into
- include/<cmake_package_name>/ inside the wheel tree, matching what the
- cmake target advertises
-
-Task-number: PYSIDE-3306
-Change-Id: I9babc5b63ea1fb2d4c23218b703e548ad7295ac6
-Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
-Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
----
- build_scripts/platforms/unix.py | 7 ++++---
- build_scripts/platforms/windows_desktop.py | 7 ++++---
- examples/utils/pyside_config.py | 9 ++++++---
- sources/pyside6/PySide6/CMakeLists.txt | 2 +-
- sources/pyside6/PySide6/QtCore/CMakeLists.txt | 2 +-
- sources/pyside6/PySide6/QtDBus/CMakeLists.txt | 2 +-
- .../pyside6/PySide6/QtDataVisualization/CMakeLists.txt | 2 +-
- sources/pyside6/PySide6/QtDesigner/CMakeLists.txt | 2 +-
- sources/pyside6/PySide6/QtGraphs/CMakeLists.txt | 2 +-
- sources/pyside6/PySide6/QtGui/CMakeLists.txt | 2 +-
- sources/pyside6/cmake/Macros/PySideModules.cmake | 2 +-
- sources/pyside6/libpyside/CMakeLists.txt | 9 +++++----
- sources/pyside6/libpysideqml/CMakeLists.txt | 2 +-
- sources/pyside6/libpysideremoteobjects/CMakeLists.txt | 2 +-
- sources/shiboken6/data/shiboken6.pc.in | 2 +-
- sources/shiboken6/libshiboken/CMakeLists.txt | 9 +++++----
- 16 files changed, 35 insertions(+), 28 deletions(-)
-
-diff --git a/build_scripts/platforms/unix.py b/build_scripts/platforms/unix.py
-index 59c63fda3..1d8ec9f08 100644
---- a/build_scripts/platforms/unix.py
-+++ b/build_scripts/platforms/unix.py
-@@ -109,10 +109,11 @@ def prepare_packages_posix(pyside_build, _vars, cross_build=False):
- force=False, _vars=_vars)
-
- if config.is_internal_shiboken_module_build() or config.is_internal_pyside_build():
-- # <install>/{cmake_package_name}/include/* -> <package_for_wheels>/{st_package_name}/include
-+ # <install>/include/{cmake_package_name}/* ->
-+ # <package_for_wheels>/{st_package_name}/include/{cmake_package_name}
- copydir(
-- "{install_dir}/{cmake_package_name}/include",
-- destination_dir / "include",
-+ "{install_dir}/include/{cmake_package_name}",
-+ destination_dir / "include" / _vars["cmake_package_name"],
- _vars=_vars)
-
- if config.is_internal_pyside_build():
-diff --git a/build_scripts/platforms/windows_desktop.py b/build_scripts/platforms/windows_desktop.py
-index 55b92873a..3d5d53ff8 100644
---- a/build_scripts/platforms/windows_desktop.py
-+++ b/build_scripts/platforms/windows_desktop.py
-@@ -97,10 +97,11 @@ def prepare_packages_win32(pyside_build, _vars):
- recursive=False, _vars=_vars)
-
- if config.is_internal_shiboken_module_build() or config.is_internal_pyside_build():
-- # <install>/{cmake_package_name}/include/* -> <package_for_wheels>/{st_package_name}/include
-+ # <install>/include/{cmake_package_name}/* ->
-+ # <package_for_wheels>/{st_package_name}/include/{cmake_package_name}
- copydir(
-- "{install_dir}/{cmake_package_name}/include",
-- destination_dir / "include",
-+ "{install_dir}/include/{cmake_package_name}",
-+ destination_dir / "include" / _vars["cmake_package_name"],
- _vars=_vars)
-
- if config.is_internal_pyside_build():
-diff --git a/examples/utils/pyside_config.py b/examples/utils/pyside_config.py
-index ec4cb61d1..536162fc9 100644
---- a/examples/utils/pyside_config.py
-+++ b/examples/utils/pyside_config.py
-@@ -273,9 +273,12 @@ def get_package_include_path(which_package):
- if package_path is None:
- return None
-
-- includes = f"{package_path}/include"
--
-- return includes
-+ # TODO: Switch to pathlib. Using this for consistency
-+ pkg_name = os.path.basename(package_path)
-+ subdir_path = f"{package_path}/include/{pkg_name}"
-+ if os.path.isdir(subdir_path):
-+ return subdir_path
-+ return f"{package_path}/include"
-
-
- def get_package_qmake_lflags(which_package):
-diff --git a/sources/pyside6/PySide6/CMakeLists.txt b/sources/pyside6/PySide6/CMakeLists.txt
-index c1934d9ca..ccfa8430f 100644
---- a/sources/pyside6/PySide6/CMakeLists.txt
-+++ b/sources/pyside6/PySide6/CMakeLists.txt
-@@ -119,7 +119,7 @@ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/templates/widgets_common.xml
- install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/templates/datavisualization_common.xml
- DESTINATION share/PySide6${pyside_SUFFIX}/typesystems)
- install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/pyside6_global.h
-- DESTINATION ${BINDING_NAME}${pyside6_SUFFIX}/include)
-+ DESTINATION include/${BINDING_NAME}${pyside6_SUFFIX})
-
- install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/QtAsyncio"
- DESTINATION "${PYTHON_SITE_PACKAGES}/${BINDING_NAME}${pyside6_SUFFIX}")
-diff --git a/sources/pyside6/PySide6/QtCore/CMakeLists.txt b/sources/pyside6/PySide6/QtCore/CMakeLists.txt
-index 997b0fe0d..ac6b451e6 100644
---- a/sources/pyside6/PySide6/QtCore/CMakeLists.txt
-+++ b/sources/pyside6/PySide6/QtCore/CMakeLists.txt
-@@ -307,4 +307,4 @@ if (APPLE)
- endif()
-
- install(FILES ${pyside6_SOURCE_DIR}/qtcorehelper.h ${pyside6_SOURCE_DIR}/qiopipe.h
-- DESTINATION PySide6/include/QtCore/)
-+ DESTINATION include/PySide6/QtCore/)
-diff --git a/sources/pyside6/PySide6/QtDBus/CMakeLists.txt b/sources/pyside6/PySide6/QtDBus/CMakeLists.txt
-index 49e86d121..5ee8dc67c 100644
---- a/sources/pyside6/PySide6/QtDBus/CMakeLists.txt
-+++ b/sources/pyside6/PySide6/QtDBus/CMakeLists.txt
-@@ -51,4 +51,4 @@ create_pyside_module(NAME QtDBus
- TYPESYSTEM_PATH QtDBus_SOURCE_DIR
- SOURCES QtDBus_SRC)
-
--install(FILES ${pyside6_SOURCE_DIR}/qtdbushelper.h DESTINATION PySide6/include/QtDBus)
-+install(FILES ${pyside6_SOURCE_DIR}/qtdbushelper.h DESTINATION include/PySide6/QtDBus)
-diff --git a/sources/pyside6/PySide6/QtDataVisualization/CMakeLists.txt b/sources/pyside6/PySide6/QtDataVisualization/CMakeLists.txt
-index 424799b22..1276b424f 100644
---- a/sources/pyside6/PySide6/QtDataVisualization/CMakeLists.txt
-+++ b/sources/pyside6/PySide6/QtDataVisualization/CMakeLists.txt
-@@ -68,4 +68,4 @@ create_pyside_module(NAME QtDataVisualization
- STATIC_SOURCES QtDataVisualization_src)
-
- install(FILES ${pyside6_SOURCE_DIR}/qtdatavisualization_helper.h
-- DESTINATION PySide6/include/QtDataVisualization)
-+ DESTINATION include/PySide6/QtDataVisualization)
-diff --git a/sources/pyside6/PySide6/QtDesigner/CMakeLists.txt b/sources/pyside6/PySide6/QtDesigner/CMakeLists.txt
-index 570ed0f0b..e91532b87 100644
---- a/sources/pyside6/PySide6/QtDesigner/CMakeLists.txt
-+++ b/sources/pyside6/PySide6/QtDesigner/CMakeLists.txt
-@@ -67,4 +67,4 @@ create_pyside_module(NAME QtDesigner
- STATIC_SOURCES QtDesigner_static_src
- TYPESYSTEM_NAME ${QtDesigner_BINARY_DIR}/typesystem_designer.xml)
-
--install(FILES ${pyside6_SOURCE_DIR}/qpydesignerextensions.h DESTINATION PySide6/include/QtDesigner)
-+install(FILES ${pyside6_SOURCE_DIR}/qpydesignerextensions.h DESTINATION include/PySide6/QtDesigner)
-diff --git a/sources/pyside6/PySide6/QtGraphs/CMakeLists.txt b/sources/pyside6/PySide6/QtGraphs/CMakeLists.txt
-index 1846f59e6..768960718 100644
---- a/sources/pyside6/PySide6/QtGraphs/CMakeLists.txt
-+++ b/sources/pyside6/PySide6/QtGraphs/CMakeLists.txt
-@@ -97,4 +97,4 @@ create_pyside_module(NAME QtGraphs
- DROPPED_ENTRIES QtGraphs_DROPPED_ENTRIES)
-
- install(FILES ${pyside6_SOURCE_DIR}/qtgraphs_helper.h
-- DESTINATION PySide6/include/QtGraphs)
-+ DESTINATION include/PySide6/QtGraphs)
-diff --git a/sources/pyside6/PySide6/QtGui/CMakeLists.txt b/sources/pyside6/PySide6/QtGui/CMakeLists.txt
-index 778b1d641..3dd93803b 100644
---- a/sources/pyside6/PySide6/QtGui/CMakeLists.txt
-+++ b/sources/pyside6/PySide6/QtGui/CMakeLists.txt
-@@ -367,4 +367,4 @@ create_pyside_module(NAME QtGui
-
- install(FILES ${pyside6_SOURCE_DIR}/qpytextobject.h
- ${pyside6_SOURCE_DIR}/qtguihelper.h
-- DESTINATION PySide6/include/QtGui/)
-+ DESTINATION include/PySide6/QtGui/)
-diff --git a/sources/pyside6/cmake/Macros/PySideModules.cmake b/sources/pyside6/cmake/Macros/PySideModules.cmake
-index c54b86994..6dbc1fcf1 100644
---- a/sources/pyside6/cmake/Macros/PySideModules.cmake
-+++ b/sources/pyside6/cmake/Macros/PySideModules.cmake
-@@ -379,7 +379,7 @@ macro(create_pyside_module)
-
-
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/PySide6/${module_NAME}/pyside6_${lower_module_name}_python.h
-- DESTINATION PySide6${pyside6_SUFFIX}/include/${module_NAME}/)
-+ DESTINATION include/PySide6${pyside6_SUFFIX}/${module_NAME}/)
- file(GLOB typesystem_files ${CMAKE_CURRENT_SOURCE_DIR}/typesystem_*.xml ${typesystem_path})
-
- # Copy typesystem files and remove module names from the <load-typesystem> element
-diff --git a/sources/pyside6/libpyside/CMakeLists.txt b/sources/pyside6/libpyside/CMakeLists.txt
-index 0fef50796..56b1bfe6d 100644
---- a/sources/pyside6/libpyside/CMakeLists.txt
-+++ b/sources/pyside6/libpyside/CMakeLists.txt
-@@ -103,7 +103,6 @@ append_size_optimization_flags(pyside6)
-
- target_include_directories(pyside6 PUBLIC
- $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
-- $<INSTALL_INTERFACE:PySide6/include>
- )
-
- target_compile_definitions(pyside6 PRIVATE -DQT_LEAN_HEADERS=1 -DQT_NO_KEYWORDS=1)
-@@ -191,13 +190,14 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/PySide6ConfigVersion.cmake.in"
- "${CMAKE_CURRENT_BINARY_DIR}/PySide6ConfigVersion.cmake" @ONLY)
-
- install(FILES ${libpyside_HEADERS}
-- DESTINATION ${BINDING_NAME}${pyside6_SUFFIX}/include)
-+ DESTINATION include/${BINDING_NAME}${pyside6_SUFFIX})
-
- # build-time installation
- install(TARGETS pyside6 EXPORT PySide6Targets
- LIBRARY DESTINATION "${LIB_INSTALL_DIR}"
- ARCHIVE DESTINATION "${LIB_INSTALL_DIR}"
-- RUNTIME DESTINATION bin)
-+ RUNTIME DESTINATION bin
-+ INCLUDES DESTINATION "include/PySide6")
-
- # wheel installation
- set_target_properties(pyside6 PROPERTIES
-@@ -207,7 +207,8 @@ if(NOT is_pyside6_superproject_build)
- install(TARGETS pyside6 EXPORT PySide6WheelTargets
- LIBRARY DESTINATION "PySide6"
- ARCHIVE DESTINATION "PySide6"
-- RUNTIME DESTINATION "PySide6")
-+ RUNTIME DESTINATION "PySide6"
-+ INCLUDES DESTINATION "pyside6/include/PySide6")
-
- install(FILES "${CMAKE_CURRENT_BINARY_DIR}/wheel/PySide6Config${SHIBOKEN_PYTHON_CONFIG_SUFFIX}.cmake"
- DESTINATION "${LIB_INSTALL_DIR}/wheels/cmake/PySide6")
-diff --git a/sources/pyside6/libpysideqml/CMakeLists.txt b/sources/pyside6/libpysideqml/CMakeLists.txt
-index 4c6ef386c..f2ebe515f 100644
---- a/sources/pyside6/libpysideqml/CMakeLists.txt
-+++ b/sources/pyside6/libpysideqml/CMakeLists.txt
-@@ -86,7 +86,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D QT_NO_CAST_FROM_ASCII -D QT_NO_CAST_T
- qfp_strip_library("pyside6qml")
-
- install(FILES ${libpysideqml_HEADERS}
-- DESTINATION ${BINDING_NAME}${pyside6qml_SUFFIX}/include)
-+ DESTINATION include/${BINDING_NAME}${pyside6qml_SUFFIX})
-
- #built-time installation
- install(TARGETS pyside6qml EXPORT PySide6Targets
-diff --git a/sources/pyside6/libpysideremoteobjects/CMakeLists.txt b/sources/pyside6/libpysideremoteobjects/CMakeLists.txt
-index 4196eb367..3857cd6bb 100644
---- a/sources/pyside6/libpysideremoteobjects/CMakeLists.txt
-+++ b/sources/pyside6/libpysideremoteobjects/CMakeLists.txt
-@@ -80,7 +80,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D QT_NO_CAST_FROM_ASCII -D QT_NO_CAST_T
- #
-
- install(FILES ${libpysideremoteobjects_HEADERS}
-- DESTINATION ${BINDING_NAME}${pyside6remoteobjects_SUFFIX}/include)
-+ DESTINATION include/${BINDING_NAME}${pyside6remoteobjects_SUFFIX})
-
- install(TARGETS pyside6remoteobjects EXPORT PySide6RemoteObjectsTargets
- LIBRARY DESTINATION "${LIB_INSTALL_DIR}"
-diff --git a/sources/shiboken6/data/shiboken6.pc.in b/sources/shiboken6/data/shiboken6.pc.in
-index 917b706a3..a82d23168 100644
---- a/sources/shiboken6/data/shiboken6.pc.in
-+++ b/sources/shiboken6/data/shiboken6.pc.in
-@@ -1,7 +1,7 @@
- prefix=@CMAKE_INSTALL_PREFIX@
- exec_prefix=@CMAKE_INSTALL_PREFIX@
- libdir=@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@
--includedir=@CMAKE_INSTALL_PREFIX@/shiboken6/include
-+includedir=@CMAKE_INSTALL_PREFIX@/include/shiboken6
- python_interpreter=@Python_EXECUTABLE@
- python_include_dir=@Python_INCLUDE_DIRS@
-
-diff --git a/sources/shiboken6/libshiboken/CMakeLists.txt b/sources/shiboken6/libshiboken/CMakeLists.txt
-index d3fef1bed..5713fe09c 100644
---- a/sources/shiboken6/libshiboken/CMakeLists.txt
-+++ b/sources/shiboken6/libshiboken/CMakeLists.txt
-@@ -115,7 +115,6 @@ endif()
- target_include_directories(libshiboken PUBLIC
- $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
- $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
-- $<INSTALL_INTERFACE:shiboken6/include>
- )
-
- if (NOT "${NUMPY_INCLUDE_DIR}" STREQUAL "")
-@@ -203,11 +202,12 @@ install(FILES
- signature.h
- signature_p.h
-
-- DESTINATION shiboken6${shiboken6_SUFFIX}/include)
-+ DESTINATION include/shiboken6${shiboken6_SUFFIX})
- install(TARGETS libshiboken EXPORT Shiboken6Targets
- LIBRARY DESTINATION "${LIB_INSTALL_DIR}"
- ARCHIVE DESTINATION "${LIB_INSTALL_DIR}"
-- RUNTIME DESTINATION bin)
-+ RUNTIME DESTINATION bin
-+ INCLUDES DESTINATION "include/shiboken6")
- install(EXPORT Shiboken6Targets NAMESPACE Shiboken6::
- DESTINATION ${LIB_INSTALL_DIR}/cmake/Shiboken6)
-
-@@ -220,7 +220,8 @@ if(NOT is_pyside6_superproject_build)
- install(TARGETS libshiboken EXPORT Shiboken6WheelTargets
- LIBRARY DESTINATION "shiboken6"
- ARCHIVE DESTINATION "shiboken6"
-- RUNTIME DESTINATION "shiboken6")
-+ RUNTIME DESTINATION "shiboken6"
-+ INCLUDES DESTINATION "shiboken6/include/shiboken6")
-
- install(EXPORT Shiboken6WheelTargets
- NAMESPACE Shiboken6::
---
-2.54.0
-
diff --git a/0001-Fix-header-packaging-and-include-path-regressions.patch b/0001-Fix-header-packaging-and-include-path-regressions.patch
deleted file mode 100644
index 54ae4a9..0000000
--- a/0001-Fix-header-packaging-and-include-path-regressions.patch
+++ /dev/null
@@ -1,135 +0,0 @@
-From 71c4d1750463c99ab9cbff7e1d7162210506f225 Mon Sep 17 00:00:00 2001
-From: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
-Date: Tue, 28 Apr 2026 13:16:05 +0200
-Subject: [PATCH] Fix header packaging and include-path regressions
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Amends 8e74e054f (previous commit)
-
-- Per-module headers (pyside6_qt*_python.h) were absent from wheels
- - wheel_files.py globs still used the old layout: Qt{module}/*.h
- - This patch uses the new layout
-- Also fix flat libpyside and qml extra header globs (pyside6 → PySide6)
-- pyside_config.py: return both include/PySide6 and include so cmake
- callers that append /Qt{module} find headers regardless of old/new
- wheel layout
-- libpyside CMakeLists: Fix pyside6 → PySide6
-- Shiboken6ToolsMacros: fall back to Release when Debug location absent
- and vice versa
-
-Fixes: PYSIDE-3306
-Change-Id: I79bcf2d9549a0c38a8a702e0409feee63207b8d4
-Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
----
- build_scripts/wheel_files.py | 12 ++++++------
- examples/utils/pyside_config.py | 8 ++++++--
- sources/pyside6/libpyside/CMakeLists.txt | 2 +-
- .../data/Shiboken6ToolsMacros.cmake | 9 ++++++++-
- 4 files changed, 21 insertions(+), 10 deletions(-)
-
-diff --git a/build_scripts/wheel_files.py b/build_scripts/wheel_files.py
-index db59a9f81..103bd3481 100644
---- a/build_scripts/wheel_files.py
-+++ b/build_scripts/wheel_files.py
-@@ -87,7 +87,7 @@ class ModuleData:
- self.qml.append(f"Qt{self.name}")
- self.pyi.append(f"Qt{self.name}.pyi")
- self.typesystems.append(f"typesystem_{_lo}.xml")
-- self.include.append(f"Qt{self.name}/*.h")
-+ self.include.append(f"PySide6/Qt{self.name}/*.h")
- self.glue.append(f"qt{_lo}.cpp")
- self.doc_glue.append(f"qt{_lo}.rst")
- if not len(self.metatypes):
-@@ -250,7 +250,7 @@ def module_QtCore() -> ModuleData:
- ]
-
- data.typesystems.extend(_typesystems)
-- data.include.append("*.h")
-+ data.include.append("PySide6/*.h")
- if sys.platform == "win32":
- data.qtlib.append("pyside6.*")
- data.extra_files.append("qt.conf")
-@@ -319,7 +319,7 @@ def module_QtCore() -> ModuleData:
-
- # add the include folders for libpyside binaries
- # this is useful for downstream cmake projects like QtBridges
-- data.include.append("pyside6/*.h")
-+ data.include.append("PySide6/*.h")
-
- return data
-
-@@ -485,9 +485,9 @@ def module_QtQml() -> ModuleData:
- ]
-
- _include = [
-- "pysideqml.h",
-- "pysideqmlmacros.h",
-- "pysideqmlregistertype.h",
-+ "PySide6/pysideqml.h",
-+ "PySide6/pysideqmlmacros.h",
-+ "PySide6/pysideqmlregistertype.h",
- ]
-
- _metatypes = [
-diff --git a/examples/utils/pyside_config.py b/examples/utils/pyside_config.py
-index 536162fc9..c8c37039f 100644
---- a/examples/utils/pyside_config.py
-+++ b/examples/utils/pyside_config.py
-@@ -276,9 +276,13 @@ def get_package_include_path(which_package):
- # TODO: Switch to pathlib. Using this for consistency
- pkg_name = os.path.basename(package_path)
- subdir_path = f"{package_path}/include/{pkg_name}"
-+ base_path = f"{package_path}/include"
- if os.path.isdir(subdir_path):
-- return subdir_path
-- return f"{package_path}/include"
-+ # Return both the sub-package dir and the base include dir so
-+ # that both new and old wheel layout works (also system installation
-+ # paths)
-+ return f"{subdir_path} {base_path}"
-+ return base_path
-
-
- def get_package_qmake_lflags(which_package):
-diff --git a/sources/pyside6/libpyside/CMakeLists.txt b/sources/pyside6/libpyside/CMakeLists.txt
-index 56b1bfe6d..2e578a84a 100644
---- a/sources/pyside6/libpyside/CMakeLists.txt
-+++ b/sources/pyside6/libpyside/CMakeLists.txt
-@@ -208,7 +208,7 @@ if(NOT is_pyside6_superproject_build)
- LIBRARY DESTINATION "PySide6"
- ARCHIVE DESTINATION "PySide6"
- RUNTIME DESTINATION "PySide6"
-- INCLUDES DESTINATION "pyside6/include/PySide6")
-+ INCLUDES DESTINATION "PySide6/include/PySide6")
-
- install(FILES "${CMAKE_CURRENT_BINARY_DIR}/wheel/PySide6Config${SHIBOKEN_PYTHON_CONFIG_SUFFIX}.cmake"
- DESTINATION "${LIB_INSTALL_DIR}/wheels/cmake/PySide6")
-diff --git a/sources/shiboken6_generator/data/Shiboken6ToolsMacros.cmake b/sources/shiboken6_generator/data/Shiboken6ToolsMacros.cmake
-index 27a2ec533..5b1590790 100644
---- a/sources/shiboken6_generator/data/Shiboken6ToolsMacros.cmake
-+++ b/sources/shiboken6_generator/data/Shiboken6ToolsMacros.cmake
-@@ -25,11 +25,18 @@ function(shiboken_generator_create_binding)
-
- get_target_property(shiboken_include_dirs Shiboken6::libshiboken INTERFACE_INCLUDE_DIRECTORIES)
-
-- # Get Shiboken path based on build type
-+ # Get Shiboken path, falling back to the other config if the requested one is absent
-+ # (e.g. consumer project is Release but wheel was built as Debug, or vice versa).
- if(CMAKE_BUILD_TYPE STREQUAL "Debug")
- get_target_property(shiboken_path Shiboken6::shiboken6 IMPORTED_LOCATION_DEBUG)
-+ if(NOT shiboken_path)
-+ get_target_property(shiboken_path Shiboken6::shiboken6 IMPORTED_LOCATION_RELEASE)
-+ endif()
- else()
- get_target_property(shiboken_path Shiboken6::shiboken6 IMPORTED_LOCATION_RELEASE)
-+ if(NOT shiboken_path)
-+ get_target_property(shiboken_path Shiboken6::shiboken6 IMPORTED_LOCATION_DEBUG)
-+ endif()
- endif()
-
- # Basic shiboken options
---
-2.54.0
-
diff --git a/0001-Revert-Modify-headers-installation-for-CMake-builds.patch b/0001-Revert-Modify-headers-installation-for-CMake-builds.patch
deleted file mode 100644
index 4cf157f..0000000
--- a/0001-Revert-Modify-headers-installation-for-CMake-builds.patch
+++ /dev/null
@@ -1,230 +0,0 @@
-From 80632681335d0dbc4b801a513a78ed921bd5377c Mon Sep 17 00:00:00 2001
-From: Christophe Marin <christophe@krop.fr>
-Date: Tue, 7 Oct 2025 14:14:43 +0200
-Subject: [PATCH] Revert "Modify headers installation for CMake builds"
-
-/usr/include/ is the correct location for include headers.
-
----
- build_scripts/platforms/unix.py | 4 ++--
- build_scripts/platforms/windows_desktop.py | 7 ++++---
- sources/pyside6/PySide6/CMakeLists.txt | 2 +-
- sources/pyside6/PySide6/QtCore/CMakeLists.txt | 2 +-
- sources/pyside6/PySide6/QtDBus/CMakeLists.txt | 2 +-
- sources/pyside6/PySide6/QtDataVisualization/CMakeLists.txt | 2 +-
- sources/pyside6/PySide6/QtDesigner/CMakeLists.txt | 2 +-
- sources/pyside6/PySide6/QtGraphs/CMakeLists.txt | 2 +-
- sources/pyside6/PySide6/QtGui/CMakeLists.txt | 2 +-
- sources/pyside6/cmake/Macros/PySideModules.cmake | 2 +-
- sources/pyside6/libpyside/CMakeLists.txt | 4 ++--
- sources/pyside6/libpysideqml/CMakeLists.txt | 2 +-
- sources/pyside6/libpysideremoteobjects/CMakeLists.txt | 2 +-
- sources/shiboken6/data/shiboken6.pc.in | 2 +-
- sources/shiboken6/libshiboken/CMakeLists.txt | 4 ++--
- 15 files changed, 21 insertions(+), 20 deletions(-)
-
-diff --git a/build_scripts/platforms/unix.py b/build_scripts/platforms/unix.py
-index 59c63fd..03b814e 100644
---- a/build_scripts/platforms/unix.py
-+++ b/build_scripts/platforms/unix.py
-@@ -108,8 +108,8 @@ def prepare_packages_posix(pyside_build, _vars, cross_build=False):
- "{st_build_dir}/{st_package_name}/scripts/shiboken_tool.py",
- force=False, _vars=_vars)
-
-- if config.is_internal_shiboken_module_build() or config.is_internal_pyside_build():
-- # <install>/{cmake_package_name}/include/* -> <package_for_wheels>/{st_package_name}/include
-+ if config.is_internal_shiboken_generator_build() or config.is_internal_pyside_build():
-+ # <install>/include/* -> <setup>/{st_package_name}/include
- copydir(
- "{install_dir}/{cmake_package_name}/include",
- destination_dir / "include",
-diff --git a/build_scripts/platforms/windows_desktop.py b/build_scripts/platforms/windows_desktop.py
-index e023ff0..83f06c3 100644
---- a/build_scripts/platforms/windows_desktop.py
-+++ b/build_scripts/platforms/windows_desktop.py
-@@ -94,10 +94,11 @@ def prepare_packages_win32(pyside_build, _vars):
- _filter=pdbs,
- recursive=False, _vars=_vars)
-
-- if config.is_internal_shiboken_module_build() or config.is_internal_pyside_build():
-- # <install>/{cmake_package_name}/include/* -> <package_for_wheels>/{st_package_name}/include
-+ if config.is_internal_shiboken_generator_build() or config.is_internal_pyside_build():
-+ # <install>/include/* -> <setup>/{st_package_name}/include
-+
- copydir(
-- "{install_dir}/{cmake_package_name}/include",
-+ "{install_dir}/include/{cmake_package_name}",
- destination_dir / "include",
- _vars=_vars)
-
-diff --git a/sources/pyside6/PySide6/CMakeLists.txt b/sources/pyside6/PySide6/CMakeLists.txt
-index c1934d9..ccfa843 100644
---- a/sources/pyside6/PySide6/CMakeLists.txt
-+++ b/sources/pyside6/PySide6/CMakeLists.txt
-@@ -119,7 +119,7 @@ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/templates/widgets_common.xml
- install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/templates/datavisualization_common.xml
- DESTINATION share/PySide6${pyside_SUFFIX}/typesystems)
- install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/pyside6_global.h
-- DESTINATION ${BINDING_NAME}${pyside6_SUFFIX}/include)
-+ DESTINATION include/${BINDING_NAME}${pyside6_SUFFIX})
-
- install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/QtAsyncio"
- DESTINATION "${PYTHON_SITE_PACKAGES}/${BINDING_NAME}${pyside6_SUFFIX}")
-diff --git a/sources/pyside6/PySide6/QtCore/CMakeLists.txt b/sources/pyside6/PySide6/QtCore/CMakeLists.txt
-index 2f49b61..6359ff4 100644
---- a/sources/pyside6/PySide6/QtCore/CMakeLists.txt
-+++ b/sources/pyside6/PySide6/QtCore/CMakeLists.txt
-@@ -306,4 +306,4 @@ if (APPLE)
- endif()
-
- install(FILES ${pyside6_SOURCE_DIR}/qtcorehelper.h ${pyside6_SOURCE_DIR}/qiopipe.h
-- DESTINATION PySide6/include/QtCore/)
-+ DESTINATION include/PySide6/QtCore/)
-diff --git a/sources/pyside6/PySide6/QtDBus/CMakeLists.txt b/sources/pyside6/PySide6/QtDBus/CMakeLists.txt
-index 49e86d1..5ee8dc6 100644
---- a/sources/pyside6/PySide6/QtDBus/CMakeLists.txt
-+++ b/sources/pyside6/PySide6/QtDBus/CMakeLists.txt
-@@ -51,4 +51,4 @@ create_pyside_module(NAME QtDBus
- TYPESYSTEM_PATH QtDBus_SOURCE_DIR
- SOURCES QtDBus_SRC)
-
--install(FILES ${pyside6_SOURCE_DIR}/qtdbushelper.h DESTINATION PySide6/include/QtDBus)
-+install(FILES ${pyside6_SOURCE_DIR}/qtdbushelper.h DESTINATION include/PySide6/QtDBus)
-diff --git a/sources/pyside6/PySide6/QtDataVisualization/CMakeLists.txt b/sources/pyside6/PySide6/QtDataVisualization/CMakeLists.txt
-index 424799b..1276b42 100644
---- a/sources/pyside6/PySide6/QtDataVisualization/CMakeLists.txt
-+++ b/sources/pyside6/PySide6/QtDataVisualization/CMakeLists.txt
-@@ -68,4 +68,4 @@ create_pyside_module(NAME QtDataVisualization
- STATIC_SOURCES QtDataVisualization_src)
-
- install(FILES ${pyside6_SOURCE_DIR}/qtdatavisualization_helper.h
-- DESTINATION PySide6/include/QtDataVisualization)
-+ DESTINATION include/PySide6/QtDataVisualization)
-diff --git a/sources/pyside6/PySide6/QtDesigner/CMakeLists.txt b/sources/pyside6/PySide6/QtDesigner/CMakeLists.txt
-index 570ed0f..e91532b 100644
---- a/sources/pyside6/PySide6/QtDesigner/CMakeLists.txt
-+++ b/sources/pyside6/PySide6/QtDesigner/CMakeLists.txt
-@@ -67,4 +67,4 @@ create_pyside_module(NAME QtDesigner
- STATIC_SOURCES QtDesigner_static_src
- TYPESYSTEM_NAME ${QtDesigner_BINARY_DIR}/typesystem_designer.xml)
-
--install(FILES ${pyside6_SOURCE_DIR}/qpydesignerextensions.h DESTINATION PySide6/include/QtDesigner)
-+install(FILES ${pyside6_SOURCE_DIR}/qpydesignerextensions.h DESTINATION include/PySide6/QtDesigner)
-diff --git a/sources/pyside6/PySide6/QtGraphs/CMakeLists.txt b/sources/pyside6/PySide6/QtGraphs/CMakeLists.txt
-index f416078..29a7b25 100644
---- a/sources/pyside6/PySide6/QtGraphs/CMakeLists.txt
-+++ b/sources/pyside6/PySide6/QtGraphs/CMakeLists.txt
-@@ -96,4 +96,4 @@ create_pyside_module(NAME QtGraphs
- DROPPED_ENTRIES QtGraphs_DROPPED_ENTRIES)
-
- install(FILES ${pyside6_SOURCE_DIR}/qtgraphs_helper.h
-- DESTINATION PySide6/include/QtGraphs)
-+ DESTINATION include/PySide6/QtGraphs)
-diff --git a/sources/pyside6/PySide6/QtGui/CMakeLists.txt b/sources/pyside6/PySide6/QtGui/CMakeLists.txt
-index b9e8429..1d2d411 100644
---- a/sources/pyside6/PySide6/QtGui/CMakeLists.txt
-+++ b/sources/pyside6/PySide6/QtGui/CMakeLists.txt
-@@ -366,4 +366,4 @@ create_pyside_module(NAME QtGui
-
- install(FILES ${pyside6_SOURCE_DIR}/qpytextobject.h
- ${pyside6_SOURCE_DIR}/qtguihelper.h
-- DESTINATION PySide6/include/QtGui/)
-+ DESTINATION include/PySide6/QtGui/)
-diff --git a/sources/pyside6/cmake/Macros/PySideModules.cmake b/sources/pyside6/cmake/Macros/PySideModules.cmake
-index 86791f4..7bb7714 100644
---- a/sources/pyside6/cmake/Macros/PySideModules.cmake
-+++ b/sources/pyside6/cmake/Macros/PySideModules.cmake
-@@ -378,7 +378,7 @@ macro(create_pyside_module)
-
-
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/PySide6/${module_NAME}/pyside6_${lower_module_name}_python.h
-- DESTINATION PySide6${pyside6_SUFFIX}/include/${module_NAME}/)
-+ DESTINATION include/PySide6${pyside6_SUFFIX}/${module_NAME}/)
- file(GLOB typesystem_files ${CMAKE_CURRENT_SOURCE_DIR}/typesystem_*.xml ${typesystem_path})
-
- # Copy typesystem files and remove module names from the <load-typesystem> element
-diff --git a/sources/pyside6/libpyside/CMakeLists.txt b/sources/pyside6/libpyside/CMakeLists.txt
-index 75c2328..f8b25a4 100644
---- a/sources/pyside6/libpyside/CMakeLists.txt
-+++ b/sources/pyside6/libpyside/CMakeLists.txt
-@@ -101,7 +101,7 @@ append_size_optimization_flags(pyside6)
-
- target_include_directories(pyside6 PUBLIC
- $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
-- $<INSTALL_INTERFACE:PySide6/include>
-+ $<INSTALL_INTERFACE:include/PySide6>
- )
-
- target_compile_definitions(pyside6 PRIVATE -DQT_LEAN_HEADERS=1 -DQT_NO_KEYWORDS=1)
-@@ -177,7 +177,7 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/PySide6ConfigVersion.cmake.in"
- "${CMAKE_CURRENT_BINARY_DIR}/PySide6ConfigVersion.cmake" @ONLY)
-
- install(FILES ${libpyside_HEADERS}
-- DESTINATION ${BINDING_NAME}${pyside6_SUFFIX}/include)
-+ DESTINATION include/${BINDING_NAME}${pyside6_SUFFIX})
-
- # build-time installation
- install(TARGETS pyside6 EXPORT PySide6Targets
-diff --git a/sources/pyside6/libpysideqml/CMakeLists.txt b/sources/pyside6/libpysideqml/CMakeLists.txt
-index 1430334..dac3cdd 100644
---- a/sources/pyside6/libpysideqml/CMakeLists.txt
-+++ b/sources/pyside6/libpysideqml/CMakeLists.txt
-@@ -84,7 +84,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D QT_NO_CAST_FROM_ASCII -D QT_NO_CAST_T
- qfp_strip_library("pyside6qml")
-
- install(FILES ${libpysideqml_HEADERS}
-- DESTINATION ${BINDING_NAME}${pyside6qml_SUFFIX}/include)
-+ DESTINATION include/${BINDING_NAME}${pyside6qml_SUFFIX})
-
- #built-time installation
- install(TARGETS pyside6qml EXPORT PySide6Targets
-diff --git a/sources/pyside6/libpysideremoteobjects/CMakeLists.txt b/sources/pyside6/libpysideremoteobjects/CMakeLists.txt
-index caaadc2..4669fb6 100644
---- a/sources/pyside6/libpysideremoteobjects/CMakeLists.txt
-+++ b/sources/pyside6/libpysideremoteobjects/CMakeLists.txt
-@@ -80,7 +80,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D QT_NO_CAST_FROM_ASCII -D QT_NO_CAST_T
- #
-
- install(FILES ${libpysideremoteobjects_HEADERS}
-- DESTINATION ${BINDING_NAME}${pyside6remoteobjects_SUFFIX}/include)
-+ DESTINATION include/${BINDING_NAME}${pyside6remoteobjects_SUFFIX})
-
- install(TARGETS pyside6remoteobjects EXPORT PySide6RemoteObjectsTargets
- LIBRARY DESTINATION "${LIB_INSTALL_DIR}"
-diff --git a/sources/shiboken6/data/shiboken6.pc.in b/sources/shiboken6/data/shiboken6.pc.in
-index 917b706..a82d231 100644
---- a/sources/shiboken6/data/shiboken6.pc.in
-+++ b/sources/shiboken6/data/shiboken6.pc.in
-@@ -1,7 +1,7 @@
- prefix=@CMAKE_INSTALL_PREFIX@
- exec_prefix=@CMAKE_INSTALL_PREFIX@
- libdir=@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@
--includedir=@CMAKE_INSTALL_PREFIX@/shiboken6/include
-+includedir=@CMAKE_INSTALL_PREFIX@/include/shiboken6
- python_interpreter=@Python_EXECUTABLE@
- python_include_dir=@Python_INCLUDE_DIRS@
-
-diff --git a/sources/shiboken6/libshiboken/CMakeLists.txt b/sources/shiboken6/libshiboken/CMakeLists.txt
-index 6136632..973d14b 100644
---- a/sources/shiboken6/libshiboken/CMakeLists.txt
-+++ b/sources/shiboken6/libshiboken/CMakeLists.txt
-@@ -111,7 +111,7 @@ add_library(Shiboken6::libshiboken ALIAS libshiboken)
- target_include_directories(libshiboken PUBLIC
- $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
- $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
-- $<INSTALL_INTERFACE:shiboken6/include>
-+ $<INSTALL_INTERFACE:include/shiboken6>
- )
-
- if (NOT "${NUMPY_INCLUDE_DIR}" STREQUAL "")
-@@ -196,7 +196,7 @@ install(FILES
- signature.h
- signature_p.h
-
-- DESTINATION shiboken6${shiboken6_SUFFIX}/include)
-+ DESTINATION include/shiboken6${shiboken6_SUFFIX})
- install(TARGETS libshiboken EXPORT Shiboken6Targets
- LIBRARY DESTINATION "${LIB_INSTALL_DIR}"
- ARCHIVE DESTINATION "${LIB_INSTALL_DIR}"
---
-2.51.0
diff --git a/python-pyside6.spec b/python-pyside6.spec
index 43f260e..f9a1121 100644
--- a/python-pyside6.spec
+++ b/python-pyside6.spec
@@ -6,11 +6,11 @@
%global pypi_name pyside6
%global camel_name PySide6
-%global qt6ver 6.11.2
+%global qt6ver 6.12.0
Name: python-%{pypi_name}
-Version: 6.11.2
-Release: 3%{?dist}
+Version: 6.12.0
+Release: 1%{?dist}
Summary: Python bindings for the Qt 6 cross-platform application and UI framework
License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
@@ -21,16 +21,7 @@ Source0: https://download.qt.io/official_releases/QtForPython/%{pypi_name
%global docs 0
%global qt_module qtbase
%global majmin %(echo %{version} | cut -d. -f1-2)
-#Source1: https://download.qt.io/official_releases/qt/%{majmin}/%{qt6ver}/submodules/%{qt_module}-everywhere-src-%{qt6ver}.tar.xz
-# Upstream post-6.11.1 fixes for header install paths (PYSIDE-3306)
-Patch: 0001-Fix-header-installation-path-to-follow-filesystem-st.patch
-Patch: 0001-Fix-header-packaging-and-include-path-regressions.patch
-Patch: 0001-Always-link-to-python-libraries.patch
-
-# Upstream Python 3.15 fixes (PYSIDE-3221)
-# https://codereview.qt-project.org/c/pyside/pyside-setup/+/729499
-Patch: 0001-Enumerations-Enable-the-forgiveness-feature-ENOPT_NO.patch
BuildRequires: cmake
BuildRequires: ninja-build
@@ -296,12 +287,12 @@ done
# Add symlinks for tools used by pyside_tool.py
mkdir -p %{buildroot}%{python3_sitelib}/%{camel_name}/Qt/libexec
-ln -sf /usr/%{_lib}/qt6/libexec/{qmlcachegen,qmlimportscanner,qmltyperegistrar,rcc,uic} %{buildroot}%{python3_sitelib}/%{camel_name}/Qt/libexec
-ln -sf /usr/%{_lib}/qt6/bin/{assistant,balsam,balsamui,designer,linguist,lrelease,lupdate,qmlformat,qmllint,qmlls,qsb} %{buildroot}%{python3_sitelib}/%{camel_name}
+ln -sf ../../../../../../%{_lib}/qt6/libexec/{qmlcachegen,qmlimportscanner,qmltyperegistrar,rcc,uic} %{buildroot}%{python3_sitelib}/%{camel_name}/Qt/libexec
+ln -sf ../../../../%{_lib}/qt6/bin/{assistant,balsam,balsamui,designer,linguist,lrelease,lupdate,qmlformat,qmllint,qmlls,qsb} %{buildroot}%{python3_sitelib}/%{camel_name}
# Create scripts folders (this basically replicates prepare_packages() in build_scripts/main.py)
mkdir -p %{buildroot}%{python3_sitelib}/%{camel_name}/scripts
-mv %{buildroot}%{_bindir}/{android_deploy.py,deploy_lib,deploy.py,metaobjectdump.py,project_lib,project.py,pyside_tool.py,qml.py,qtpy2cpp_lib,qtpy2cpp.py,requirements-android.txt} %{buildroot}%{python3_sitelib}/%{camel_name}/scripts
+mv %{buildroot}%{_bindir}/{android_deploy.py,deploy_lib,deploy.py,ios_deploy.py,metaobjectdump.py,project_lib,project.py,pyside_tool.py,qml.py,qtpy2cpp_lib,qtpy2cpp.py,requirements-android.txt,requirements-ios.txt} %{buildroot}%{python3_sitelib}/%{camel_name}/scripts
mkdir -p %{buildroot}%{python3_sitelib}/shiboken6_generator/scripts
mv %{buildroot}%{_bindir}/shiboken_tool.py %{buildroot}%{python3_sitelib}/shiboken6_generator/scripts
@@ -326,7 +317,7 @@ export LD_LIBRARY_PATH="%{buildroot}%{_libdir}"
%files -n python%{python3_pkgversion}-%{pypi_name}
%license LICENSES/*
%doc README.md
-%{_libdir}/libpyside6*.so.6.11*
+%{_libdir}/libpyside6*.so.6.12*
%{python3_sitelib}/%{camel_name}/
%{python3_sitearch}/%{camel_name}-%{version}-py%{python3_version}.egg-info/
@@ -352,7 +343,7 @@ export LD_LIBRARY_PATH="%{buildroot}%{_libdir}"
%files -n python%{python3_pkgversion}-shiboken6
%doc README.shiboken6.md
%license LICENSES/*
-%{_libdir}/libshiboken6*.so.6.11*
+%{_libdir}/libshiboken6*.so.%{majmin}*
%{python3_sitelib}/shiboken6/
%{python3_sitearch}/shiboken6-%{version}-py%{python3_version}.egg-info/
@@ -371,6 +362,9 @@ export LD_LIBRARY_PATH="%{buildroot}%{_libdir}"
%endif
%changelog
+* Thu Oct 22 2026 Jan Grulich <jgrulich@redhat.com> - 6.12.0-1
+- 6.12.0
+
* Tue Oct 13 2026 LuK1337 <priv.luk@gmail.com> - 6.11.2-3
- Apply ENOPT_NO_ZERODEFAULT support patch from upstream
diff --git a/sources b/sources
index 3474dca..8aabb30 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pyside-setup-everywhere-src-6.11.2.tar.xz) = aefe030d8e2b0d5ae0eb4d7f124c68846b29e7539dee66433719cf5a41c6bcd00d9c494c8300d8f7e7f9f07fdf3c12fb7128496bf98cf384f96eeb4ff6746993
+SHA512 (pyside-setup-everywhere-src-6.12.0.tar.xz) = b7d5e494bc31ced40b27d1911ab495fb7337cfda136b1f1543a45e51458adeda21b4a7c3c6a4fbf0109968cd0692d1ad0875cde23cfaf3108077ec7fd13f5d94
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-23 5:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-23 5:43 [rpms/python-pyside6] rawhide: 6.12.0 Jan Grulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox