Kør applikationer i en webbrowser

Sådan udvikler du Qt-applikationer i WebAssembly-format og kører dem i en webbrowser:

  1. Åbn et projekt for en applikation, du vil køre i en webbrowser.
  2. Gå til " Projects " > " Build & Run", og vælg derefter WebAssembly-kittet som build- og kørselskit for projektet.
  3. Vælg Run Settings for at angive kørselsindstillinger.
  4. I Web browser skal du vælge en browser.

    Valg af browser, der skal køre i Qt for WebAssembly-kørselsindstillingerne

Kompiler Qt-applikationer i WebAssembly-format, og kør dem i en webbrowser som beskrevet i Kompilering til mange platforme og Kørsel af applikationer.

Se også Kompilering af applikationer til internettet, Sådan gør du: Udvikling til WebAssembly samt Aktivering og deaktivering af plugins.

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.