From 340572c980dfa45937637dfa40fada532e26b20e Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 11 Nov 2015 09:59:09 +0100 Subject: [PATCH] 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 --- scripts/deployqt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deployqt.py b/scripts/deployqt.py index e6e7a2e437b..53220365120 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'))