C

QSR_ADD_RESOURCE

Adds a safe resource to the project.

The command is defined in Qt Safe Renderer which can be loaded as follows:

find_package(Qt6 REQUIRED COMPONENTS SafeRenderer SafeRendererTools SafePlatformAdaptation)

This command was introduced in Qt Safe Renderer 2.1.

Synopsis

qsr_add_resource(target
                 sources...
)

Description

The safe resource is added to target. sources defines the path of generated safe data asset file (.qrc).

Example

qsr_add_resource(buildresource_myproject sources "${CMAKE_CURRENT_LIST_DIR}/safeasset.qrc")

Available under certain Qt licenses.
Find out more.