From 6dc02c60f38ebcf94fcd064a18fe8aa816e3ddaa Mon Sep 17 00:00:00 2001 From: Michal Klocek Date: Fri, 27 Jun 2025 13:09:41 +0200 Subject: [PATCH] Use run-opengl-test feature for Windows 11 24H2 x86_64 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: Id21051bc69e431a9d3773c4b4e0c8c2e63315b42 Reviewed-by: Alexandru Croitor (cherry picked from commit c73dbf6dfeadcf5e10c3068f430ef5f620527d8a) Reviewed-by: Qt Cherry-pick Bot --- 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 d4426298..648c5004 100644 --- a/coin/platform_configs/cmake_platforms.yaml +++ b/coin/platform_configs/cmake_platforms.yaml @@ -194,7 +194,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}}',