QT_ANDROID_APP_ICON

Nombre del recurso icono de la aplicación Android.

Esta propiedad se introdujo en Qt 6.9.

Nota: Esta propiedad sólo se utiliza si está orientada a la plataforma Android.

Especifica el nombre del icono de la aplicación como un drawable de Android o una referencia mipmap. Esto sólo funciona si el archivo AndroidManifest.xml contiene el marcador de posición o cuando el AndroidManifest.xml es gestionado por Qt.

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