Настройка среды разработки WebAssembly

Чтобы настроить среду разработки для WebAssembly:

  1. Перейдите по адресу Preferences > SDKs > WebAssembly.
  2. В разделе « Emscripten SDK path » укажите корневой каталог, в который вы установили « emsdk ».
  3. Qt Creator Emscripten SDK environment настроит все необходимое за вас, если ваша версия Qt for WebAssembly поддерживает . emsdk

    Вкладка «WebAssembly» в настройках SDK

  4. Перейдите в раздел « Preferences » > « Kits », чтобы проверить набор WebAssembly, создаваемый командой ` Qt Creator `. Если в разделе « C/C++ » не отображается компилятор Emscripten, который следует использовать, убедитесь, что emscripten настроен правильно.

    Набор WebAssembly на вкладке «Наборы» в настройках «Наборы»

См. также разделы«Создание приложений для веб-среды», «Как: Разработка для 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.