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
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')