qt5base-lts/mkspecs/wasm-emscripten-64/qmake.conf
Lorn Potter 924eec1daa wasm: add support for wasm64 build
This adds a new platform named wasm-emscripten-64
which sets the build and link argument -MEMORY64

 You may see this warning, please ignore at your own discretion:

 em++: warning: -sMEMORY64 is still experimental. Many features may not work.
 [-Wexperimental]

Fixes: QTBUG-104891
Change-Id: I8d3150d239ba72dbef5c2352e0171d6cfbe51b59
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
2022-12-07 08:30:46 +10:00

8 lines
179 B
Plaintext

# qmake configuration for building with emscripten
include(../common/wasm/wasm.conf)
QMAKE_CFLAGS += -s MEMORY64=1
QMAKE_CXXFLAGS += -s MEMORY64=1
QMAKE_LFLAGS += -s MEMORY64=1