qt5base-lts/tests/auto/testlib
Edward Welbourne 4eb2dcd4b9 Replace a random define with a __has_include() check
The given reason for needing to define it was that there was no way to
test whether <valgrind/valgrind.h> is available to #include; but we
now require C++17 hence __has_include(). However, moc doesn't seem to
grok that, so move the test's #if-ery inside the test, since otherwise
it gets omitted because the test's metatype doesn't know it's there.

Change-Id: I75a100787b98a52fad4cfb0b047318a115c998e2
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-12-09 20:54:25 +01:00
..
initmain Remove the qmake project files 2021-01-07 15:32:28 +01:00
outformat Remove the qmake project files 2021-01-07 15:32:28 +01:00
qabstractitemmodeltester Fix QAbstractItemModelTester false positive 2021-04-26 13:44:51 +01:00
qsignalspy Remove the qmake project files 2021-01-07 15:32:28 +01:00
selftests Replace a random define with a __has_include() check 2021-12-09 20:54:25 +01:00
CMakeLists.txt Android: exclude faulty tst_selftests 2020-11-25 23:08:09 +02:00