wasm: export qstdweb::readDataTransfer()

Fix shared libraries build.

Change-Id: I7bf1c7d333b7d039905ee77cf954ba46549993d3
Reviewed-by: Mikołaj Boc <Mikolaj.Boc@qt.io>
bb10
Morten Sørvig 2023-03-10 09:22:53 +01:00 committed by Mikołaj Boc
parent 82b75570f0
commit 24ebb172c3
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ namespace qstdweb {
{
};
std::shared_ptr<CancellationFlag>
Q_CORE_EXPORT std::shared_ptr<CancellationFlag>
readDataTransfer(emscripten::val webObject, std::function<QVariant(QByteArray)> imageReader,
std::function<void(std::unique_ptr<QMimeData>)> onDone);
}