mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 19:36:11 +00:00
Disable KSyntaxHighlighting on Qt6
This commit is contained in:
parent
da7fc439db
commit
44917603fa
@ -140,7 +140,7 @@ if(CUTTER_ENABLE_PYTHON)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CUTTER_ENABLE_KSYNTAXHIGHLIGHTING)
|
if(CUTTER_ENABLE_KSYNTAXHIGHLIGHTING AND (NOT CUTTER_QT6))
|
||||||
if(CUTTER_ENABLE_KSYNTAXHIGHLIGHTING STREQUAL AUTO)
|
if(CUTTER_ENABLE_KSYNTAXHIGHLIGHTING STREQUAL AUTO)
|
||||||
find_package(KF5SyntaxHighlighting)
|
find_package(KF5SyntaxHighlighting)
|
||||||
if(KF5SyntaxHighlighting_FOUND)
|
if(KF5SyntaxHighlighting_FOUND)
|
||||||
@ -153,6 +153,9 @@ if(CUTTER_ENABLE_KSYNTAXHIGHLIGHTING)
|
|||||||
set(KSYNTAXHIGHLIGHTING_STATUS ON)
|
set(KSYNTAXHIGHLIGHTING_STATUS ON)
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
|
if(CUTTER_ENABLE_KSYNTAXHIGHLIGHTING AND CUTTER_QT6)
|
||||||
|
message(WARNING "KSyntaxHighlighting has been disabled because not supported in QT6")
|
||||||
|
endif()
|
||||||
set(KSYNTAXHIGHLIGHTING_STATUS OFF)
|
set(KSYNTAXHIGHLIGHTING_STATUS OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user