From f492c446ac0eadc1b8dc261476d066d0b69b27a4 Mon Sep 17 00:00:00 2001 From: Michal Klocek Date: Wed, 21 May 2025 17:49:06 +0200 Subject: [PATCH] Use run-opengl-test feature Native WoA builds are done with -no-opengl switch, therefore native test coin nodes do not need to have openglsw installed. (ms-windows-store://pdp/?productid=9NQPSL29BFFF) However, when trying to run cross compiled WoA on native test nodes this ends up with: tst_QOpenGLWindow::create() Failed to load opengl32sw (%1 is not a valid tst_QOpenGLWindow::create() Failed to load and resolve WGL/OpenGL function However, adding no-opengl flag would affect our release binaries and would remove qt3d and qtdatavisualisation from packaging. Use run-opengl-test feature instead. Task-number: COIN-1211 Change-Id: Ib7d3eca7045598825f7a5ad774f60d2bc9db2458 Reviewed-by: Alexandru Croitor --- coin/platform_configs/cmake_platforms.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coin/platform_configs/cmake_platforms.yaml b/coin/platform_configs/cmake_platforms.yaml index 51707a4d..1b660de5 100644 --- a/coin/platform_configs/cmake_platforms.yaml +++ b/coin/platform_configs/cmake_platforms.yaml @@ -159,7 +159,7 @@ Configurations: Platform dependency: 'windows-10_22h2-mingw13' Environment variables: [ 'Path={{.Env.MINGW_PATH}}\bin;{{.Env.Path}}', - 'TARGET_CONFIGURE_ARGS=-debug-and-release -force-debug-info -platform win32-arm64-msvc -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-psql -no-sql-mimer', + 'TARGET_CONFIGURE_ARGS=-debug-and-release -force-debug-info -platform win32-arm64-msvc -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-psql -no-sql-mimer -no-feature-run-opengl-tests', 'TARGET_CMAKE_ARGS=-DFEATURE_msvc_obj_debug_info=ON -DOPENSSL_ROOT_DIR={{.Env.OPENSSL_ROOT_DIR_x64_arm64}}', 'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_native_grpc=OFF -DFFMPEG_DIR={{.Env.FFMPEG_DIR_MSVC_ARM64}} -DQT_DEPLOY_FFMPEG=TRUE', 'OPENSSL_CONF_x64={{.Env.OPENSSL_CONF_x64_arm64}}',