Re: [Development] On how to deprecate API

2020-02-27 Thread Edward Welbourne
Kai Köhne (27 February 2020 16:46) wrote: > Another thing I'm wondering about is the use of QT_DEPRECATED_SINCE in > Qt's .cpp files. I see the benefit of QT_DEPRECATED_SINCE in the > headers, because these are compiled into the user code, who in turn > can use QT_DISABLE_DEPRECATED_BEFORE. Anyhow,

[Development] On how to deprecate API

2020-02-27 Thread Kai Köhne
Hi, After seeing many different ways to deprecate API in Qt 5.15, I thought it might make sense to assemble some best practices (comments & extensions welcome): https://codereview.qt-project.org/c/meta/quips/+/292255 One of the main takeaways is: Please also properly deprecate in the docume