diff --git a/src/gui/configure.json b/src/gui/configure.json index 4de159d97ae..5ebcdb99b5c 100644 --- a/src/gui/configure.json +++ b/src/gui/configure.json @@ -1292,7 +1292,7 @@ "label": "VNC", "section": "Platform plugins", "condition": [ - "config.unix && !config.android && !config.darwin", + "config.unix && !config.android && !config.darwin && !config.wasm", "features.regularexpression && features.network" ], "output": [ "privateFeature" ] diff --git a/src/plugins/platforms/platforms.pro b/src/plugins/platforms/platforms.pro index c4f2b309651..23f838a7fe7 100644 --- a/src/plugins/platforms/platforms.pro +++ b/src/plugins/platforms/platforms.pro @@ -3,9 +3,9 @@ QT_FOR_CONFIG += gui-private android:!android-embedded: SUBDIRS += android -!android: SUBDIRS += minimal +!wasm:!android: SUBDIRS += minimal -!android:qtConfig(freetype): SUBDIRS += offscreen +!wasm:!android:qtConfig(freetype): SUBDIRS += offscreen qtConfig(xcb) { SUBDIRS += xcb