[Python-modules-commits] [qscintilla2] 05/09: qt5_includes

Scott Kitterman kitterman at moszumanska.debian.org
Sat Dec 16 06:50:25 UTC 2017


This is an automated email from the git hooks/post-receive script.

kitterman pushed a commit to branch patch-queue/debian/master
in repository qscintilla2.

commit d6067d8ff1742ae06f5b8b03995c88239f819c14
Author: SVN-Git Migration <python-modules-team at lists.alioth.debian.org>
Date:   Thu Oct 8 13:39:19 2015 -0700

    qt5_includes
    
    When building for Qt5, the python extension needs QtWidgets and QtPrintSupport
    because things moved there from QtGui in Qt4.  Sent upstream.
    
    Patch-Name: qt5_includes.patch
---
 Python/configure.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Python/configure.py b/Python/configure.py
index 5976b88..dae0f84 100644
--- a/Python/configure.py
+++ b/Python/configure.py
@@ -1534,6 +1534,9 @@ INSTALLS += sip
     if includepath:
         pro.write('INCLUDEPATH += %s\n' % includepath)
 
+    if target_config.pyqt_package == 'PyQt5':
+        pro.write('INCLUDEPATH += %s\n' % (target_config.qt_inc_dir + '/QtWidgets ' + target_config.qt_inc_dir + '/QtPrintSupport'))
+
     # Make sure the SIP include directory is searched before the Python include
     # directory if they are different.
     pro.write('INCLUDEPATH += %s\n' % quote(target_config.sip_inc_dir))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/qscintilla2.git



More information about the Python-modules-commits mailing list