float unrepresentable in integer range
-
Hi
I get the following "Uncaught RuntimeError" in Chrome browser while running "Application Example" (one of the standard qt sample projects):
application.wasm:1 Uncaught RuntimeError: float unrepresentable in integer range
at __ZN20QWasmEventTranslator12processMouseEiPK20EmscriptenMouseEvent (http://localhost:30005/application.wasm:wasm-function[870]:0x3bda48)
at __ZN20QWasmEventTranslator8mouse_cbEiPK20EmscriptenMouseEventPv (http://localhost:30005/application.wasm:wasm-function[859]:0x3ba36f)
at dynCall_iiii (http://localhost:30005/application.wasm:wasm-function[22872]:0x14ddc02)
at eval (eval at completeLoadEmscriptenModule (http://localhost:30005/qtloader.js:443:14), <anonymous>:1893:22)
at Object.mouseEventHandlerFunc [as handlerFunc] (eval at completeLoadEmscriptenModule (http://localhost:30005/qtloader.js:443:14), <anonymous>:11907:13)
at HTMLCanvasElement.jsEventHandler (eval at completeLoadEmscriptenModule (http://localhost:30005/qtloader.js:443:14), <anonymous>:7894:24)I have tried to add this in my project file: QMAKE_CXXFLAGS += -s "BINARYEN_TRAP_MODE='clamp'"
But it does not help me.
Any ideas how to solve this
-
What version of Qt and what version of Emscripten are you using?