summaryrefslogtreecommitdiff
path: root/QScintilla_gpl-2_10_7-sip_check.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-01-05 10:57:14 +0000
committerCoprDistGit <infra@openeuler.org>2025-01-05 10:57:14 +0000
commit64c7efdae40182d09c67509fee352ce1ad1f214f (patch)
treea4cfbabca679c7ff232587a7036744bc1e840555 /QScintilla_gpl-2_10_7-sip_check.patch
parent088eeedca632c8650ed49dd48c5595bfe7925510 (diff)
automatic import of qscintilla
Diffstat (limited to 'QScintilla_gpl-2_10_7-sip_check.patch')
-rw-r--r--QScintilla_gpl-2_10_7-sip_check.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/QScintilla_gpl-2_10_7-sip_check.patch b/QScintilla_gpl-2_10_7-sip_check.patch
new file mode 100644
index 0000000..48fa763
--- /dev/null
+++ b/QScintilla_gpl-2_10_7-sip_check.patch
@@ -0,0 +1,20 @@
+diff -up QScintilla_gpl-2.10.7/Python/configure.py.sip-check QScintilla_gpl-2.10.7/Python/configure.py
+--- QScintilla_gpl-2.10.7/Python/configure.py.sip-check 2018-06-29 06:57:42.000000000 -0500
++++ QScintilla_gpl-2.10.7/Python/configure.py 2018-07-22 11:48:43.271510206 -0500
+@@ -875,14 +875,14 @@ class _TargetConfiguration:
+ try:
+ from PyQt5 import QtCore
+ except ImportError:
+- error(
++ inform(
+ "Unable to import PyQt5.QtCore. Make sure PyQt5 is "
+ "installed.")
+ else:
+ try:
+ from PyQt4 import QtCore
+ except ImportError:
+- error(
++ inform(
+ "Unable to import PyQt4.QtCore. Make sure PyQt4 is "
+ "installed.")
+