Dockerのための開発
DockerイメージからDockerデバイスを作成し、アプリケーションのビルド、実行、デバッグに使用します。Dockerコンテナは仮想マシンのように動作しますが、柔軟性に欠ける代わりにシステムリソースの使用量は少なくなります。
Dockerデバイス上でアプリケーションをビルド、実行、およびデバッグするには、開発ホスト上にdocker-cli 。Qt Creator 、Dockerコンテナ内のデバッガや Qtバージョンなどの ビルドおよび実行キットアイテムを自動的に検出し、デバイス用のキットを作成します。
Dockerコンテナでアプリケーションをビルドするには、CMakeを使用することをお勧めします。
注: Dockerプラグインを使用するには、Dockerプラグインを有効にしてください。
Docker hubやその他のレジストリからイメージをプルするには、docker pullコマンドを使用します。
プラグインの有効化と無効化およびHow toも参照してください :Docker用に開発する。
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.