I can build and run simple c++ applications using emcc on the linux
(bash) command line. I can run those in a browser. I do have to
either set DISABLE_EXCEPTION_CATCHING=0 on the command line or in the
settings.js. Simple enough.
But, my builds from within Qt Creator fail with undefined symbols like:
__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv
I
notice that the Qt Creator initiated builds have
DISABLE_EXCEPTION_CHECKING=1, even if I have it set to 0 in the
settings.js. I suspect this to be the cause of the undefined symbols. Does
anyone know how to change the options Qt is specifying for emcc? I have
tried setting them in the CMakeLists.txt, but that still doesn't change
what ends up being used.