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/krita] rawhide: Fix build against Qt 6.12
Date: Sat, 24 Oct 2026 20:14:41 GMT [thread overview]
Message-ID: <179287288187.1.17359227811142809660.rpms-krita-b7cc9728a966@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/krita
Branch : rawhide
Commit : b7cc9728a9666327d78eb393b420cf21d25ddcc8
Author : Jan Grulich <jgrulich@redhat.com>
Date : 2026-10-24T22:14:26+02:00
Stats : +34/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/krita/c/b7cc9728a9666327d78eb393b420cf21d25ddcc8?branch=rawhide
Log:
Fix build against Qt 6.12
---
diff --git a/krita-fix-invalid-widget-class-name.patch b/krita-fix-invalid-widget-class-name.patch
new file mode 100644
index 0000000..5ea2079
--- /dev/null
+++ b/krita-fix-invalid-widget-class-name.patch
@@ -0,0 +1,30 @@
+From 3f5b2882017f4e12c9b021de0ea24e6dd2eb26dd Mon Sep 17 00:00:00 2001
+From: Jonas Rakebrandt <xarblu@protonmail.com>
+Date: Fri, 2 Oct 2026 14:40:22 +0200
+Subject: [PATCH] Fix invalid widget class name
+
+Caused a build failure during the Qt 6.11 -> 6.12 rebuild:
+
+ [1707/3599] Generating ui_AssistantsToolOptions.h
+ /var/tmp/portage/media-gfx/krita-6.0.4/work/krita-6.0.4/plugins/assistants/Assistants/AssistantsToolOptions.ui: Warning: The name 'verticalLayout' (QVBoxLayout) is already in use, defaulting to 'verticalLayout1'.
+ /var/tmp/portage/media-gfx/krita-6.0.4/work/krita-6.0.4/plugins/assistants/Assistants/AssistantsToolOptions.ui: Invalid class name: " QWidget"
+ File '/var/tmp/portage/media-gfx/krita-6.0.4/work/krita-6.0.4/plugins/assistants/Assistants/AssistantsToolOptions.ui' is not valid
+
+Signed-off-by: Jonas Rakebrandt <xarblu@protonmail.com>
+---
+ plugins/assistants/Assistants/AssistantsToolOptions.ui | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/plugins/assistants/Assistants/AssistantsToolOptions.ui b/plugins/assistants/Assistants/AssistantsToolOptions.ui
+index 5d048fef40e..848f4a11c41 100644
+--- a/plugins/assistants/Assistants/AssistantsToolOptions.ui
++++ b/plugins/assistants/Assistants/AssistantsToolOptions.ui
+@@ -284,7 +284,7 @@
+ </layout>
+ </item>
+ <item>
+- <widget class=" QWidget" name="showDockerOptionsPanel">
++ <widget class="QWidget" name="showDockerOptionsPanel">
+ <property name="visible">
+ <bool>false</bool>
+ </property>
diff --git a/krita.spec b/krita.spec
index 294f49d..adadce5 100644
--- a/krita.spec
+++ b/krita.spec
@@ -21,11 +21,15 @@ Source4: https://github.com/vanyossi/gmic/releases/download/v%{gmic_versi
## upstream patches
Patch0: krita-gmic-CVE-2026-42144.patch
+Patch1: krita-fix-invalid-widget-class-name.patch
## downstream patches
#org.kde.krita.appdata.xml: failed to parse org.kde.krita.appdata.xml: Error on line 505 char 110: <caption> already set 'Atau' and tried to replace with ' yang aktif'
#org.kde.krita.appdata.xml: failed to parse org.kde.krita.appdata.xml: Error on line 514 char 120: <caption> already set 'xxOr the active' and tried to replace with 'xx'
Patch: krita-6.0.2.1-appstream_validate.patch
+
+# upstream patches
+# https://github.com/KDE/krita/commit/3f5b2882017f4e12c9b021de0ea24e6dd2eb26dd
Patch: krita-sip-abi-version.patch
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
reply other threads:[~2026-10-24 20:14 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=179287288187.1.17359227811142809660.rpms-krita-b7cc9728a966@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