QT_파일_내용_삭제
리소스 파일 시스템에서 지정된 파일이 비어 있어야 함을 지정합니다.
이 속성은 Qt 6.6에서 도입되었습니다.
참고: 이 속성은 기술 미리보기 단계에 있으며 향후 릴리스에서 변경될 수 있습니다.
qt_add_resources() 또는 qt_add_qml_module()의 타깃 기반 변형을 사용할 때, 이 속성을 ` TRUE `로 설정하면 리소스 파일 시스템을 생성할 때 해당 파일의 내용이 생략됩니다. 파일 이름은 유지됩니다.
이는 바이너리에서 QML 소스 코드를 제거하려는 경우에 유용합니다.
참고: 바이너리에서 QML 소스 코드를생략하면 , QML 엔진은 qmlcachegen 또는 qmlsc로 생성된 컴파일 유닛에 의존해야 합니다. 이러한 컴파일 유닛은 빌드에 사용된 특정 Qt 버전에 바인딩되어 있습니다. 애플리케이션에서 사용하는 Qt 버전을 변경하면 더 이상 해당 컴파일 유닛을 로드할 수 없습니다.
참조: Qt 리소스 시스템.
© 2026 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.