WebAssemblyの開発環境のセットアップ

WebAssemblyの開発環境を設定するには:

  1. Preferences >SDKs >WebAssembly にアクセスします。
  2. Emscripten SDK path で、emsdk をインストールしたルートディレクトリを入力します。
  3. Qt Creator お使いの Qt for WebAssembly のバージョンがemsdk をサポートしている場合、Emscripten SDK environment が自動的に設定されます。

    SDKの設定にある「WebAssembly」タブ

  4. Preferences >Kits に移動し、Qt Creator によって作成されたWebAssemblyキットを確認してください。C/C++ に使用するEmscriptenコンパイラが表示されない場合は、emscriptenが正しく設定されているか確認してください。

    「Kits」環境設定の「Kits」タブにあるWebAssemblyキット

「Web向けアプリケーションのビルド」、「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.