[Development] QT_DEPRECATED_SINCE and QT_DISABLE_DEPRECATED_BEFORE

Frans Klaver fransklaver at gmail.com
Tue Nov 1 10:55:49 CET 2011


On Tue, Nov 1, 2011 at 10:43 AM, Thiago Macieira <thiago at kde.org> wrote:

> One more thing: QT_DEPRECATED expands to empty during the Qt build.
>
> Should we enable QT_DEPRECATED_WARNINGS?

FWIW, my personal experience is that build warnings are noticed before
documentation changes. I always feel a deprecation warning during the
build is more likely to push people to move to the new API than just
changing the documentation -- a lot of people like warning-free
builds.

So I'd say that would be a yes.

Cheers,
Frans



More information about the Development mailing list