QT_NO_XCODE_EMBED_FRAMEWORK_IN_CONSUMERS

Empêche l'intégration d'une bibliothèque partagée dans les paquets d'application qui l'utilisent.

Cette propriété a été introduite dans Qt 6.12.

Remarque : cette propriété n'est utilisée que si la cible est iOS.

Propriété booléenne qui empêche l'intégration automatique d'une bibliothèque partagée dans les paquets d'application, comme décrit dans la fonction qt_finalize_target().

Contrairement à QT_NO_XCODE_EMBED_FRAMEWORKS, qui est définie sur la cible de l'application et désactive complètement l'intégration, cette propriété est définie sur la cible de la bibliothèque qui ne doit pas être intégrée.

Toute application qui se lie à cette bibliothèque ne l'inclura pas dans son bundle :

set_target_properties(mylib PROPERTIES
    QT_NO_XCODE_EMBED_FRAMEWORK_IN_CONSUMERS ON
)

Voir également qt_finalize_target() et QT_NO_XCODE_EMBED_FRAMEWORKS.

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