QT_QML_NO_QML_PREVIEW(ターゲットプロパティ)
ターゲットの自動的な qmlpreview ターゲット作成から除外します。
このプロパティは Qt 6.12 で導入されました。
ターゲットに対してこのプロパティを真の値に設定すると、そのターゲットに対してqmlpreviewターゲットが自動的に作成されるのを防ぐことができます。デフォルトでは、Qt6::Qml にリンクするすべての実行可能ファイルに対して、このようなターゲットが作成されます。
このプロパティは自動的な動作にのみ影響を及ぼします。この動作は、QT_QML_NO_QML_PREVIEW を使用してグローバルに無効にすることもできます。同じターゲットに対してqt_add_qml_preview()を明示的に呼び出した場合には、このプロパティは影響しません。
QT_QML_NO_QML_PREVIEW (グローバルプロパティ)およびqt_add_qml_preview()も参照してください 。
© 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.