From 44b513f192ccd0fc25e8ba7bddad5d8323210a18 Mon Sep 17 00:00:00 2001 From: Lorn Potter Date: Tue, 21 Jan 2025 14:15:23 +1000 Subject: [PATCH] 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 Reviewed-by: Alexandru Croitor --- configure.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.cmake b/configure.cmake index 6ae0ebe104a..12990f81a3f 100644 --- a/configure.cmake +++ b/configure.cmake @@ -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." )