From: Julián Moreno Patiño <julian@debian.org>
Date: Sun, 26 Oct 2025 21:15:42 -0500
Subject: Fix FTBFS with QT6

Origin: Fedora, https://src.fedoraproject.org/rpms/texmaker/raw/rawhide/f/texmaker-fix-build-against-qt-6-10.patch
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -386,7 +386,7 @@
 set(CMAKE_CXX_STANDARD_REQUIRED ON)
 set(CMAKE_AUTORCC ON)
 
-find_package(Qt6 REQUIRED COMPONENTS Gui Concurrent Core Core5Compat Network PrintSupport Qml Widgets Xml LinguistTools)
+find_package(Qt6 REQUIRED COMPONENTS Gui Concurrent Core CorePrivate Core5Compat Network PrintSupport Qml Widgets Xml LinguistTools)
 include(FindPkgConfig)
 pkg_check_modules(HUNSPELL hunspell REQUIRED)
 pkg_check_modules(FREETYPE freetype2 REQUIRED)
