wasm: Fix compilation failures when not using precompiled headers

Various headers files were missing includes. Compilation only worked
because precompiled headers were used.

Pick-to: 6.5 6.6
Change-Id: Ic1b434da53f89d4b4207a22bf171bd966db856ac
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
This commit is contained in:
Alexandru Croitor 2023-11-21 19:36:28 +01:00
parent 1a4659b081
commit 1126a590f9
4 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,9 @@
#ifndef QWASMACCESIBILITY_H #ifndef QWASMACCESIBILITY_H
#define QWASMACCESIBILITY_H #define QWASMACCESIBILITY_H
#include <QtCore/qtconfigmacros.h>
#include <QtGui/qtguiglobal.h>
#if QT_CONFIG(accessibility) #if QT_CONFIG(accessibility)
#include <QtCore/qhash.h> #include <QtCore/qhash.h>

View File

@ -4,6 +4,7 @@
#ifndef QWASMBASE64IMAGESTORE_H #ifndef QWASMBASE64IMAGESTORE_H
#define QWASMBASE64IMAGESTORE_H #define QWASMBASE64IMAGESTORE_H
#include <string>
#include <string_view> #include <string_view>
#include <QtCore/qtconfigmacros.h> #include <QtCore/qtconfigmacros.h>

View File

@ -5,6 +5,7 @@
#define QWASMDOM_H #define QWASMDOM_H
#include <QtCore/qtconfigmacros.h> #include <QtCore/qtconfigmacros.h>
#include <QtCore/QPointF>
#include <emscripten/val.h> #include <emscripten/val.h>

View File

@ -6,6 +6,7 @@
#include <QtCore/qnamespace.h> #include <QtCore/qnamespace.h>
#include <qpa/qwindowsysteminterface.h> #include <qpa/qwindowsysteminterface.h>
#include <QtCore/QMap>
#include <emscripten/val.h> #include <emscripten/val.h>