From 1e11d53565ab6df3ba8329072e7b4b12f9f88d72 Mon Sep 17 00:00:00 2001
From: Mladen Milinkovic <maxrd2@smoothware.net>
Date: Mon, 13 Oct 2025 09:23:58 +0200
Subject: [PATCH] Fix building with Qt 6.10

Fixes #111
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 69615111..397cadce 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
 project(subtitlecomposer VERSION "0.8.2")
 
 if(QT_MAJOR_VERSION EQUAL 6)
-	set(QT_EXTRA_COMPONENTS OpenGLWidgets Core5Compat)
+	set(QT_EXTRA_COMPONENTS OpenGLWidgets Core5Compat WidgetsPrivate)
 	set(QT_MIN_VERSION "6.0.0")
 	set(KF_MAJOR_VERSION "6")
 	set(KF_MIN_VERSION "5.240.0")
-- 
GitLab

