Ejecutar aplicaciones en un navegador web

Para crear aplicaciones Qt en formato WebAssembly y ejecutarlas en un navegador web:

  1. Abre un proyecto de la aplicación que quieras ejecutar en un navegador web.
  2. Ve a « Projects » > « Build & Run » y, a continuación, selecciona el kit WebAssembly como kit de compilación y ejecución para el proyecto.
  3. Selecciona « Run Settings » para especificar la configuración de ejecución.
  4. En Web browser, selecciona un navegador.

    Selección del navegador que se ejecutará en la configuración de ejecución de Qt para WebAssembly

Compila aplicaciones Qt en formato WebAssembly y ejecútalas en un navegador web tal y como se describe en «Compilar para múltiples plataformas » y «Ejecutar aplicaciones».

Véase también «Compilación de aplicaciones para la web», «Cómo: Desarrollar para WebAssembly» y «Activar y desactivar complementos».

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.