diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2011-12-05 13:05:44 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-05 23:03:16 +0100 |
commit | e2d5c06e1afca1ae7f296fa9293dc7c2c22f90e6 (patch) | |
tree | daaf22240b35d3b0ce160204fb1c36e3e93eff5e /tests/auto/testlib | |
parent | 2c9d042476e04c5045d238859c7b4402fcadf354 (diff) |
Fix QT_DEPRECATED_SINCE evaluation
QT_DEPRECATED is defined by default by the logic in qglobal.h, but
QT_DEPRECATED_SINCE is evaluated before that definition, making
QT_DEPRECATED_SINCE evaluate to 0, disabling all deprecated code (even
though it shouldn't be disabled).
Fix this by moving the QT_DEPRECATED_SINCE evaluation to after the
evaluation of QT_NO_DEPRECATED and/or definition of QT_DEPRECATED, to
ensure that QT_DEPRECATED_SINCE works as expected.
Change-Id: I57d9f6a3e1859b0057fd4f37bcf2d2cc3dfba230
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'tests/auto/testlib')
0 files changed, 0 insertions, 0 deletions