aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/ui.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/dependencies/ui.py')
-rw-r--r--mesonbuild/dependencies/ui.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py
index 95dfe2b..5dffd3a 100644
--- a/mesonbuild/dependencies/ui.py
+++ b/mesonbuild/dependencies/ui.py
@@ -234,13 +234,13 @@ class QtBaseDependency(ExternalDependency):
def gen_bins():
for b in bins:
if self.bindir:
- yield os.path.join(self.bindir, b), b, False
+ yield os.path.join(self.bindir, b), b
# prefer the <tool>-qt<version> of the tool to the plain one, as we
# don't know what the unsuffixed one points to without calling it.
- yield '{}-{}'.format(b, self.name), b, False
- yield b, b, self.required if b != 'lrelease' else False
+ yield '{}-{}'.format(b, self.name), b
+ yield b, b
- for b, name, required in gen_bins():
+ for b, name in gen_bins():
if found[name].found():
continue
@@ -260,7 +260,7 @@ class QtBaseDependency(ExternalDependency):
care = err
return care.split(' ')[-1].replace(')', '')
- p = interp_obj.find_program_impl([b], required=required,
+ p = interp_obj.find_program_impl([b], required=False,
version_func=get_version,
wanted=wanted).held_object
if p.found():