Files
HyprlandRPM/hyprqt6engine/fix-build.diff
Eriq Taing 3ce872affb
Some checks failed
Build hyprqt6engine / Build and push image (push) Failing after 2m25s
Return to how patch was on hyprlandRPM repo from solopasha
2025-12-03 15:31:37 -05:00

15 lines
453 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 94ecfef..19e9380 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,6 +14,10 @@ find_package(KF6Config)
find_package(KF6ColorScheme)
find_package(KF6IconThemes)
+if (Qt6Gui_VERSION VERSION_GREATER_EQUAL "6.9.0")
+ find_package(Qt6GuiPrivate ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE)
+endif()
+
get_target_property(QT_QTPATHS_EXECUTABLE Qt6::qtpaths IMPORTED_LOCATION)
if(NOT PLUGINDIR)