summaryrefslogtreecommitdiffstats
path: root/mkspecs/linux-arm-gnueabi-g++/qplatformdefs.h
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2011-12-05 13:05:44 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-05 23:03:16 +0100
commite2d5c06e1afca1ae7f296fa9293dc7c2c22f90e6 (patch)
treedaaf22240b35d3b0ce160204fb1c36e3e93eff5e /mkspecs/linux-arm-gnueabi-g++/qplatformdefs.h
parent2c9d042476e04c5045d238859c7b4402fcadf354 (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 'mkspecs/linux-arm-gnueabi-g++/qplatformdefs.h')
0 files changed, 0 insertions, 0 deletions