Update qtrace_p.h comments

-Update supported types
-Add how to autogenerate metadata.

Pick-to: 6.5
Change-Id: I1a88ff137760f7d348b841275cc00a2c63771927
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
This commit is contained in:
Antti Määttä 2023-02-14 08:57:36 +02:00
parent 39589b057f
commit e4562157a1

View File

@ -75,6 +75,9 @@
* - QByteArray
* - QUrl
* - QRect
* - QRectF
* - QSize
* - QSizeF
*
* Dynamic arrays are supported using the syntax illustrated by
* qcoreapplication_baz above.
@ -218,6 +221,11 @@ QT_BEGIN_NAMESPACE
* ...
* "} QImage::Format;" \
* );
*
* If the content of enum is empty or contains keyword AUTO, then the tracepointgen tool
* tries to find the enumeration from header files.
*
* Q_TRACE_METADATA(qtcore, "ENUM { AUTO, RANGE User ... MaxUser } QEvent::Type;");
*/
#define Q_TRACE_INSTRUMENT(provider)
#define Q_TRACE_PARAM_REPLACE(in, out)