Skip to content

Instantly share code, notes, and snippets.

@Kentzo
Created September 13, 2015 03:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kentzo/48f2feebb314fba7121f to your computer and use it in GitHub Desktop.
Save Kentzo/48f2feebb314fba7121f to your computer and use it in GitHub Desktop.
PyQt 5.4 / 5.5 fix for debug builds
--- 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