qt_android_package_source_dir
커스텀 안드로이드 패키지 템플릿의 경로입니다.
이 프로퍼티는 Qt 6.0에 도입되었습니다.
참고: 이 속성은 기술 미리 보기에 있으며 향후 릴리스에서 변경될 수 있습니다.
참고: 이 프로퍼티는 Android 플랫폼을 타깃팅하는 경우에만 사용됩니다.
사용자 지정 Android 패키지 템플릿의 경로를 지정합니다. Android 패키지 템플릿에는 다음이 포함됩니다:
- AndroidManifest.xml 파일
- build.gradle 파일 및 기타 Gradle 스크립트
- res/values/libs.xml 파일
이 변수로 지정된 경로에는 src
디렉터리 아래에 사용자 지정 Java 클래스가 포함될 수 있습니다. 기본적으로 androiddeployqt 도구는 안드로이드용 Qt 설치 경로에서 프로젝트의 빌드 디렉토리로 애플리케이션 템플릿을 복사한 다음 이 변수로 지정된 경로의 내용을 그 위에 복사하여 기존 파일을 덮어씁니다. 예를 들어 애플리케이션에 대한 사용자 지정 AndroidManifest.xml
을 만든 다음 이 변수로 지정된 디렉터리에 직접 배치할 수 있습니다.
© 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.