Налаштування середовища розробки WebAssembly

Щоб налаштувати середовище розробки для WebAssembly:

  1. Перейдіть на сторінку Preferences > SDKs > WebAssembly.
  2. У Emscripten SDK path вкажіть кореневий каталог, у якому ви встановили emsdk.
  3. Qt Creator Emscripten SDK environment налаштує все за вас, якщо ваша версія Qt для 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.