(self, state: 'ModuleState', args: T.Tuple, kwargs: 'ResourceCompilerKwArgs')
return ModuleReturnValue(out, [out])
Compile Qt resources files.

        Uses CustomTargets to generate .cpp files from .qrc files.
Compile Qt resources files.
Compile Qt resources files .
def compile_resources(self, state: 'ModuleState', args: T.Tuple, kwargs: 'ResourceCompilerKwArgs') -> ModuleReturnValue:
        """Compile Qt resources files.

        Uses CustomTargets to generate .cpp files from .qrc files.
        """
        if any(isinstance(s, (build.CustomTarget, build.CustomTargetIndex, build.GeneratedList)) for s in kwargs['sources']):
            FeatureNew.single_use('qt.compile_resources: custom_target or generator for "sources" keyword argument',
                                  '0.60.0', state.subproject, location=state.current_node)
        out = self._compile_resources_impl(state, kwargs)
        return ModuleReturnValue(out, [out])
def compile_resources ( self , state : 'ModuleState' , args : T . Tuple , kwargs : 'ResourceCompilerKwArgs' ) -> ModuleReturnValue : if any ( isinstance ( s , ( build . CustomTarget , build . CustomTargetIndex , build . GeneratedList ) ) for s in kwargs [ 'sources' ] ) : FeatureNew . single_use ( 'qt.compile_resources: custom_target or generator for "sources" keyword argument' , '0.60.0' , state . subproject , location = state . current_node ) out = self . _compile_resources_impl ( state , kwargs ) return ModuleReturnValue ( out , [ out ] )