[Development] Use QT_DEPRECATED_SINCE macro for specific enum values

Denis Shienkov denis.shienkov at gmail.com
Wed Aug 12 14:36:22 CEST 2015


Hi All.

Is it possible to use QT_DEPRECATED_SINCE macro for the specific enum
values? And, is any restrictions related to the different compilers?

enum Numbers {
    One,
    Two,
#if QT_DEPRECATED_SINCE(5, 2)
    Three,
#endif
    Four
};

BR,
Denis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150812/49de7b3c/attachment.html>


More information about the Development mailing list