Fix default platform plugin choice for WASM

The name (key in wasm.json) for the QPA plugin is "wasm", not
"webassembly".

Change-Id: I6a2568d05e4f19408fa95ac59a47acdcf90e11a2
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Simon Hausmann 2019-08-30 15:05:50 +02:00
parent 8da5305102
commit 2e3e42587b

View File

@ -29,7 +29,7 @@ if (QT_FEATURE_gui)
elseif(HAIKU)
set(_default_platform "haiku")
elseif(WASM)
set(_default_platform "webassembly")
set(_default_platform "wasm")
else()
set(_default_platform "xcb")
endif()