[Python-modules-commits] [pyqt5] 01/02: Disable implicit qml_debug option for debug builds
Dmitry Shachnev
mitya57 at moszumanska.debian.org
Tue Jan 17 14:09:05 UTC 2017
This is an automated email from the git hooks/post-receive script.
mitya57 pushed a commit to branch stretch
in repository pyqt5.
commit 07a7844cecb63f4e5462cf1d0bcd66d86de6bead
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date: Tue Jan 17 16:40:52 2017 +0300
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
---
configure.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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')
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pyqt5.git
More information about the Python-modules-commits
mailing list