qt5base-lts/tests/auto/corelib/kernel
Andreas Buhr 21ce257b6c Repair tst_qcoreapplication to not segfault on Android
tst_qcoreapplication.cpp is used both in tst_qcoreapplication and
tst_qguiapplication. To distinguish these two compilations,
the define QT_GUI_LIB was used. This led to an error on Android,
where Qt::Gui is always linked, because the Qt Android Platform
Plugin needs it.
This patch introduces the preprocessor define QT_QGUIAPPLICATIONTEST
which is to be used only in the compilation of tst_qguiapplication.
This is then used instead of QT_GUI_LIB.

Change-Id: Ifa5bfacb197d68365288c1da85573106515fc6c2
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2022-02-15 09:10:59 +01:00
..
qapplicationstatic Introduce Q_APPLICATION_STATIC 2021-11-18 20:53:27 +01:00
qcoreapplication Repair tst_qcoreapplication to not segfault on Android 2022-02-15 09:10:59 +01:00
qdeadlinetimer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qelapsedtimer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qeventdispatcher tst_qeventdispatcher: avoid influence between test functions 2022-01-19 19:35:23 +02:00
qeventloop Compile autotests for Integrity 2021-09-20 17:29:04 +03:00
qjnienvironment Android: check if objectClass() is not null in registerNativeMethods() 2021-11-15 19:00:21 +00:00
qjniobject Fix set*Field JNI template calls 2021-05-05 16:28:27 +03:00
qmath Add qHypot() to qmath.h, exposing and extending std::hypot() 2021-01-27 15:00:57 +01:00
qmetacontainer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qmetaenum Remove the qmake project files 2021-01-07 15:32:28 +01:00
qmetamethod QMetaMethod: Store method constness in metaobject system 2021-05-07 21:50:58 +02:00
qmetaobject Remove checks for features available in C++17 2021-10-02 17:54:39 +02:00
qmetaobjectbuilder Core: Remove 'properties' feature 2022-02-14 12:50:59 +01:00
qmetaproperty Remove the qmake project files 2021-01-07 15:32:28 +01:00
qmetatype Cleanup tests that add test data to resources explicitly 2022-02-11 21:54:44 +01:00
qmimedata Remove the qmake project files 2021-01-07 15:32:28 +01:00
qobject Fix clang-cl build of tst_qobject 2022-02-02 15:09:22 +01:00
qpointer Fix autotest runtime failures on INTEGRITY 2021-12-16 19:45:08 +02:00
qproperty QObjectCompatProperty: Add support for custom getters 2021-10-20 17:04:51 +02:00
qsharedmemory tst_qsharedmemory: skip readOnly() test under asan 2021-12-23 08:14:02 +01:00
qsignalblocker Remove the qmake project files 2021-01-07 15:32:28 +01:00
qsignalmapper Remove the qmake project files 2021-01-07 15:32:28 +01:00
qsocketnotifier CMake: Remove the usage of QT_SOURCE_TREE from tests 2021-07-12 18:56:14 +02:00
qsystemsemaphore tst_QSystemSemaphore: give proper path to test-helper 2022-02-12 00:01:08 +01:00
qtimer Include qproperty.h where needed 2021-11-04 21:45:02 +01:00
qtranslator tst_qtranslator: fix memleak 2022-01-03 11:22:53 +00:00
qvariant CMake: Add BUILTIN_TESTDATA option to qt_internal_add_test 2022-02-11 21:54:44 +01:00
qwineventnotifier Repair tst_qwineventnotifier 2021-03-29 15:54:05 +02:00
CMakeLists.txt Introduce Q_APPLICATION_STATIC 2021-11-18 20:53:27 +01:00