mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-04 00:04:03 -04:00
Require qt6 for PDF4Qt building (upstream requirement)
This commit is contained in:
parent
cd4ea03a9c
commit
b9fe1c2f8a
@ -598,6 +598,9 @@ if(WITH_CORE)
|
||||
|
||||
set (WITH_PDF4QT FALSE CACHE BOOL "Determines whether the embedded PDF4Qt library should be build for PDF and HTML to QPainter conversion")
|
||||
if (WITH_PDF4QT)
|
||||
if(NOT BUILD_WITH_QT6)
|
||||
message(FATAL_ERROR "PDF4Qt requires a Qt 6 build")
|
||||
endif()
|
||||
set(HAVE_PDF4QT TRUE) # used in qgisconfig.h
|
||||
message(STATUS "PDF4Qt enabled")
|
||||
else()
|
||||
|
Loading…
x
Reference in New Issue
Block a user