glaxnimate/glaxnimate-0.5.1-qt6.patch

14 lines
513 B
Diff

--- glaxnimate-0.5.1/CMakeLists.txt.orig 2022-09-12 12:28:42.619124097 +0200
+++ glaxnimate-0.5.1/CMakeLists.txt 2022-09-12 12:28:49.835089027 +0200
@@ -89,8 +89,8 @@
# Qt
#find_package(Qt5Qml QUIET)
-set(QT_VERSION_MAJOR 5)
-find_package(QT NAMES Qt5 Qt6 COMPONENTS Core QUIET)
+set(QT_VERSION_MAJOR 6)
+find_package(QT NAMES Qt6 COMPONENTS Core QUIET)
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Widgets Xml UiTools Concurrent Network Svg REQUIRED)
message(STATUS "Using Qt ${QT_VERSION_MAJOR}")