diff options
author | Lorn Potter <lorn.potter@gmail.com> | 2019-10-08 11:18:46 +1000 |
---|---|---|
committer | Lorn Potter <lorn.potter@gmail.com> | 2020-02-16 22:21:59 +0000 |
commit | 2865a58a2ae39d795f1ec18cacb2af8053599256 (patch) | |
tree | 77295ee6f78e5b093df22d64fb0c62cae1058559 /src | |
parent | 1c0b69eac521fec074390c023be8b5a23e88dd50 (diff) |
wasm: fix crash when qtvkb tries to load a plugin
We do not have dlopen, harfbuzz seems to try and load the thai
plugin using dlopen when just iterating through the language
selector in virtualkeyboard..
Fixes: QTBUG-78825
Change-Id: Iee064a1d9a628784e3ce46d641cd157a69bcb696
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/text/qharfbuzz.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/text/qharfbuzz.cpp b/src/corelib/text/qharfbuzz.cpp index a3e266ccd2..f54ce26206 100644 --- a/src/corelib/text/qharfbuzz.cpp +++ b/src/corelib/text/qharfbuzz.cpp @@ -72,7 +72,7 @@ HB_UChar16 HB_GetMirroredChar(HB_UChar16 ch) void (*HB_Library_Resolve(const char *library, int version, const char *symbol))() { -#if !QT_CONFIG(library) +#if !QT_CONFIG(library) || defined(Q_OS_WASM) Q_UNUSED(library); Q_UNUSED(version); Q_UNUSED(symbol); |