From e0db6b1dafc57fb860139c6e78bab603a129acd9 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Fri, 2 Aug 2024 13:36:05 +0800 Subject: [PATCH] Add Qt 7 TODO for printing Qt Core QEvent subclasses with operator<< We can't move the operator<< in src/gui/kernel/qevent.h to Core in Qt 6, so add a TODO as a reminder to do it in Qt 7. Task-number: QTBUG-127680 Change-Id: Ib469b7b95a54e885dbceea0363287904535485ff Reviewed-by: Volker Hilsheimer --- src/gui/kernel/qevent.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h index a24f0c471ce..d257e50b5c5 100644 --- a/src/gui/kernel/qevent.h +++ b/src/gui/kernel/qevent.h @@ -910,6 +910,7 @@ private: }; #ifndef QT_NO_DEBUG_STREAM +// ### Qt 7: move this to Qt Core and add a hook to allow GUI events to be printed: QTBUG-127680 Q_GUI_EXPORT QDebug operator<<(QDebug, const QEvent *); #endif