Skip to content

Commit 4ec0989

Browse files
committed
build: Enable OpenGL for qt as Qt Quick relies on it
1 parent c79be81 commit 4ec0989

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

contrib/devtools/symbol-check.py

+2
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
'Metal', # 3D graphics
109109
'Security', # access control and authentication
110110
'QuartzCore', # animation
111+
'OpenGL',
111112
}
112113

113114
PE_ALLOWED_LIBRARIES = {
@@ -131,6 +132,7 @@
131132
'VERSION.dll', # version checking
132133
'WINMM.dll', # WinMM audio API
133134
'WTSAPI32.dll',
135+
'OPENGL32.dll',
134136
}
135137

136138
class CPPFilt(object):

depends/packages/qt.mk

+1-3
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ $(package)_config_opts += -no-feature-wizard
130130
$(package)_config_opts += -no-feature-xml
131131

132132
$(package)_config_opts_darwin = -no-dbus
133-
$(package)_config_opts_darwin += -no-opengl
134133
$(package)_config_opts_darwin += -pch
135134
$(package)_config_opts_darwin += -no-feature-corewlan
136135
$(package)_config_opts_darwin += QMAKE_MACOSX_DEPLOYMENT_TARGET=$(OSX_MIN_VERSION)
@@ -152,7 +151,6 @@ $(package)_config_opts_linux += -no-xcb-xlib
152151
$(package)_config_opts_linux += -no-feature-xlib
153152
$(package)_config_opts_linux += -system-freetype
154153
$(package)_config_opts_linux += -fontconfig
155-
$(package)_config_opts_linux += -no-opengl
156154
$(package)_config_opts_linux += -no-feature-vulkan
157155
$(package)_config_opts_linux += -dbus-runtime
158156
$(package)_config_opts_arm_linux += -platform linux-g++ -xplatform bitcoin-linux-g++
@@ -164,7 +162,7 @@ $(package)_config_opts_powerpc64le_linux = -platform linux-g++ -xplatform bitcoi
164162
$(package)_config_opts_riscv64_linux = -platform linux-g++ -xplatform bitcoin-linux-g++
165163
$(package)_config_opts_s390x_linux = -platform linux-g++ -xplatform bitcoin-linux-g++
166164

167-
$(package)_config_opts_mingw32 = -no-opengl
165+
$(package)_config_opts_mingw32 = -opengl desktop
168166
$(package)_config_opts_mingw32 += -no-d3d12
169167
$(package)_config_opts_mingw32 += -no-dbus
170168
$(package)_config_opts_mingw32 += -xplatform win32-g++

0 commit comments

Comments
 (0)