--- CMakeLists.txt.orig	2026-05-18 14:11:32 UTC
+++ CMakeLists.txt
@@ -51,6 +51,7 @@ if (BUILD_WITH_QT6)
 
 if (BUILD_WITH_QT6)
 	set(QT_MAJOR_VERSION 6)
+	list(APPEND QT_COMPONENTS GuiPrivate)
 else()
 	set(QT_MAJOR_VERSION 5)
 endif()
