Qt for WebAssembly

A platform target for compiling Qt applications for web browsers using WebAssembly

WebAssembly is a binary format that allows sandboxed executable code in web pages. This format is nearly as fast as native machine code and is now supported by all major web browsers.

Qt for WebAssembly is an application that allows you to build Qt applications that can be integrated into your web pages. It does not require any client installation and reduces server-side resource usage.

Deploy python2.7 and configure environment variables;

Deploy git, generate keypair, set pubkey;

Deploy emscript 1.39.8: git downloads the corresponding version, activates, bat configures environment variables;

Tested the sample and found that it could not run; doubts: 1. The version of python2.7 is low; 2. There is a compatibility problem between qt and emscript (the version does not match);

Reinstall Qt6.5, and update emscript to the latest version, (after solving the compatibility problem, shield the code and macro) most of the samples can run;

Debugging target: Qt 5.15.2+emscript 1.39.8 environment, develop qt output samples;

Step 1: Compile the qa5.15.2 source code

Qt source code download:

Download Source Package Offline Installers | Qt

Part Two:

Guess you like

Origin blog.csdn.net/u012151242/article/details/130634912