[neon/forks/pyqt6-webengine/Neon/release] debian: Add a patch to fix build with Qt WebEngine 6.9.

Dmitry Shachnev null at kde.org
Wed Dec 3 08:18:16 GMT 2025


Git commit 25ca0cc827259508c665d5f592be46641db4473c by Dmitry Shachnev.
Committed on 25/10/2025 at 16:15.
Pushed by carlosdem into branch 'Neon/release'.

Add a patch to fix build with Qt WebEngine 6.9.

M  +1    -0    debian/changelog
A  +1    -0    debian/patches/series
A  +22   -0    debian/patches/uint8_t.patch

https://invent.kde.org/neon/forks/pyqt6-webengine/-/commit/25ca0cc827259508c665d5f592be46641db4473c

diff --git a/debian/changelog b/debian/changelog
index 9ee9c9c..c6e89c8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ pyqt6-webengine (6.10.0-1) UNRELEASED; urgency=medium
 
   * New upstream release.
   * Bump required versions of SIP and python3-pyqtbuild.
+  * Add a patch to fix build with Qt WebEngine 6.9.
 
  -- Dmitry Shachnev <mitya57 at debian.org>  Sat, 25 Oct 2025 18:33:41 +0300
 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1f5223c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+uint8_t.patch
diff --git a/debian/patches/uint8_t.patch b/debian/patches/uint8_t.patch
new file mode 100644
index 0000000..cd6e419
--- /dev/null
+++ b/debian/patches/uint8_t.patch
@@ -0,0 +1,22 @@
+From: Dmitry Shachnev <mitya57 at debian.org>
+Date: Sat, 25 Oct 2025 19:11:14 +0300
+Subject: Fix lower version bound for uint8_t typedef
+
+Forwarded: https://www.riverbankcomputing.com/pipermail/pyqt/2025-October/046352.html
+---
+ sip/QtWebEngineCore/qwebenginesettings.sip | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/sip/QtWebEngineCore/qwebenginesettings.sip b/sip/QtWebEngineCore/qwebenginesettings.sip
+index ece9f5b..b7acf61 100644
+--- a/sip/QtWebEngineCore/qwebenginesettings.sip
++++ b/sip/QtWebEngineCore/qwebenginesettings.sip
+@@ -124,7 +124,7 @@ public:
+     QWebEngineSettings::UnknownUrlSchemePolicy unknownUrlSchemePolicy() const;
+     void setUnknownUrlSchemePolicy(QWebEngineSettings::UnknownUrlSchemePolicy policy);
+     void resetUnknownUrlSchemePolicy();
+-%If (QtWebEngine_6_10_0 -)
++%If (QtWebEngine_6_8_0 -)
+     typedef unsigned char uint8_t /PyInt/;
+ %End
+ %If (QtWebEngine_6_8_0 -)



More information about the Neon-commits mailing list