public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qt6ct] epel9: Fix build against Qt 6.10
@ 2026-10-08 20:06 Jan Grulich
0 siblings, 0 replies; only message in thread
From: Jan Grulich @ 2026-10-08 20:06 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/qt6ct
Branch : epel9
Commit : 477a90ec2b125ee3ded1830a6b9af3f04959b054
Author : Jan Grulich <jgrulich@redhat.com>
Date : 2025-10-01T10:23:53+02:00
Stats : +15/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/qt6ct/c/477a90ec2b125ee3ded1830a6b9af3f04959b054?branch=epel9
Log:
Fix build against Qt 6.10
---
diff --git a/qt6ct-fix-build-against-qt-6-10.patch b/qt6ct-fix-build-against-qt-6-10.patch
new file mode 100644
index 0000000..7b3774f
--- /dev/null
+++ b/qt6ct-fix-build-against-qt-6-10.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5601065..bd9397e 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -36,7 +36,7 @@ add_compile_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060200 -DUSE_WIDGETS -D
+ add_compile_options(-Wall -Wextra)
+ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src)
+
+-find_package(Qt6 6.2 CONFIG REQUIRED COMPONENTS BuildInternals Core Widgets LinguistTools)
++find_package(Qt6 6.2 CONFIG REQUIRED COMPONENTS BuildInternals Core GuiPrivate Widgets WidgetsPrivate LinguistTools)
+ find_package(KF6 COMPONENTS Config ColorScheme IconThemes)
+
+ include(ECMQueryQt)
diff --git a/qt6ct.spec b/qt6ct.spec
index 885643f..38eb011 100644
--- a/qt6ct.spec
+++ b/qt6ct.spec
@@ -19,6 +19,8 @@ Patch1: 0001-build-refactor-CMake-build-rules.patch
Patch2: 0002-Wrap-forward-declaration-within-QT_NAMESPACE.patch
Patch3: 0003-Revert-Use-KDE-s-QtQuick-QtWidgets-style-bridge.patch
+Patch4: qt6ct-fix-build-against-qt-6-10.patch
+
BuildRequires: cmake
BuildRequires: extra-cmake-modules
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-08 20:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08 20:06 [rpms/qt6ct] epel9: Fix build against Qt 6.10 Jan Grulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox