qt module: fix substitution for depfile in moc

pull/11008/merge
Charles Brunet 1 year ago committed by Nirbheek Chauhan
parent fe9af72684
commit 599f37eb56
  1. 2
      mesonbuild/modules/qt.py

@ -474,7 +474,7 @@ class QtBaseModule(ExtensionModule):
if kwargs['sources']:
moc_gen = build.Generator(
self.tools['moc'], arguments, ['@BASENAME@.moc'],
depfile='@BASENAME.moc.d@',
depfile='@BASENAME@.moc.d',
name=f'Qt{self.qt_version} moc source')
output.append(moc_gen.process_files(kwargs['sources'], state))

Loading…
Cancel
Save