python312Packages.pyqt6-webengine: add patch fixing missing include

This commit is contained in:
Nick Cao
2024-12-12 20:22:49 -05:00
parent f831c075dd
commit 98fd5e4540
2 changed files with 16 additions and 0 deletions
@@ -26,6 +26,10 @@ buildPythonPackage rec {
hash = "sha256-ZARepiK2pBiCwrGPVa6XFLhmCs/walTpEOtygiwvP/I=";
};
patches = [
./qvariant.patch
];
# fix include path and increase verbosity
postPatch = ''
sed -i \
@@ -0,0 +1,12 @@
diff --git a/sip/QtWebEngineCore/qwebengineframe.sip b/sip/QtWebEngineCore/qwebengineframe.sip
index d5420e6..5a29f29 100644
--- a/sip/QtWebEngineCore/qwebengineframe.sip
+++ b/sip/QtWebEngineCore/qwebengineframe.sip
@@ -26,6 +26,7 @@ class QWebEngineFrame /NoDefaultCtors/
{
%TypeHeaderCode
#include <qwebengineframe.h>
+#include <QVariant>
%End
public: