diff --git a/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp b/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp index 914bc0ec7c7..1ab6153bb55 100644 --- a/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp +++ b/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp @@ -19,7 +19,8 @@ # define TST_GL #endif -#if QT_CONFIG(vulkan) +// Never attempt Vulkan on Android, to prevent the emulator in CI from crashing. +#if QT_CONFIG(vulkan) && !defined(Q_OS_ANDROID) # include # include # define TST_VK