qtversionchecks.h: hide Q_OBJECT macro in C-style comment from automoc
Due to https://gitlab.kitware.com/cmake/cmake/-/issues/25770, the presence of the Q_OBJECT macro here triggers automoc rule generation, followed by moc's "No relevant classes found. No output generated." warning. Comment the macro out until the issue is fixed, leaving a comment to avoid a helpful soul commenting the macro back in again. Amends 32a1151245034e4d5d3162df21518e38b6f81fcd. Task-number: QTBUG-123229 Change-Id: I5387128f8fcd2793f0d4b9ff73a551999fea84b0 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Ahmad Samir <a.samirh78@gmail.com> (cherry picked from commit c07a47cbf0972578f066f0085eb857dba210aae1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
b17025e889
commit
9932a2f647
@ -95,7 +95,7 @@
|
||||
To mark parts of a class:
|
||||
class QClass : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
// Q_OBJECT omitted d/t QTBUG-123229
|
||||
|
||||
QT_TECH_PREVIEW_API
|
||||
Q_PROPERTY(int countNG ...) // this is TP
|
||||
|
Loading…
x
Reference in New Issue
Block a user