Link against static Wasm platform plugin when building with Emscripten
This commit is contained in:
parent
82af8b06ea
commit
9f5261bac8
|
@ -159,6 +159,18 @@ if (STATIC_LINKAGE OR QT_TARGET_TYPE STREQUAL STATIC_LIBRARY)
|
||||||
CocoaIntegration
|
CocoaIntegration
|
||||||
ONLY_PLUGINS)
|
ONLY_PLUGINS)
|
||||||
endif ()
|
endif ()
|
||||||
|
if (EMSCRIPTEN AND TARGET "${QT_PACKAGE_PREFIX}::QWasmIntegrationPlugin")
|
||||||
|
use_qt_module(
|
||||||
|
LIBRARIES_VARIABLE
|
||||||
|
"${QT_PLUGINS_LIBRARIES_VARIABLE}"
|
||||||
|
PREFIX
|
||||||
|
"${QT_PACKAGE_PREFIX}"
|
||||||
|
MODULE
|
||||||
|
Gui
|
||||||
|
PLUGINS
|
||||||
|
WasmIntegration
|
||||||
|
ONLY_PLUGINS)
|
||||||
|
endif ()
|
||||||
if (UNIX AND TARGET "${QT_PACKAGE_PREFIX}::QOffscreenIntegrationPlugin")
|
if (UNIX AND TARGET "${QT_PACKAGE_PREFIX}::QOffscreenIntegrationPlugin")
|
||||||
use_qt_module(
|
use_qt_module(
|
||||||
LIBRARIES_VARIABLE
|
LIBRARIES_VARIABLE
|
||||||
|
|
Loading…
Reference in New Issue