slackbuilds/games/puNES/qt-6.7.1.patch

24 lines
703 B
Diff

From 6e51b1a6107ad3de97edd40ae4ec2d41b32d804f Mon Sep 17 00:00:00 2001
From: Cosima Neidahl <opna2608@protonmail.com>
Date: Fri, 31 May 2024 14:48:50 +0200
Subject: [PATCH] Fix compatibility with Qt 6.7.1 (#403)
Upstream QTBUG-105023 fix made it mandatory that arguments to QObject::findChild[ren] calls must be Q_OBJECTs.
---
src/gui/dlgStdPad.hpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gui/dlgStdPad.hpp b/src/gui/dlgStdPad.hpp
index 0b064634d..ef4c07876 100644
--- a/src/gui/dlgStdPad.hpp
+++ b/src/gui/dlgStdPad.hpp
@@ -47,6 +47,8 @@ typedef struct _joy_list {
extern _joy_list joy_list;
class pixmapButton: public QPushButton {
+ Q_OBJECT
+
private:
QPixmap pixmap;