summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wasm/qwasmtheme.cpp
diff options
context:
space:
mode:
authorMorten Sørvig <[email protected]>2022-08-19 14:25:49 +0200
committerLorn Potter <[email protected]>2022-08-30 22:11:01 +1000
commitbe44827240efbd2f89ad493e209061906a53028c (patch)
tree7af225786062f45aba9a2afd476bec5c94c72a24 /src/plugins/platforms/wasm/qwasmtheme.cpp
parent20242a254987414566ec852a7e05c19041b90024 (diff)
wasm: add support for building Qt as shared libraries
This implements the build system bits required to build Qt as as separate wasm modules a.k.a Emscripten side modules. Enable by configuring with the "-shared" flag. This is the first step towards shared library support and gets us as far as being able to load QtCore and instantiate a QCoreApplication. Task-number: QTBUG-63925 Change-Id: Ib8f07f80fb5b13c8dbba65c7db735dc557b70d0e Reviewed-by: Morten Johan Sørvig <[email protected]>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmtheme.cpp')
-rw-r--r--src/plugins/platforms/wasm/qwasmtheme.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/wasm/qwasmtheme.cpp b/src/plugins/platforms/wasm/qwasmtheme.cpp
index 51399159c42..b188dcb4b6b 100644
--- a/src/plugins/platforms/wasm/qwasmtheme.cpp
+++ b/src/plugins/platforms/wasm/qwasmtheme.cpp
@@ -4,6 +4,7 @@
#include "qwasmtheme.h"
#include <QtCore/qvariant.h>
#include <QFontDatabase>
+#include <QList>
QT_BEGIN_NAMESPACE