Thiago Macieira wrote: > Because we want to benefit from the new code and remove the unnecessary > #ifndef and Q_UNUSED. If we don't change the current macro, then we > deprecate the old one and convert all the code to the new one
You could deprecate the old behavior. #ifdef QT_BUILDING_QT || QT_DISABLE_DEPRECATED_BEFORE >= 0x050500 #define USE_NEW_ASSERT #endif #ifdef USE_NEW_ASSERT // ... #else // ... #endif Thanks, Steve. _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development