summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qscintilla-2.11.6-add-qtwidgets-and-printsupport.patch (renamed from qscintilla-2.11.6-add-qtwidgets.patch)2
-rw-r--r--qscintilla.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/qscintilla-2.11.6-add-qtwidgets.patch b/qscintilla-2.11.6-add-qtwidgets-and-printsupport.patch
index 55f7ae4..01e2fab 100644
--- a/qscintilla-2.11.6-add-qtwidgets.patch
+++ b/qscintilla-2.11.6-add-qtwidgets-and-printsupport.patch
@@ -4,7 +4,7 @@
if qt:
pro.write('QT += %s\n' % qt)
-+ pro.write('QT += widgets\n')
++ pro.write('QT += widgets printsupport\n')
+
pro.write('CONFIG += %s\n' % ('debug' if target_config.debug else 'release'))
pro.write('CONFIG += %s\n' % ('staticlib' if opts.static else 'plugin plugin_bundle'))
diff --git a/qscintilla.spec b/qscintilla.spec
index 307c161..6afb180 100644
--- a/qscintilla.spec
+++ b/qscintilla.spec
@@ -12,7 +12,7 @@ Source0: https://github.com/opencor/qscintilla/archive/refs/tags/v%{
Patch100: QScintilla_gpl-2_10_7-sip_check.patch
Patch101: QScintilla_gpl-2_11-QUrl.patch
Patch102: fix-build-error.patch
-Patch103: qscintilla-2.11.6-add-qtwidgets.patch
+Patch103: qscintilla-2.11.6-add-qtwidgets-and-printsupport.patch
BuildRequires: gcc-c++
BuildRequires: pkgconfig(Qt5Designer) pkgconfig(Qt5Gui) pkgconfig(Qt5Widgets)
Provides: bundled(scintilla) = %{scintilla_ver}