From ca922a2d4dd5063402a15bab827ce979bde1b737 Mon Sep 17 00:00:00 2001 From: SVN-Git Migration Date: Thu, 8 Oct 2015 13:39:19 -0700 Subject: [PATCH] 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 --- Python/configure.py | 3 +++ 1 file changed, 3 insertions(+) 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)) -- 2.30.2