QT_RESOURCE_ALIAS | Qt Core 6.4.1

- Qt 6.4
- Qt Core
- CMake Source File Properties in Qt6 Core
- QT_RESOURCE_ALIAS
- Qt 6.4.1 Reference Documentation

# QT_RESOURCE_ALIAS

Specifies the Qt resource alias for a file in a resource.

This property was introduced in Qt 6.0.

Note: This property is in technology preview and may change in future releases.

When using the target-based variant of qt_add_resources the property value overrides the runtime path where the resource file is found.

See also The Qt Resource System.