Files
python-PyQt6/fix-build-without-qtcore.patch
Benjamin Greiner 88daac7a67 - Update to 6.9.1
* The licensing information now conforms to PEP 639.
  * Added the missing setNativeArguments() and nativeArguments() to QProcess (Windows only).
  * Enums that have a base type smaller than int are now properly specified and handled.
  * Fixed a regression that broke building against versions of Qt older than v6.5.
  * Fixed pyuic6 to handle QIcons created from QIcon.ThemeIcon.
- Release note for 6.9.0
  * This adds support for Qt v6.9.
- Drop PyQt6-Qt6.9.0.patch

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=42
2025-06-09 17:56:13 +00:00

15 lines
489 B
Diff

Index: pyqt6-6.8.1/project.py
===================================================================
--- pyqt6-6.8.1.orig/project.py
+++ pyqt6-6.8.1/project.py
@@ -180,7 +180,8 @@ del find_qt
'win32': 'Windows',
}
- self.bindings['QtCore'].tags.append(
+ if QtCore in self.bindings:
+ self.bindings['QtCore'].tags.append(
platform_tags_map.get(self.py_platform, 'Linux'))
# Make sure the bindings are buildable.