From a864e58616842d77999a9d9400139656bff8dc95 Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Wed, 12 Jun 2024 11:28:24 +0200 Subject: [PATCH] platform_configs: disable glx on offscreen integrations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's broken in the VMs in our CI. This follows 94a4f06fb88ec6c7fa5e31dfd28af4e9b3cdbdd8 in qtbase. Fixes: QTBUG-126250 Task-number: QTBUG-125446 Change-Id: I34f5384282aa78015ba6520887f51391d9332780 Reviewed-by: Liang Qi Reviewed-by: Simo Fält Reviewed-by: Tero Heikkinen (cherry picked from commit e19eeba9de040b0b15f3fa45eff6e782b12a0e25) --- coin/platform_configs/cmake_platforms.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coin/platform_configs/cmake_platforms.yaml b/coin/platform_configs/cmake_platforms.yaml index 00359bd4..12cc4e7b 100644 --- a/coin/platform_configs/cmake_platforms.yaml +++ b/coin/platform_configs/cmake_platforms.yaml @@ -57,6 +57,7 @@ Configurations: Features: ['TestOnly', 'InsignificantTests'] Environment variables: [ 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY', + 'QT_QPA_OFFSCREEN_NO_GLX=1', 'QT_QPA_PLATFORM=offscreen' ] Platform dependency: 'ubuntu-24.04-arm64' @@ -154,6 +155,7 @@ Configurations: Features: ['Sccache', 'InsignificantTests', 'TestOnly'] Environment variables: [ 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY', + 'QT_QPA_OFFSCREEN_NO_GLX=1', 'QT_QPA_PLATFORM=offscreen' ] Platform dependency: 'debian-11.6-arm64'