Commit 5a51b8ff authored by Eike Ziller's avatar Eike Ziller

Windows: Fix deploy script.

Change-Id: I4180bdc173235497f40da2df1ecd5b20048745e5
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 1b916719
......@@ -69,10 +69,10 @@ def is_debug(fpath):
# which all have the number at different places
coredebug = re.compile(r'Qt[1-9]?Core[1-9]?d[1-9]?.dll')
# bootstrap exception
if re.search(fpath):
if coredebug.search(fpath):
return True
output = subprocess.check_output(['dumpbin', '/imports', fpath])
return re.search(output)
return coredebug.search(output)
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