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/zeal] epel9: Fix build against Qt 6.10
Date: Sun, 11 Oct 2026 06:12:17 GMT [thread overview]
Message-ID: <179169913776.1.7884055026588100701.rpms-zeal-6bb581109066@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/zeal
Branch : epel9
Commit : 6bb581109066705319cac9223fbd4989d825649a
Author : Jan Grulich <jgrulich@redhat.com>
Date : 2026-01-30T17:23:54+01:00
Stats : +40/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/zeal/c/6bb581109066705319cac9223fbd4989d825649a?branch=epel9
Log:
Fix build against Qt 6.10
(cherry picked from commit 299fd643af725206c7a84ae9d95bde27a28ebed6)
---
diff --git a/zeal-fix-build-against-qt-6-10.patch b/zeal-fix-build-against-qt-6-10.patch
new file mode 100644
index 0000000..3d815dd
--- /dev/null
+++ b/zeal-fix-build-against-qt-6-10.patch
@@ -0,0 +1,39 @@
+diff --git a/src/libs/ui/docsetsdialog.cpp b/src/libs/ui/docsetsdialog.cpp
+index 8c9fe63..bc35375 100644
+--- a/src/libs/ui/docsetsdialog.cpp
++++ b/src/libs/ui/docsetsdialog.cpp
+@@ -360,8 +360,8 @@ void DocsetsDialog::downloadCompleted()
+ QTemporaryFile *tmpFile = m_tmpFiles[docsetName];
+ if (!tmpFile) {
+ tmpFile = new QTemporaryFile(QStringLiteral("%1/%2.XXXXXX.tmp").arg(Core::Application::cacheLocation(), docsetName), this);
+- tmpFile->open();
+- m_tmpFiles.insert(docsetName, tmpFile);
++ if (tmpFile->open())
++ m_tmpFiles.insert(docsetName, tmpFile);
+ }
+
+ while (reply->bytesAvailable()) {
+@@ -403,8 +403,8 @@ void DocsetsDialog::downloadProgress(qint64 received, qint64 total)
+ QTemporaryFile *tmpFile = m_tmpFiles[docsetName];
+ if (!tmpFile) {
+ tmpFile = new QTemporaryFile(QStringLiteral("%1/%2.XXXXXX.tmp").arg(Core::Application::cacheLocation(), docsetName), this);
+- tmpFile->open();
+- m_tmpFiles.insert(docsetName, tmpFile);
++ if (tmpFile->open())
++ m_tmpFiles.insert(docsetName, tmpFile);
+ }
+
+ tmpFile->write(reply->read(received));
+diff --git a/src/libs/ui/qxtglobalshortcut/CMakeLists.txt b/src/libs/ui/qxtglobalshortcut/CMakeLists.txt
+index 476c2f5..e88ce73 100644
+--- a/src/libs/ui/qxtglobalshortcut/CMakeLists.txt
++++ b/src/libs/ui/qxtglobalshortcut/CMakeLists.txt
+@@ -29,7 +29,7 @@ endif()
+
+ add_library(QxtGlobalShortcut STATIC ${QxtGlobalShortcut_SOURCES})
+
+-find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Gui REQUIRED)
++find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Gui GuiPrivate REQUIRED)
+ target_link_libraries(QxtGlobalShortcut Qt${QT_VERSION_MAJOR}::Gui)
+
+ if(APPLE)
diff --git a/zeal.spec b/zeal.spec
index 515f2d7..0b3f2e9 100644
--- a/zeal.spec
+++ b/zeal.spec
@@ -10,6 +10,7 @@ License: GPL-3.0-or-later
URL: https://zealdocs.org/
Source: https://github.com/zealdocs/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Patch0: 0001-apply-websettings.patch
+Patch1: zeal-fix-build-against-qt-6-10.patch
ExclusiveArch: %{qt6_qtwebengine_arches}
reply other threads:[~2026-10-11 6:12 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=179169913776.1.7884055026588100701.rpms-zeal-6bb581109066@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