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

Scott Kitterman kitterman at moszumanska.debian.org
Tue Jun 27 22:23:30 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 f8f491548ef75e8eb4ee404d567ea73fb4052d73
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 ec5ef61..7bb37ec 100644
--- a/Python/configure.py
+++ b/Python/configure.py
@@ -1456,6 +1456,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