[Development] wasm and static vs. shared libs

Martin Koller kollix at aon.at
Tue Oct 1 08:38:42 CEST 2019


I see that compiling Qt for wasm produces .a static libs.
This however leads to a couple of duplicate symbols when linking my existing large application.

I read
"Where possible it is better to generate shared library files (.so) rather than archives (.a) — this is generally a simple change in your project’s build system. Shared libraries are simpler, and are more predictable with respect to linking."

so my question is: why does qt/wasm not allow to be built as -shared ?

Best regards/Schöne Grüße

A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?

()  ascii ribbon campaign - against html e-mail 
/\                        - against proprietary attachments

Geschenkideen, Accessoires, Seifen, Kulinarisches: www.lillehus.at

More information about the Development mailing list