From: Dmitry Shachnev Date: Tue, 17 Jan 2017 13:40:52 +0000 (+0300) Subject: Disable implicit qml_debug option for debug builds X-Git-Tag: archive/raspbian/5.9+dfsg-2+rpi1~1^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6e8a11b25b834a37d5aea175ced0564ecfb45d29;p=pyqt5.git Disable implicit qml_debug option for debug builds We build PyQt in debug mode, but do not want the qml_debug option because it has security implication (opens a local network port). Origin: openSUSE, https://www.riverbankcomputing.com/pipermail/pyqt/2017-January/038608.html Patch-Name: no_qml_debug.diff Gbp-Pq: Name no_qml_debug.diff --- diff --git a/configure.py b/configure.py index a44c237..cb58008 100644 --- a/configure.py +++ b/configure.py @@ -2244,7 +2244,7 @@ def pro_add_qt_dependencies(target_config, metadata, pro_lines, debug=None): pro_lines.append('QT += %s' % ' '.join(add)) pro_lines.append( - 'CONFIG += %s' % ('debug qml_debug' if debug else 'release')) + 'CONFIG += %s' % ('debug' if debug else 'release')) if metadata.cpp11: pro_lines.append('CONFIG += c++11')