qt5base-lts/tests/auto
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
..
bic/data Add BiC data for the new way to do BiC testing 2022-05-12 13:33:41 +03:00
cmake CMake: Support big resources in qt_add_resources 2022-08-09 15:21:52 +02:00
concurrent Add license headers to cmake files 2022-08-03 17:14:55 +02:00
corelib tst_qbytearray: remove qCompress_data for QT_NO_COMPRESS 2022-08-15 23:02:32 +02:00
dbus Add license headers to cmake files 2022-08-03 17:14:55 +02:00
gui rhi: tst_qrhi: Check for OpenGL cap on the platform 2022-08-16 16:00:15 +02:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
network qputenv: port to QByteArrayView 2022-08-06 14:21:46 +00:00
opengl Remove the qmake project files 2021-01-07 15:32:28 +01:00
other qputenv: port to QByteArrayView 2022-08-06 14:21:46 +00:00
printsupport qputenv: port to QByteArrayView 2022-08-06 14:21:46 +00:00
shared Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
sql Add license headers to cmake files 2022-08-03 17:14:55 +02:00
testlib Fix DeferredFlag implementation for QTestEventLoop 2022-08-12 20:32:30 +02:00
tools moc: handle attributes in class declarations 2022-08-03 20:14:42 +02:00
wasm Add license headers to cmake files 2022-08-03 17:14:55 +02:00
widgets Wait for window focus instead of expose event 2022-08-11 19:09:09 +02:00
xml QDomDocument: Add a way to enable spacing-only text nodes 2022-08-04 22:17:05 +02:00
CMakeLists.txt Add license headers to cmake files 2022-08-03 17:14:55 +02:00
network-settings.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00