Valentin Batz 078e967ab2
qt library: Make Q_PROPERTY a variadic macro to avoid preprocessorErrorDirective (#5370)
Treat Q_PROPERTY as variadic macro to avoid preprocessorErrorDirective
with associative container templates itroducing a "," like for example
`QHash<QString, int>`. Using templates is totally fine in the context of
a moc compiler.

The macro Q_PROPERTY is defined as variadic in
qobjectdefs.h/qtmetaobject.h when not compiling using the moc compiler.

See following references:
* For Qt 5.15
https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/kernel/qobjectdefs.h?h=5.15#n104
* For Qt 6.6
https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/kernel/qtmetamacros.h?h=6.6#n5
2023-08-26 00:36:47 +02:00
..
2021-02-13 20:28:37 +01:00
2023-06-09 16:53:23 +02:00
2021-01-08 22:48:28 +01:00
2019-04-19 15:43:17 +02:00
2017-11-05 17:56:24 +01:00
2019-06-16 13:34:00 +02:00
2020-12-28 09:29:15 +01:00
2021-06-30 07:49:45 +02:00
2023-06-27 13:34:58 +02:00