gentoo/app-office/texmaker/files/texmaker-6.0.1-qt-6.10.patch
Andreas Sturmlechner 86da922622
app-office/texmaker: Fix build with Qt 6.10
Closes: https://bugs.gentoo.org/966707
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-11-27 19:15:44 +01:00

14 lines
401 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -387,7 +387,9 @@
set(CMAKE_AUTORCC ON)
find_package(Qt6 REQUIRED COMPONENTS Gui Concurrent Core Core5Compat Network PrintSupport Qml Widgets Xml LinguistTools)
-
+if(Qt6Core_VERSION VERSION_GREATER_EQUAL "6.9.0")
+ find_package(Qt6 ${REQUIRED_QT_VERSION} CONFIG REQUIRED CorePrivate)
+endif()
qt_standard_project_setup()
if (UNIX AND NOT APPLE)