Commit 340572c9 authored by Christian Stenger's avatar Christian Stenger

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: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent 21ad1804
......@@ -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'))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment