qt_resource_alias

为资源中的文件指定 Qt 资源别名。

该属性在 Qt 6.0 中引入。

当使用基于目标的qt_add_resources变体时,该属性值会覆盖找到资源文件的运行时路径。

另请参阅 Qt 资源系统

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.