summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'BuildTools/SCons/Tools')
-rw-r--r--BuildTools/SCons/Tools/WindowsBundle.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/BuildTools/SCons/Tools/WindowsBundle.py b/BuildTools/SCons/Tools/WindowsBundle.py
index 5afb56e..ef77acb 100644
--- a/BuildTools/SCons/Tools/WindowsBundle.py
+++ b/BuildTools/SCons/Tools/WindowsBundle.py
@@ -101,14 +101,14 @@ def generate(env) :
101 qt_plugin_regex = re.compile(ur".*plugins.*\\(.*)\\(.*)\.dll") 101 qt_plugin_regex = re.compile(ur".*plugins.*\\(.*)\\(.*)\.dll")
102 for (src_path, target_path) in qtmappings: 102 for (src_path, target_path) in qtmappings:
103 if qt_plugin_regex.match(src_path): 103 if qt_plugin_regex.match(src_path):
104 plugin_folder, filename = qt_plugin_regex.match(src_path).groups() 104 plugin_folder, filename = qt_plugin_regex.match(src_path).groups()
105 try: 105 try:
106 if filename[1:] in qtplugins[plugin_folder]: 106 if plugin_folder in ["audio"] or filename[1:] in qtplugins[plugin_folder]:
107 all_files += env.Install(os.path.join(bundle, plugin_folder), src_path) 107 all_files += env.Install(os.path.join(bundle, plugin_folder), src_path)
108 except: 108 except:
109 pass 109 pass
110 return all_files 110 return all_files
111 111
112 def createWindowsBundle(env, bundle, resources = {}, qtplugins = {}, qtlibs = [], qtversion = '4'): 112 def createWindowsBundle(env, bundle, resources = {}, qtplugins = {}, qtlibs = [], qtversion = '4'):
113 if which("windeployqt.exe"): 113 if which("windeployqt.exe"):
114 return createWindowsBundleWithWinDeployQt(env, bundle, resources, qtplugins, qtlibs, qtversion) 114 return createWindowsBundleWithWinDeployQt(env, bundle, resources, qtplugins, qtlibs, qtversion)