modules/qt: check for un-suffixed moc,rcc,uic on windows

The windows Qt installer doesn't ship with suffixed versions of the qt
tools.
pull/3376/head
Matthew Waters 7 years ago committed by Jussi Pakkanen
parent 14716ea90c
commit 4edec259ca
  1. 2
      mesonbuild/dependencies/ui.py

@ -238,7 +238,7 @@ class QtBaseDependency(ExternalDependency):
def compilers_detect(self):
"Detect Qt (4 or 5) moc, uic, rcc in the specified bindir or in PATH"
if self.bindir:
if self.bindir or for_windows(self.env.is_cross_build(), self.env):
moc = ExternalProgram(os.path.join(self.bindir, 'moc'), silent=True)
uic = ExternalProgram(os.path.join(self.bindir, 'uic'), silent=True)
rcc = ExternalProgram(os.path.join(self.bindir, 'rcc'), silent=True)

Loading…
Cancel
Save