diff --git a/mesonbuild/modules/qt.py b/mesonbuild/modules/qt.py index 9360e4a48..cf973684b 100644 --- a/mesonbuild/modules/qt.py +++ b/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),