Qt for WebAssembly测试记录
Ubuntu 16, 阿里云
Emscripten
# Get the emsdk repo git clone https://github.com/emscripten-core/emsdk.git # Enter that directory cd emsdk # Fetch the latest version of the emsdk (not needed the first time you clone) git pull # install ./emsdk install sdk-fastcomp-1.38.27-64bit ./emsdk activate --embedded sdk-fastcomp-1.38.27-64bit # Activate PATH and other environment variables in the current terminal source ./emsdk_env.sh
Qt
# Download Qt source 5.14.2 wget http://download.qt.io/archive/qt/5.14/5.14.2/single/qt-everywhere-src-5.14.2.tar.xz # Unpack the archive xz -d qt-everywhere-src-5.14.2.tar.xz tar -xvf qt-everywhere-src-5.14.2.tar # Configure Qt as a cross-compile build for the "wasm-emscripten" platform ./configure -xplatform wasm-emscripten -nomake examples -prefix $PWD/qtbase # make make
Test
相关推荐
88274956 2020-11-03
80337710 2020-06-05
80337710 2020-05-27
89357412 2020-05-05
MrHaoNan 2019-12-26
kingyobin 2019-12-24
89357412 2019-12-23
81204758 2019-12-19
haohong 2019-12-19
88307760 2019-12-14
80377318 2019-12-10
nercon 2019-12-09
80337710 2019-12-08
81357216 2019-12-07
Jiutocrx 2019-11-20
85334750 2019-11-06
82307616 2017-08-31
zgwyfz 2019-06-15
小秋 2019-07-21