QT_NO_XCODE_EMBED_FRAMEWORK_IN_CONSUMERS
この共有ライブラリを、それを使用するアプリケーションバンドルに組み込まないようにします。
このプロパティは Qt 6.12 で導入されました。
注:この プロパティは、iOS をターゲットにしている場合にのみ使用されます。
qt_finalize_target() で説明されているように、共有ライブラリがアプリケーションバンドルに自動的に埋め込まれるのを除外するブール型プロパティです。
アプリケーションターゲットに設定して埋め込みを完全に無効にする `QT_NO_XCODE_EMBED_FRAMEWORKS` とは異なり、このプロパティは、埋め込み対象から除外すべきライブラリターゲットに設定します。
このライブラリをリンク対象とするすべてのアプリケーションは、そのバンドルからこのライブラリを除外します:
set_target_properties(mylib PROPERTIES
QT_NO_XCODE_EMBED_FRAMEWORK_IN_CONSUMERS ON
)qt_finalize_target()および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.