From 9b7d6aedbced74021338c1c9b881cc3afef4a3cd Mon Sep 17 00:00:00 2001 From: Michal Klocek Date: Tue, 25 Feb 2025 13:50:18 +0100 Subject: [PATCH] Add no-opengl to cross-compile WoA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Use the same switch on cross compile WoA configuration. Note this can have the impact on installer binaries. Task-number: COIN-1211 Change-Id: I508587f25701990c438f315bd9163fdd691ddeb3 Reviewed-by: Simo Fält Reviewed-by: Oliver Wolff --- 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 dfde561b..65190809 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-opengl -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-psql -no-sql-mimer', '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}}',