forked from qt-creator/qt-creator
Windows: Fix deploy script.
Change-Id: I4180bdc173235497f40da2df1ecd5b20048745e5 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
+2
-2
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user