qmlpreview
Qml プレビュー
QMLプレビューツールは、ディスク上のQMLファイルとJavaScriptファイルを監視し、変更があればアプリケーションをライブで更新します。プレビューするアプリケーションはQMLデバッグが有効になっている必要があります。詳細...
使い方 |
---|
qmlpreview[オプション] 実行形式 [パラメータ...]... |
オプション
オプション | 説明 |
---|---|
-冗長 | デバッグ出力を表示する。 |
-h, -help | コマンドラインオプションのヘルプを表示します。 |
-help-all | 一般的な Qt オプションを含むヘルプを表示します。 |
-v, -version | バージョン情報を表示します。 |
引数
引数 | 説明 |
---|---|
実行ファイル | QML文書をロードする実行ファイルのパス。 |
パラメータ | 実行ファイルの引数 |
詳細
QMLデバッグを有効にする
QMLデバッグを有効にするには、適切なコンフィギュレーション・パラメータを指定して アプリケーションをビルドしてください。qmake を使用する場合は、.pro
ファイルにCONFIG+=qml_debug
を追加してください。他のビルドシステムを使用する場合は、QT_QML_DEBUG
変数を定義する必要があります。
qt_add_executable(MyApp ... ) target_compile_definitions(MyApp PRIVATE QT_QML_DEBUG)
© 2025 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.