aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6')
-rw-r--r--sources/pyside6/PySide6/QtWebView/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/pyside6/PySide6/QtWebView/CMakeLists.txt b/sources/pyside6/PySide6/QtWebView/CMakeLists.txt
index 158c720c9..a8ac8c2a2 100644
--- a/sources/pyside6/PySide6/QtWebView/CMakeLists.txt
+++ b/sources/pyside6/PySide6/QtWebView/CMakeLists.txt
@@ -25,7 +25,8 @@ set(QtWebView_libraries pyside6
set(QtWebView_deps QtGui)
# for Windows and Linux, QtWebView depends on QtWebEngine to render content
-if ((WIN32 OR UNIX) AND NOT APPLE)
+# On Android, QtWebView uses the native webview backend and does not require QtWebEngine.
+if ((WIN32 OR UNIX) AND NOT APPLE AND NOT ANDROID)
list(APPEND QtWebView_deps QtWebEngineCore QtWebEngineQuick)
endif()