modules/qt: compeil_resources allow name to be unset

Originally name should have been set to required=True, but since then
the requirement to name CustomTargets (which compile_resources is a
wrapper around) has been dropped. As such we just need to allow the
default value of None through.

Fixes: #9698
pull/9701/head
Dylan Baker 3 years ago
parent c88bfdbefc
commit 4f0c5af390
  1. 2
      mesonbuild/modules/qt.py

@ -277,7 +277,7 @@ class QtBaseModule(ExtensionModule):
@noPosargs
@typed_kwargs(
'qt.compile_resources',
KwargInfo('name', str),
KwargInfo('name', (str, NoneType)),
KwargInfo(
'sources',
ContainerTypeInfo(list, (File, str, build.CustomTarget, build.CustomTargetIndex, build.GeneratedList), allow_empty=False),

Loading…
Cancel
Save