wasm: remove unsupported libraries from wasm build

We do not support printing and sql, so best not to build and
shipping them.

Change-Id: Ibc929b127fd8416aa3d3b784a6ed0c2ce86db80d
Reviewed-by: Even Oscar Andersen <even.oscar.andersen@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Lorn Potter 2025-01-21 14:15:23 +10:00
parent b5ed7fb203
commit 44b513f192

View File

@ -1095,12 +1095,13 @@ qt_feature("network" PRIVATE
)
qt_feature("printsupport" PRIVATE
LABEL "Qt PrintSupport"
CONDITION QT_FEATURE_widgets
CONDITION QT_FEATURE_widgets AND NOT WASM
SECTION "Module"
PURPOSE "Provides the Qt PrintSupport module."
)
qt_feature("sql" PRIVATE
LABEL "Qt Sql"
CONDITION NOT WASM
SECTION "Module"
PURPOSE "Provides the Sql module."
)