summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wasm/qwasmdom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmdom.cpp')
-rw-r--r--src/plugins/platforms/wasm/qwasmdom.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/platforms/wasm/qwasmdom.cpp b/src/plugins/platforms/wasm/qwasmdom.cpp
index 1573b5bf9c0..f9705f1a1c1 100644
--- a/src/plugins/platforms/wasm/qwasmdom.cpp
+++ b/src/plugins/platforms/wasm/qwasmdom.cpp
@@ -3,14 +3,18 @@
#include "qwasmdom.h"
+#include <QMimeData>
#include <QtCore/qpoint.h>
#include <QtCore/qrect.h>
+#include <QtGui/qimage.h>
+#include <private/qstdweb_p.h>
#include <utility>
QT_BEGIN_NAMESPACE
namespace dom {
+
void syncCSSClassWith(emscripten::val element, std::string cssClassName, bool flag)
{
if (flag) {
@@ -31,6 +35,7 @@ QPoint mapPoint(emscripten::val source, emscripten::val target, const QPoint &po
auto offset = sourceBoundingRect.topLeft() - targetBoundingRect.topLeft();
return (point + offset).toPoint();
}
+
} // namespace dom
QT_END_NAMESPACE