[Python-modules-commits] [qscintilla2] 08/17: qt5_includes
Scott Kitterman
kitterman at moszumanska.debian.org
Mon May 2 02:43:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
kitterman pushed a commit to branch master
in repository qscintilla2.
commit bac9da65830723b28f0c04ec90a819bcab0b5d6b
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 e9029bd..858ffc6 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