mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
Mke webkit and qt6 combination raise an explicit error instead
of silently dusabling webkit
This commit is contained in:
parent
4ceceea94a
commit
705f863f13
@ -501,7 +501,10 @@ if(WITH_CORE)
|
||||
else()
|
||||
add_definitions(-DQT_NO_PRINTER)
|
||||
endif()
|
||||
if (WITH_QTWEBKIT AND NOT BUILD_WITH_QT6)
|
||||
if (WITH_QTWEBKIT)
|
||||
if(BUILD_WITH_QT6)
|
||||
message(FATAL_ERROR "Qt WebKit support cannot be enabled on Qt 6 builds")
|
||||
endif()
|
||||
find_package(Qt5WebKit REQUIRED)
|
||||
find_package(Qt5WebKitWidgets REQUIRED)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user