qt_android_app_icon

안드로이드 앱의 아이콘 리소스 이름입니다.

이 프로퍼티는 Qt 6.9에 도입되었습니다.

참고: 이 프로퍼티는 Android 플랫폼을 타깃팅하는 경우에만 사용됩니다.

앱의 아이콘 이름을 안드로이드 드로어블 또는 밉맵 참조로 지정합니다. AndroidManifest.xml 파일에 플레이스홀더가 포함되어 있거나 AndroidManifest.xml 가 Qt에 의해 관리되는 경우에만 작동합니다.

<application
    ...
    android:icon="-- %%INSERT_APP_ICON%% --"
    ...
>

이 속성은 다음과 같이 사용할 수 있습니다:

set_target_properties(${target} PROPERTIES
    QT_ANDROID_APP_ICON "@mipmap/ic_launcher"
)

또는 드로어블을 사용합니다:

set_target_properties(${target} PROPERTIES
    QT_ANDROID_APP_ICON "@drawable/ic_launcher"
)

qt_android_generate_deployment_settings()도 참조하십시오 .

© 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.