Skip Vulkan on Android in QRhi autotest

Fixes: QTBUG-118220
Change-Id: I78b4b8b85f316f087ab7a01c1ee0c4fad46c632a
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Laszlo Agocs 2023-10-18 18:58:57 +02:00
parent 4b0d41448f
commit 0d413506a1

View File

@ -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 <QVulkanInstance>
# include <QVulkanFunctions>
# define TST_VK