このページでは

Boot to Qt デバイスの開発

Boot to Qt デバイスをコンピュータに接続して、Qt Creator から構築したアプリケーションを実行、デバッグ、解析します。

スタックはさまざまなハードウェア上で動作します。 Boot to Qtスタックは様々なハードウェア上で動作します。Qt ライセンス所有者は、スタックの内容をカスタマイズし、量産ハードウェアに導入することができます。

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

Boot to Qt デバイス用のアプリケーションをビルドするためのツールチェインがコンピュータにインストー ルされている場合は、Boot to Qt デバイスタイプのキットに追加して、デバイス用のアプリケーショ ンをビルドし、デバイス上で実行します。

デバイス」環境設定の「デバイス」タブ

デバイス接続の保護

Qt Creator とデバイス間の接続を保護するには、SSH プロトコルを使ったリモート・ログインにOpenSSH を使用します。OpenSSHスイ ートはQt Creator に付属していないため、ダウンロードしてコンピューターにインストールします。次に、Qt Creator でツールへのパスを設定します。

認証にはパスワードかSSH公開鍵と秘密鍵のペアが必要です。SSH鍵をお持ちでない場合は、ssh-keygen ツールを使用してQt Creator で作成してください。

注: Qt Creator はパスワードを保存しないため、パスワード認証を使用する場合、デバイスに接続するたびに、またはキャッシングが有効になっている場合はQt Creator を再起動するたびに、パスワードを入力する必要があります。

タイムアウトに頻繁に遭遇する場合は、鍵ベース認証の使用を検討してください。ssh-keygen ツールを使ってQt Creator に SSH キーを作成する。

macOSとLinuxでは、Preferences>Devices >SSHConnection sharing timeout フィールドでSSH接続を共有する時間(分)を増やします。Windowsは共有接続をサポートしていません。

デバイス環境設定のSSHタブ

How To: Develop forBoot to Qt,How To: Manage Kits,Run inQt Application Manager,Boot to Qt Deploy Configuration,Boot to Qt Run Settings, およびBoot to Qt: Documentationも参照してください

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.