Commit a77f92d3 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add Qt6::SvgWidgets (it's a separate module now)

parent 979c0a74
......@@ -64,6 +64,9 @@ if (NOT DEFINED QT_MAJOR_VERSION)
endif()
find_package(Qt${QT_MAJOR_VERSION} REQUIRED COMPONENTS Core Widgets Svg Quick QuickControls2 Concurrent QuickWidgets Multimedia NetworkAuth)
if (QT_MAJOR_VERSION STREQUAL "6")
find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS SvgWidgets)
endif()
if(NOT NODBUS)
find_package(KF5 REQUIRED COMPONENTS DBusAddons)
find_package(Qt${QT_MAJOR_VERSION} REQUIRED COMPONENTS DBus)
......
......@@ -178,6 +178,9 @@ else()
Qt${QT_MAJOR_VERSION}::Multimedia
Qt${QT_MAJOR_VERSION}::NetworkAuth)
endif()
if (QT_MAJOR_VERSION STREQUAL "6")
target_link_libraries(kdenliveLib Qt${QT_MAJOR_VERSION}::SvgWidgets)
endif()
if(NOT NODBUS)
target_link_libraries(kdenliveLib KF5::DBusAddons)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment