qt5base-lts/tests/auto/gui
Laszlo Agocs 2de14b81a9 rhi: tst_qrhi: Check for OpenGL cap on the platform
Running tst_qrhi -platform eglfs will pass on RPi4 / Mesa 22.
This does not test Vulkan of course since the platform plugin cannot
create a Vulkan instance.

Running tst_qrhi -platform vkkhrdisplay will enable Vulkan but will
still try OpenGL since the autotest does not query the platform
integration about OpenGL support. Make this nicer by skipping most of
the GL test if the platform integration we have cannot handle OpenGL
stuff anyway.

For some tests the data-driven approach has to be removed since doing
QFETCH without any rows will crash. These two OpenGL-specific tests
now check OpenGL support directly and QSKIP if needed.

While we are at it, fix up the Vulkan instance API version as well.

Pick-to: 6.4
Change-Id: I2891c04540bc2dfd0ccf475629bd23542bff15f5
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
2022-08-16 16:00:15 +02:00
..
image tst_qimage: skip exifReadComments when the feature is not active 2022-08-08 20:38:40 +03:00
itemmodels Add license headers to cmake files 2022-08-03 17:14:55 +02:00
kernel Wayland: Remove XFAIL after underlying bug was fixed 2022-08-09 12:57:13 +02:00
math3d Add license headers to cmake files 2022-08-03 17:14:55 +02:00
painting Add license headers to cmake files 2022-08-03 17:14:55 +02:00
platform Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qopengl Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qopenglconfig Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qvulkan Add license headers to cmake files 2022-08-03 17:14:55 +02:00
rhi rhi: tst_qrhi: Check for OpenGL cap on the platform 2022-08-16 16:00:15 +02:00
text Fix QFontDatabase::hasFamily() for ambiguous families 2022-08-15 18:23:43 +02:00
util Don't skip QDoubleConverter's digit-count check for non-whole bound 2022-08-08 19:38:40 +02:00
CMakeLists.txt Add license headers to cmake files 2022-08-03 17:14:55 +02:00