summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/rhi
diff options
context:
space:
mode:
authorJanne Juntunen <janne.juntunen@qt.io>2022-02-09 15:40:15 +0200
committerJanne Juntunen <janne.juntunen@qt.io>2022-02-10 12:03:36 +0200
commit9a7e55dcbefdf0baa1240cb74014e81a2bce73b8 (patch)
treedb8c065f1ae87fb58737cacc8ee5b515680a823b /tests/auto/gui/rhi
parent65b62d2d5c229f0847a3073a72167674e7d23a26 (diff)
tst_qrhi: use OpenGL instead of raster pipeline on webOS
Raster pipeline is not supported on webOS OSE: trying to use it causes an exit(1). Fixes: QTBUG-100654 Pick-to: 6.3 Change-Id: I00325fc1330a2d0d4abfdee054343ecfac767309 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'tests/auto/gui/rhi')
-rw-r--r--tests/auto/gui/rhi/qrhi/tst_qrhi.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp b/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp
index 95aee97191..4ff02733dc 100644
--- a/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp
+++ b/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp
@@ -223,7 +223,10 @@ void tst_QRhi::rhiTestData()
QTest::addColumn<QRhi::Implementation>("impl");
QTest::addColumn<QRhiInitParams *>("initParams");
+// webOS does not support raster (software) pipeline
+#ifndef Q_OS_WEBOS
QTest::newRow("Null") << QRhi::Null << static_cast<QRhiInitParams *>(&initParams.null);
+#endif
#ifdef TST_GL
QTest::newRow("OpenGL") << QRhi::OpenGLES2 << static_cast<QRhiInitParams *>(&initParams.gl);
#endif