From: SVN-Git Migration Date: Thu, 8 Oct 2015 20:39:19 +0000 (-0700) Subject: qt5_includes X-Git-Tag: archive/raspbian/2.10.4+dfsg-2.1+rpi1^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=76e7419cfb2b2305bdb9c2ea862a3203d5700960;p=qscintilla2.git 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 Gbp-Pq: Name 0005-qt5_includes.patch --- diff --git a/Python/configure.py b/Python/configure.py index 58902a5..30a13f0 100644 --- a/Python/configure.py +++ b/Python/configure.py @@ -1548,6 +1548,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))