From 43b3c59fb56581a692dcf44fdd551df31a66905e Mon Sep 17 00:00:00 2001
From: vuatech <vuatech@proton.me>
Date: Fri, 12 Sep 2025 11:18:47 -0400
Subject: [PATCH] Added find_package to resolve GuiPrivate not being found

---
 hyprqtplugin/CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hyprqtplugin/CMakeLists.txt b/hyprqtplugin/CMakeLists.txt
index bbdb33a..c427670 100644
--- a/hyprqtplugin/CMakeLists.txt
+++ b/hyprqtplugin/CMakeLists.txt
@@ -1,5 +1,7 @@
 project(hyprqtplugin)
 
+find_package(Qt6 REQUIRED COMPONENTS Gui GuiPrivate)
+
 set(app_SRCS
   main.cpp
   PlatformTheme.cpp
