Boot to Qt デバイスの接続

デバイス間の接続を作成 Boot to QtデバイスとQt Creator の接続を作成し、そのデバイス上でアプリケーションを実行、デバッグ、解析します。

注: Boot to Qt プラグインを有効にしてください。

Qt CreatorBoot to Qt デバイス間の接続を設定するには:

  1. デバイスの IP アドレスに到達できることを確認するか、USB を使用して接続します。
  2. 環境設定>Kits >Qt Versions を開きます。
  3. Boot to Qt の Qt バージョンを追加するには、Add を選択します。
  4. Preferences>Kits >Compilers に進みます。
  5. Add を選択して、アプリケーションをビルドするためのコンパイラを追加します。
  6. Tools > に進みます。 Flash Boot to Qtを選択し、Boot to Qt Flashing Wizard を使用してBoot to Qt イメージを SD カードにフラッシュします。

    Qtフラッシュウィザードへのブート

  7. ウィザードの指示に従って、SDカードにイメージをフラッシュします。
  8. Preferences>Devices >Devices に進みます。
  9. Boot to Qt デバイスを追加するには、Add を選択します。

    Qt Creator USBで接続されたデバイスを自動的に検出します。

  10. 環境設定>Kits を開きます。
  11. Add を選択して、デバイス用にビルドするキットを追加します。
  12. 上記で追加した Qt のバージョン、コンパイラ、デバイスを選択します。
  13. Run deviceBoot2Qt Device を選択し、TypeDevice を選択します。
  14. ビルド設定を指定するには
    1. デバイス用に開発したいアプリケーションのプロジェクトを開きます。
    2. Projects >Build & Run で、上記で指定したキットをアクティブにします。
  15. Run Settings にアクセスして実行設定を指定します。通常はデフォルト設定を使用できます。
  16. プロジェクトを実行すると、Deploy Settings で指定したアプリケーショ ンがQt Creator でデプロイされます。デフォルトでは、Qt Creator でアプリケーショ ン・ファイルがデバイスにコピーされます。

SSH 接続の設定SSH キーの生成プラグインの有効化と無効化How To: Develop forBoot to QtHow To: Manage KitsBoot to Qt Deploy ConfigurationBoot to Qt Run Settings、およびDeveloping forBoot to Qt Devicesも参照してください

Copyright © The Qt Company Ltd. and other contributors. 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.