Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
None
-
None
-
39f2dc87dbec95934cb4596c46f8b17994048de2
Description
Current Qt sources contains #define for METHOD (/src/corelib/kernel/qobjectdefs.h)
- define METHOD(a) qFlagLocation("0"#a QLOCATION)
In some cases this prevents users from including Qt headers to a lot of their own files that include also some third-party components.
For "signals/slot/emit" keywords it's possible to use QT_NO_KEYWORDS to undef them.
Is it possible to hide also METHOD keyword or at least rename it it Q_METHOD/QT_METHOD or something like this (at least for QT_NO_KEYWORDS).