File: fix-build-against-qt-6-10.patch

package info (click to toggle)
texmaker 6.0.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 72,964 kB
  • sloc: cpp: 417,556; ansic: 102,526; python: 1,935; xml: 1,739; sh: 42; makefile: 36
file content (16 lines) | stat: -rw-r--r-- 730 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)