aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-11-08 08:24:15 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2024-11-08 09:35:50 +0100
commit1a3d1e8222c97aa6c216c7109742333a143c5854 (patch)
tree3327128ca156e3e5fa3bc67a4419301545521d43 /sources/pyside6
parent91ead1e9269426209daaefa61837ef555b1738ed (diff)
Fix building of QtWebView
Add missing find_package() statement and simplify condition. Amends 83603fed574fc7b0eed452b347170862b12a98f6. Task-number: PYSIDE-2910 Pick-to: 6.8 6.5 Change-Id: I9d899f141495c486002f01bf7e5db036244d009a Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6')
-rw-r--r--sources/pyside6/cmake/PySideHelpers.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/cmake/PySideHelpers.cmake b/sources/pyside6/cmake/PySideHelpers.cmake
index b4fffc66b..f8b565a58 100644
--- a/sources/pyside6/cmake/PySideHelpers.cmake
+++ b/sources/pyside6/cmake/PySideHelpers.cmake
@@ -131,9 +131,9 @@ macro(collect_optional_modules)
endif()
list(APPEND ALL_OPTIONAL_MODULES WebChannel WebEngineCore WebEngineWidgets
WebEngineQuick WebSockets HttpServer)
+ find_package(Qt${QT_MAJOR_VERSION}WebEngineQuick)
# for Windows and Linux, QtWebView depends on QtWebEngine to render content
- if ((WIN32 OR UNIX) AND NOT APPLE AND Qt${QT_MAJOR_VERSION}WebEngineCore_FOUND AND
- Qt${QT_MAJOR_VERSION}WebEngineQuick_FOUND)
+ if ((WIN32 OR UNIX) AND NOT APPLE AND Qt${QT_MAJOR_VERSION}WebEngineQuick_FOUND)
list(APPEND ALL_OPTIONAL_MODULES WebView)
endif()
list(APPEND ALL_OPTIONAL_MODULES 3DCore 3DRender 3DInput 3DLogic 3DAnimation 3DExtras)