Web向けアプリケーションの構築

手順:WebAssembly向け開発

Qt for WebAssembly を使用して、アプリケーションを WebAssembly 形式でビルドし、ローカルの Web ブラウザにデプロイして実行します。

プロジェクトの実行設定でWebブラウザを変更します。

WebAssemblyは、Webページ内でサンドボックス化された実行可能コードを許可するバイナリ形式です。この形式は、ネイティブのマシンコードとほぼ同等の速度を実現します。すべての主要なWebブラウザでサポートされています。

注: WebAssembly を使用するには、WebAssembly プラグインを有効にしてください

Web 向けアプリケーションをビルドし、Web ブラウザで実行するには、次のコマンドで Qt for WebAssembly をインストールします Qt Online Installer。これにより、Qt Creator にビルドおよび実行キットが自動的に追加されます。

「WebAssembly向け開発方法」、「 プラグインの有効化と無効化、および「Qt for WebAssemblyも参照してください

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.