このページでは

qmlpreview

Qml Preview

QMLプレビューツールは、ディスク上のQMLファイルおよびJavaScriptファイルを監視し、変更があるたびにアプリケーションをリアルタイムで更新します。プレビュー対象のアプリケーションでは、QMLデバッグが有効になっている必要があります。詳細...

使用方法
qmlpreview [オプション] 実行ファイル [パラメータ...]

オプション

オプション説明
–verboseデバッグ出力を表示します。
-h, –helpコマンドラインオプションに関するヘルプを表示します。
–help-all一般的な Qt オプションを含むヘルプを表示します。
-v, –versionバージョン情報を表示します。
–resource <qrcファイル>.qrc ファイルを指定して、qmlpreview がリソースパスをファイルシステムパスに解決できるようにします。

引数

引数説明
実行可能ファイルQMLドキュメントを読み込む実行ファイルのパス。
パラメータ実行ファイルの引数

詳細

QML デバッグを有効にする

実行ファイルでqmlpreview を使用するには、その実行ファイルがQMLデバッグインフラストラクチャを有効にしてビルドされている必要があります。

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