aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@theqtcompany.com>2015-11-11 09:59:09 +0100
committerChristian Stenger <christian.stenger@theqtcompany.com>2015-11-11 09:22:25 +0000
commit340572c980dfa45937637dfa40fada532e26b20e (patch)
tree90e035262e848540f98293671d1aae44a48cbffb /scripts
parent21ad1804f618c8aeff8647e62240f165861a194e (diff)
Scripts: Fix deployqt
When comparing re.MatchObjects instead of real bools the objects normally aren't identical. This lead to filtering out all libraries and not copying anything to the respective directory. Change-Id: Ib17cc04d281620b142ac570475d8fdc4912eaa86 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/deployqt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/deployqt.py b/scripts/deployqt.py
index e6e7a2e437..5322036512 100755
--- a/scripts/deployqt.py
+++ b/scripts/deployqt.py
@@ -73,7 +73,7 @@ def is_debug(fpath):
if coredebug.search(fpath):
return True
output = subprocess.check_output(['dumpbin', '/imports', fpath])
- return coredebug.search(output)
+ return coredebug.search(output) != None
def is_debug_build(install_dir):
return is_debug(os.path.join(install_dir, 'bin', 'qtcreator.exe'))