QT_ANDROID_APP_ICON
El nombre del recurso del icono de la aplicación para Android.
Esta propiedad se introdujo en Qt 6.9.
Nota: Esta propiedad solo se utiliza si se dirige a la plataforma Android.
Especifica el nombre del icono de la aplicación como una referencia a un elemento «drawable» de Android o a un mipmap. Esto solo funciona si el archivo « AndroidManifest.xml » contiene el marcador de posición o cuando Qt gestiona el « AndroidManifest.xml ».
<application
...
android:icon="-- %%INSERT_APP_ICON%% --"
...
>Puedes utilizar esta propiedad de la siguiente manera:
set_target_properties(${target} PROPERTIES
QT_ANDROID_APP_ICON "@mipmap/ic_launcher"
)O bien, utilizando elementos dibujables:
set_target_properties(${target} PROPERTIES
QT_ANDROID_APP_ICON "@drawable/ic_launcher"
)Véase también qt_android_generate_deployment_settings().
© 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.