リモートLinuxデバイス上で実行
アプリケーションをビルドし、Linuxベースのデバイス上で実行するには:
- デバイスへの接続を指定します。
- 「
」(Run )を選択します。
注: 「 Qt Creator 」は 、デプロイおよび実行の前に自動的にリモートデバイスに接続します。毎回手動で接続する必要はありません。
Qt Creator キットに含まれるコンパイラ(ツールチェーン)を使用してアプリケーションをビルドします。
Qt Creator 接続されたデバイスにアプリケーションファイルをコピーし、アプリケーションを実行します。アプリケーションのビューはデバイス上に表示されます。コマンドラインの出力は、Qt Creator の「Application Output 」ビューで確認できます。
「Projects 」>「Run Settings 」に移動し、アプリケーションの実行設定を指定します。
Projects >Deploy Settings に移動して、接続されたデバイスへのアプリケーションのデプロイ設定を確認します。
デバイスに GDB サーバーがインストールされており、ホスト上の GDB と互換性がある場合、デバッグは透過的に行われます。
「ハウツー:リモート Linux 向けの開発」、「リモート Linux デバイス向けの開発」、「アプリケーションの実行」、「コンパイラ設定の指定」、「組み込みプラットフォーム」、および「キットの管理」も参照してください 。
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.