[Python-modules-commits] [qscintilla2] 07/14: qt5_includes
Scott Kitterman
kitterman at moszumanska.debian.org
Thu Oct 29 17:57:42 UTC 2015
This is an automated email from the git hooks/post-receive script.
kitterman pushed a commit to branch master
in repository qscintilla2.
commit ff99fc9573af07c750e2ab557581317ff3851149
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 820d937..87c961a 100644
--- a/Python/configure.py
+++ b/Python/configure.py
@@ -1420,6 +1420,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