diff options
author | Antti Määttä <antti.maatta@qt.io> | 2023-01-31 08:18:17 +0200 |
---|---|---|
committer | Antti Määttä <antti.maatta@qt.io> | 2023-02-10 12:39:48 +0200 |
commit | e3fdd9715fa220d909689def10e9b72c14083e09 (patch) | |
tree | 8dc9726c1d307465a5e0d5371093a04d692664d8 /src/widgets/kernel | |
parent | 63b164aa2f9ae2b9c15133f290013006d4ffc4f8 (diff) |
Trace: Use includes instead of forward declarations
Some platforms do not work with forward declarations, mainly android.
Pick-to: 6.5
Change-Id: Ie34a30ecb8554d77c1bea4b65a752d63ba819af9
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/widgets/kernel')
-rw-r--r-- | src/widgets/kernel/qapplication.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/kernel/qapplication.cpp b/src/widgets/kernel/qapplication.cpp index 0317884b24..d5af9ac278 100644 --- a/src/widgets/kernel/qapplication.cpp +++ b/src/widgets/kernel/qapplication.cpp @@ -100,6 +100,9 @@ QT_BEGIN_NAMESPACE using namespace Qt::StringLiterals; +Q_TRACE_PREFIX(qtwidgets, + "#include <qcoreevent.h>" +); Q_TRACE_METADATA(qtwidgets, "ENUM { AUTO, RANGE User ... MaxUser } QEvent::Type;"); Q_TRACE_POINT(qtwidgets, QApplication_notify_entry, QObject *receiver, QEvent *event, QEvent::Type type); Q_TRACE_POINT(qtwidgets, QApplication_notify_exit, bool consumed, bool filtered); |