Created
September 13, 2015 03:57
-
-
Save Kentzo/48f2feebb314fba7121f to your computer and use it in GitHub Desktop.
PyQt 5.4 / 5.5 fix for debug builds
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- configure.py | |
+++ configure.py | |
@@ -853,6 +853,10 @@ | |
if opts.qmakespec is not None: | |
self.qmake_spec = opts.qmakespec | |
+ if opts.debug: | |
+ self.debug = True | |
+ | |
+ | |
def apply_post_options(self, opts): | |
""" Apply options from the command line that override the previous | |
configuration. opts are the command line options. | |
@@ -863,9 +867,6 @@ | |
if opts.bindir is not None: | |
self.pyqt_bin_dir = opts.bindir | |
- | |
- if opts.debug: | |
- self.debug = True | |
if opts.designerplugindir is not None: | |
self.designer_plugin_dir = opts.designerplugindir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment