From 9a7e55dcbefdf0baa1240cb74014e81a2bce73b8 Mon Sep 17 00:00:00 2001 From: Janne Juntunen Date: Wed, 9 Feb 2022 15:40:15 +0200 Subject: 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 --- tests/auto/gui/rhi/qrhi/tst_qrhi.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/auto/gui/rhi') 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("impl"); QTest::addColumn("initParams"); +// webOS does not support raster (software) pipeline +#ifndef Q_OS_WEBOS QTest::newRow("Null") << QRhi::Null << static_cast(&initParams.null); +#endif #ifdef TST_GL QTest::newRow("OpenGL") << QRhi::OpenGLES2 << static_cast(&initParams.gl); #endif -- cgit v1.2.3