[neon/forks/pyqt5webengine/Neon/release] /: New upstream version 5.15.6
Dmitry Shachnev
null at kde.org
Fri Oct 14 15:54:08 BST 2022
Git commit d15e2dd501e9de90b5aacdfb3f9bec638ace9e39 by Dmitry Shachnev.
Committed on 25/06/2022 at 17:25.
Pushed by jriddell into branch 'Neon/release'.
New upstream version 5.15.6
M +20 -0 ChangeLog
M +6 -0 NEWS
M +2 -2 PKG-INFO
M +1 -1 configure.py
M +1 -1 pyproject.toml
M +2 -2 sip/QtWebEngine/QtWebEnginemod.sip
M +1 -1 sip/QtWebEngine/qquickwebengineprofile.sip
M +1 -1 sip/QtWebEngine/qquickwebenginescript.sip
M +3 -3 sip/QtWebEngine/qtwebengineglobal.sip
M +2 -2 sip/QtWebEngineCore/QtWebEngineCoremod.sip
M +1 -1 sip/QtWebEngineCore/qwebengineclientcertificatestore.sip
M +1 -1 sip/QtWebEngineCore/qwebenginecookiestore.sip
M +1 -1 sip/QtWebEngineCore/qwebenginefindtextresult.sip
M +1 -1 sip/QtWebEngineCore/qwebenginehttprequest.sip
M +1 -1 sip/QtWebEngineCore/qwebenginenotification.sip
M +1 -1 sip/QtWebEngineCore/qwebenginequotarequest.sip
M +1 -1 sip/QtWebEngineCore/qwebengineregisterprotocolhandlerrequest.sip
M +1 -1 sip/QtWebEngineCore/qwebengineurlrequestinfo.sip
M +1 -1 sip/QtWebEngineCore/qwebengineurlrequestinterceptor.sip
M +1 -1 sip/QtWebEngineCore/qwebengineurlrequestjob.sip
M +1 -1 sip/QtWebEngineCore/qwebengineurlscheme.sip
M +1 -1 sip/QtWebEngineCore/qwebengineurlschemehandler.sip
M +2 -2 sip/QtWebEngineWidgets/QtWebEngineWidgetsmod.sip
M +1 -1 sip/QtWebEngineWidgets/qwebenginecertificateerror.sip
M +1 -1 sip/QtWebEngineWidgets/qwebengineclientcertificateselection.sip
M +1 -1 sip/QtWebEngineWidgets/qwebenginecontextmenudata.sip
M +1 -1 sip/QtWebEngineWidgets/qwebenginedownloaditem.sip
M +1 -1 sip/QtWebEngineWidgets/qwebenginefullscreenrequest.sip
M +1 -1 sip/QtWebEngineWidgets/qwebenginehistory.sip
M +1 -1 sip/QtWebEngineWidgets/qwebenginepage.sip
M +1 -1 sip/QtWebEngineWidgets/qwebengineprofile.sip
M +1 -1 sip/QtWebEngineWidgets/qwebenginescript.sip
M +1 -1 sip/QtWebEngineWidgets/qwebenginescriptcollection.sip
M +1 -1 sip/QtWebEngineWidgets/qwebenginesettings.sip
M +10 -1 sip/QtWebEngineWidgets/qwebengineview.sip
https://invent.kde.org/neon/forks/pyqt5webengine/commit/d15e2dd501e9de90b5aacdfb3f9bec638ace9e39
diff --git a/ChangeLog b/ChangeLog
index ce4a75b..a56c789 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+2022-03-15 Phil Thompson <phil at riverbankcomputing.com>
+
+ * NEWS, PyQtWebEngine.msp:
+ Allow Qt.AA_ShareOpenGLContexts to be specified before a
+ QCoreApplication is created to allow PyQtWebEngineWidgets to be
+ imported.
+ [140468b2e1b2] [5.15.6] <5.15-maint>
+
+2021-11-22 Phil Thompson <phil at riverbankcomputing.com>
+
+ * PyQtWebEngine.msp:
+ Updated the project version number.
+ [6b8cc0c815da] <5.15-maint>
+
+2021-10-12 Phil Thompson <phil at riverbankcomputing.com>
+
+ * .hgtags:
+ Added tag 5.15.5 for changeset 69a1dc1f1cf1
+ [2e12f5eba0bc] <5.15-maint>
+
2021-08-10 Phil Thompson <phil at riverbankcomputing.com>
* README:
diff --git a/NEWS b/NEWS
index f53d17a..60f3a57 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+v5.15.6 15th March 2022
+ - A bug-fix release.
+
+v5.15.5 12th October 2021
+ - Build system bug fixes.
+
v5.15.4 4th March 2021
- Packaging bug fixes.
diff --git a/PKG-INFO b/PKG-INFO
index a875c05..ac4d2ce 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,7 +1,7 @@
Metadata-Version: 2.1
Name: PyQtWebEngine
-Version: 5.15.5
-Requires-Python: >=3.6
+Version: 5.15.6
+Requires-Python: >=3.7
Summary: Python bindings for the Qt WebEngine framework
Home-Page: https://www.riverbankcomputing.com/software/pyqtwebengine/
Author: Riverbank Computing Limited
diff --git a/configure.py b/configure.py
index e2e586a..bb8b6c1 100644
--- a/configure.py
+++ b/configure.py
@@ -238,7 +238,7 @@ class PackageConfiguration(object):
# The version of the module as a string. Set it to None if you don't
# provide version information.
- version = '5.15.5'
+ version = '5.15.6'
# The name of the PEP 376 .dist-info directory to be created.
distinfo_name = 'PyQtWebEngine'
diff --git a/pyproject.toml b/pyproject.toml
index fa3fdfc..339f611 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -6,7 +6,7 @@ build-backend = "sipbuild.api"
# Specify the PEP 566 metadata for the project.
[tool.sip.metadata]
name = "PyQtWebEngine"
-version = "5.15.5"
+version = "5.15.6"
summary = "Python bindings for the Qt WebEngine framework"
home-page = "https://www.riverbankcomputing.com/software/pyqtwebengine/"
author = "Riverbank Computing Limited"
diff --git a/sip/QtWebEngine/QtWebEnginemod.sip b/sip/QtWebEngine/QtWebEnginemod.sip
index a4eec93..ce77936 100644
--- a/sip/QtWebEngine/QtWebEnginemod.sip
+++ b/sip/QtWebEngine/QtWebEnginemod.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngine Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
@@ -25,7 +25,7 @@
%Import QtWebEngineCore/QtWebEngineCoremod.sip
%Copying
-Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
This file is part of PyQtWebEngine.
diff --git a/sip/QtWebEngine/qquickwebengineprofile.sip b/sip/QtWebEngine/qquickwebengineprofile.sip
index 56b2ba8..a5d3533 100644
--- a/sip/QtWebEngine/qquickwebengineprofile.sip
+++ b/sip/QtWebEngine/qquickwebengineprofile.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngine Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngine/qquickwebenginescript.sip b/sip/QtWebEngine/qquickwebenginescript.sip
index 1faa69c..8b67208 100644
--- a/sip/QtWebEngine/qquickwebenginescript.sip
+++ b/sip/QtWebEngine/qquickwebenginescript.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngine Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngine/qtwebengineglobal.sip b/sip/QtWebEngine/qtwebengineglobal.sip
index c3da9df..28d9cbf 100644
--- a/sip/QtWebEngine/qtwebengineglobal.sip
+++ b/sip/QtWebEngine/qtwebengineglobal.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngine Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
@@ -25,8 +25,8 @@ int PYQT_WEBENGINE_VERSION;
const char *PYQT_WEBENGINE_VERSION_STR;
%ModuleCode
-static int PYQT_WEBENGINE_VERSION = 0x050f05;
-static const char *PYQT_WEBENGINE_VERSION_STR = "5.15.5";
+static int PYQT_WEBENGINE_VERSION = 0x050f06;
+static const char *PYQT_WEBENGINE_VERSION_STR = "5.15.6";
%End
%If (QtWebEngine_5_6_0 -)
diff --git a/sip/QtWebEngineCore/QtWebEngineCoremod.sip b/sip/QtWebEngineCore/QtWebEngineCoremod.sip
index a6b96b9..2004e59 100644
--- a/sip/QtWebEngineCore/QtWebEngineCoremod.sip
+++ b/sip/QtWebEngineCore/QtWebEngineCoremod.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineCore Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
@@ -29,7 +29,7 @@
%Timeline {QtWebEngine_5_4_0 QtWebEngine_5_4_1 QtWebEngine_5_4_2 QtWebEngine_5_5_0 QtWebEngine_5_5_1 QtWebEngine_5_6_0 QtWebEngine_5_6_1 QtWebEngine_5_6_2 QtWebEngine_5_6_3 QtWebEngine_5_6_4 QtWebEngine_5_6_5 QtWebEngine_5_6_6 QtWebEngine_5_6_7 QtWebEngine_5_6_8 QtWebEngine_5_6_9 QtWebEngine_5_7_0 QtWebEngine_5_7_1 QtWebEngine_5_8_0 QtWebEngine_5_8_1 QtWebEngine_5_9_0 QtWebEngine_5_9_1 QtWebEngine_5_9_2 QtWebEngine_5_9_3 QtWebEngine_5_9_4 QtWebEngine_5_9_5 QtWebEngine_5_9_6 QtWebEngine_5_9_7 QtWebEngine_5_9_8 QtWebEngine_5_9_9 QtWebEngine_5_10_0 QtWebEngine_5_10_1 QtWebEngine_5_11_0 QtWebEngine_5_11_1 QtWebEngine_5_11_2 QtWebEngine_5_11_3 QtWebEngine_5_12_0 QtWebEngine_5_12_1 QtWebEngine_5_12_2 QtWebEngine_5_12_3 QtWebEngine_5_12_4 QtWebEngine_5_13_0 QtWebEngine_5_14_0 QtWebEngine_5_15_0}
%Copying
-Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
This file is part of PyQtWebEngine.
diff --git a/sip/QtWebEngineCore/qwebengineclientcertificatestore.sip b/sip/QtWebEngineCore/qwebengineclientcertificatestore.sip
index 02f03e8..6ef10ab 100644
--- a/sip/QtWebEngineCore/qwebengineclientcertificatestore.sip
+++ b/sip/QtWebEngineCore/qwebengineclientcertificatestore.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineCore Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineCore/qwebenginecookiestore.sip b/sip/QtWebEngineCore/qwebenginecookiestore.sip
index ccc2a59..e130999 100644
--- a/sip/QtWebEngineCore/qwebenginecookiestore.sip
+++ b/sip/QtWebEngineCore/qwebenginecookiestore.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineCore Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineCore/qwebenginefindtextresult.sip b/sip/QtWebEngineCore/qwebenginefindtextresult.sip
index 1e1e647..bc5ad13 100644
--- a/sip/QtWebEngineCore/qwebenginefindtextresult.sip
+++ b/sip/QtWebEngineCore/qwebenginefindtextresult.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineCore Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineCore/qwebenginehttprequest.sip b/sip/QtWebEngineCore/qwebenginehttprequest.sip
index af36836..eba362c 100644
--- a/sip/QtWebEngineCore/qwebenginehttprequest.sip
+++ b/sip/QtWebEngineCore/qwebenginehttprequest.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineCore Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineCore/qwebenginenotification.sip b/sip/QtWebEngineCore/qwebenginenotification.sip
index 57f62a4..17f00fb 100644
--- a/sip/QtWebEngineCore/qwebenginenotification.sip
+++ b/sip/QtWebEngineCore/qwebenginenotification.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineCore Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineCore/qwebenginequotarequest.sip b/sip/QtWebEngineCore/qwebenginequotarequest.sip
index 533ade3..8e5b9d7 100644
--- a/sip/QtWebEngineCore/qwebenginequotarequest.sip
+++ b/sip/QtWebEngineCore/qwebenginequotarequest.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineCore Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineCore/qwebengineregisterprotocolhandlerrequest.sip b/sip/QtWebEngineCore/qwebengineregisterprotocolhandlerrequest.sip
index 0b7a0d0..d92b8ca 100644
--- a/sip/QtWebEngineCore/qwebengineregisterprotocolhandlerrequest.sip
+++ b/sip/QtWebEngineCore/qwebengineregisterprotocolhandlerrequest.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineCore Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineCore/qwebengineurlrequestinfo.sip b/sip/QtWebEngineCore/qwebengineurlrequestinfo.sip
index 96d9809..cb1f3f8 100644
--- a/sip/QtWebEngineCore/qwebengineurlrequestinfo.sip
+++ b/sip/QtWebEngineCore/qwebengineurlrequestinfo.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineCore Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineCore/qwebengineurlrequestinterceptor.sip b/sip/QtWebEngineCore/qwebengineurlrequestinterceptor.sip
index f5aaa55..22606f1 100644
--- a/sip/QtWebEngineCore/qwebengineurlrequestinterceptor.sip
+++ b/sip/QtWebEngineCore/qwebengineurlrequestinterceptor.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineCore Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineCore/qwebengineurlrequestjob.sip b/sip/QtWebEngineCore/qwebengineurlrequestjob.sip
index 7219dec..e534f50 100644
--- a/sip/QtWebEngineCore/qwebengineurlrequestjob.sip
+++ b/sip/QtWebEngineCore/qwebengineurlrequestjob.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineCore Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineCore/qwebengineurlscheme.sip b/sip/QtWebEngineCore/qwebengineurlscheme.sip
index 9a9e900..a2fa162 100644
--- a/sip/QtWebEngineCore/qwebengineurlscheme.sip
+++ b/sip/QtWebEngineCore/qwebengineurlscheme.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineCore Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineCore/qwebengineurlschemehandler.sip b/sip/QtWebEngineCore/qwebengineurlschemehandler.sip
index c2a620f..49cc439 100644
--- a/sip/QtWebEngineCore/qwebengineurlschemehandler.sip
+++ b/sip/QtWebEngineCore/qwebengineurlschemehandler.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineCore Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineWidgets/QtWebEngineWidgetsmod.sip b/sip/QtWebEngineWidgets/QtWebEngineWidgetsmod.sip
index 65453c4..eb3fee8 100644
--- a/sip/QtWebEngineWidgets/QtWebEngineWidgetsmod.sip
+++ b/sip/QtWebEngineWidgets/QtWebEngineWidgetsmod.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineWidgets Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
@@ -30,7 +30,7 @@
%Timeline {QtWebEngine_5_4_0 QtWebEngine_5_4_1 QtWebEngine_5_4_2 QtWebEngine_5_5_0 QtWebEngine_5_5_1 QtWebEngine_5_6_0 QtWebEngine_5_6_1 QtWebEngine_5_6_2 QtWebEngine_5_6_3 QtWebEngine_5_6_4 QtWebEngine_5_6_5 QtWebEngine_5_6_6 QtWebEngine_5_6_7 QtWebEngine_5_6_8 QtWebEngine_5_6_9 QtWebEngine_5_7_0 QtWebEngine_5_7_1 QtWebEngine_5_8_0 QtWebEngine_5_8_1 QtWebEngine_5_9_0 QtWebEngine_5_9_1 QtWebEngine_5_9_2 QtWebEngine_5_9_3 QtWebEngine_5_9_4 QtWebEngine_5_9_5 QtWebEngine_5_9_6 QtWebEngine_5_9_7 QtWebEngine_5_9_8 QtWebEngine_5_9_9 QtWebEngine_5_10_0 QtWebEngine_5_10_1 QtWebEngine_5_11_0 QtWebEngine_5_11_1 QtWebEngine_5_11_2 QtWebEngine_5_11_3 QtWebEngine_5_12_0 QtWebEngine_5_12_1 QtWebEngine_5_12_2 QtWebEngine_5_12_3 QtWebEngine_5_12_4 QtWebEngine_5_13_0 QtWebEngine_5_14_0 QtWebEngine_5_15_0}
%Copying
-Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
This file is part of PyQtWebEngine.
diff --git a/sip/QtWebEngineWidgets/qwebenginecertificateerror.sip b/sip/QtWebEngineWidgets/qwebenginecertificateerror.sip
index 2dbd91f..0becd9b 100644
--- a/sip/QtWebEngineWidgets/qwebenginecertificateerror.sip
+++ b/sip/QtWebEngineWidgets/qwebenginecertificateerror.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineWidgets Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineWidgets/qwebengineclientcertificateselection.sip b/sip/QtWebEngineWidgets/qwebengineclientcertificateselection.sip
index ed8922c..c4ccc14 100644
--- a/sip/QtWebEngineWidgets/qwebengineclientcertificateselection.sip
+++ b/sip/QtWebEngineWidgets/qwebengineclientcertificateselection.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineWidgets Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineWidgets/qwebenginecontextmenudata.sip b/sip/QtWebEngineWidgets/qwebenginecontextmenudata.sip
index 57d2150..04f369b 100644
--- a/sip/QtWebEngineWidgets/qwebenginecontextmenudata.sip
+++ b/sip/QtWebEngineWidgets/qwebenginecontextmenudata.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineWidgets Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineWidgets/qwebenginedownloaditem.sip b/sip/QtWebEngineWidgets/qwebenginedownloaditem.sip
index 4bdcfbc..db00268 100644
--- a/sip/QtWebEngineWidgets/qwebenginedownloaditem.sip
+++ b/sip/QtWebEngineWidgets/qwebenginedownloaditem.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineWidgets Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineWidgets/qwebenginefullscreenrequest.sip b/sip/QtWebEngineWidgets/qwebenginefullscreenrequest.sip
index 9ccc20e..89e3ad6 100644
--- a/sip/QtWebEngineWidgets/qwebenginefullscreenrequest.sip
+++ b/sip/QtWebEngineWidgets/qwebenginefullscreenrequest.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineWidgets Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineWidgets/qwebenginehistory.sip b/sip/QtWebEngineWidgets/qwebenginehistory.sip
index 760649f..666444b 100644
--- a/sip/QtWebEngineWidgets/qwebenginehistory.sip
+++ b/sip/QtWebEngineWidgets/qwebenginehistory.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineWidgets Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineWidgets/qwebenginepage.sip b/sip/QtWebEngineWidgets/qwebenginepage.sip
index 9b58e6d..74cdb7e 100644
--- a/sip/QtWebEngineWidgets/qwebenginepage.sip
+++ b/sip/QtWebEngineWidgets/qwebenginepage.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineWidgets Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineWidgets/qwebengineprofile.sip b/sip/QtWebEngineWidgets/qwebengineprofile.sip
index a22dd3d..61a0419 100644
--- a/sip/QtWebEngineWidgets/qwebengineprofile.sip
+++ b/sip/QtWebEngineWidgets/qwebengineprofile.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineWidgets Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineWidgets/qwebenginescript.sip b/sip/QtWebEngineWidgets/qwebenginescript.sip
index 38aed2a..8a7b806 100644
--- a/sip/QtWebEngineWidgets/qwebenginescript.sip
+++ b/sip/QtWebEngineWidgets/qwebenginescript.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineWidgets Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineWidgets/qwebenginescriptcollection.sip b/sip/QtWebEngineWidgets/qwebenginescriptcollection.sip
index 00bbe24..4700946 100644
--- a/sip/QtWebEngineWidgets/qwebenginescriptcollection.sip
+++ b/sip/QtWebEngineWidgets/qwebenginescriptcollection.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineWidgets Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineWidgets/qwebenginesettings.sip b/sip/QtWebEngineWidgets/qwebenginesettings.sip
index 3ca7f16..89fa3f4 100644
--- a/sip/QtWebEngineWidgets/qwebenginesettings.sip
+++ b/sip/QtWebEngineWidgets/qwebenginesettings.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineWidgets Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
diff --git a/sip/QtWebEngineWidgets/qwebengineview.sip b/sip/QtWebEngineWidgets/qwebengineview.sip
index ac156a0..0e6f46f 100644
--- a/sip/QtWebEngineWidgets/qwebengineview.sip
+++ b/sip/QtWebEngineWidgets/qwebengineview.sip
@@ -2,7 +2,7 @@
//
// This file is part of the QtWebEngineWidgets Python extension module.
//
-// Copyright (c) 2021 Riverbank Computing Limited <info at riverbankcomputing.com>
+// Copyright (c) 2022 Riverbank Computing Limited <info at riverbankcomputing.com>
//
// This file is part of PyQtWebEngine.
//
@@ -197,9 +197,18 @@ pyqt5_qtwebenginewidgets_err_print_t pyqt5_qtwebenginewidgets_err_print;
// check things have been done in the right order.
if (QCoreApplication::instance())
{
+#if QT_VERSION >= 0x050400
+ if (!QCoreApplication::testAttribute(Qt::AA_ShareOpenGLContexts))
+ {
+ PyErr_SetString(PyExc_ImportError,
+ "QtWebEngineWidgets must be imported or Qt.AA_ShareOpenGLContexts must be set before a QCoreApplication instance is created");
+ SIP_MODULE_RETURN(NULL);
+ }
+#else
PyErr_SetString(PyExc_ImportError,
"QtWebEngineWidgets must be imported before a QCoreApplication instance is created");
SIP_MODULE_RETURN(NULL);
+#endif
}
%End
More information about the Neon-commits
mailing list