summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2022-08-15 19:20:39 +0200
committerIvan Solovev <ivan.solovev@qt.io>2022-09-06 16:57:58 +0200
commit734e0a2fbe18546780fb350af5e8b4ee2eb16d68 (patch)
tree364b0f69518b4bcd3031359e788cb6a9056f82a9 /mkspecs
parentd674f3f5454fb39de9405484a8c01fb928523f67 (diff)
CMake: propagate deprecation definitions to unit-tests
If Qt itself is built without the deprecated APIs, but the tests are not, tests will fail to compile and/or link. This patch makes sure that the specified QT_DISABLE_DEPRECATED_UP_TO and QT_WARN_DEPRECATED_UP_TO values are correctly used in the tests. The definitions are propagated to tests, batched tests, manual tests and benchmarks. Fixes: QTBUG-104858 Change-Id: Idf15accaf96c47599084426ba625b985f507ca8b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions