qt6-bb10/tests/auto/corelib/kernel/qcoreapplication
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
..
.gitignore
CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
Info.plist Provide sensible defaults for QCoreApplication::applicationVersion 2017-01-12 02:13:21 +00:00
tst_qcoreapplication.cpp Repair tst_qcoreapplication to not segfault on Android 2022-02-15 09:10:59 +01:00
tst_qcoreapplication.h QEventDispatcherWin32: create internal window on construction 2020-09-16 19:26:02 +03:00