diff options
author | Christian Stenger <christian.stenger@theqtcompany.com> | 2015-11-11 09:59:09 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@theqtcompany.com> | 2015-11-11 09:22:25 +0000 |
commit | 340572c980dfa45937637dfa40fada532e26b20e (patch) | |
tree | 90e035262e848540f98293671d1aae44a48cbffb /scripts | |
parent | 21ad1804f618c8aeff8647e62240f165861a194e (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-x | scripts/deployqt.py | 2 |
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')) |