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.