public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Grulich <jgrulich@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/qt6ct] epel9: Fix build against Qt 6.10
Date: Thu, 08 Oct 2026 20:06:01 GMT	[thread overview]
Message-ID: <179148996178.1.11429431128395311470.rpms-qt6ct-477a90ec2b12@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-10-08 20:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179148996178.1.11429431128395311470.rpms-qt6ct-477a90ec2b12@fedoraproject.org \
    --to=jgrulich@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox