From e66f0bd99b18cc6dc685624008240acfc8e377b8 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Fri, 3 Jun 2022 12:15:30 +0200 Subject: [PATCH] build, qt: Enable OpenGL for Windows static builds --- contrib/devtools/symbol-check.py | 1 + depends/packages/qt.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/devtools/symbol-check.py b/contrib/devtools/symbol-check.py index d64b199706..b441a51d3c 100755 --- a/contrib/devtools/symbol-check.py +++ b/contrib/devtools/symbol-check.py @@ -164,6 +164,7 @@ 'WTSAPI32.dll', 'd3d11.dll', 'dxgi.dll', +'OPENGL32.dll', } def check_version(max_versions, version, arch) -> bool: diff --git a/depends/packages/qt.mk b/depends/packages/qt.mk index 594859bd93..a81a8a31db 100644 --- a/depends/packages/qt.mk +++ b/depends/packages/qt.mk @@ -194,7 +194,7 @@ $(package)_config_opts_powerpc64le_linux = -platform linux-g++ -xplatform bitcoi $(package)_config_opts_riscv64_linux = -platform linux-g++ -xplatform bitcoin-linux-g++ $(package)_config_opts_s390x_linux = -platform linux-g++ -xplatform bitcoin-linux-g++ -$(package)_config_opts_mingw32 = -no-opengl +$(package)_config_opts_mingw32 = -opengl desktop $(package)_config_opts_mingw32 += -no-d3d12 $(package)_config_opts_mingw32 += -no-dbus $(package)_config_opts_mingw32 += -no-freetype