[qt] Build with WebAssembly (#256)

This commit is contained in:
Tadej Novak
2022-03-15 13:22:11 +01:00
committed by GitHub
parent 6db27f50ad
commit 59fa32e96a
3 changed files with 7 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
#include <mbgl/util/compression.hpp>
#if defined(__QT__) && defined(_WIN32)
#if defined(__QT__) && (defined(_WIN32) || defined(__EMSCRIPTEN__))
#include <QtZlib/zlib.h>
#else
#include <zlib.h>