diff options
| author | Tim Blechmann <tim.blechmann@qt.io> | 2024-12-19 10:43:32 +0800 |
|---|---|---|
| committer | Tim Blechmann <tim.blechmann@qt.io> | 2024-12-20 02:51:57 +0800 |
| commit | 6f41c1652f73e1d79d6a4a91d009671a1e285b15 (patch) | |
| tree | 3fd6d367f3ef891d8c5cb66ea0da00b914795e6c /src/corelib/tools/qcommandlineparser.cpp | |
| parent | d983a402a5c7106935439c95d08eaadbf0b26b60 (diff) | |
gui: link with OpenGL framework
qopengl.h pulls in headers from the OpenGL framework on macos when
opengl is enabled. We should therefore also link the OpenGL framework.
fixes linker error in libqcocoa:
Undefined symbols for architecture x86_64:
"_glGetIntegerv", referenced from:
QCocoaGLContext::updateSurfaceFormat() in
libqcocoa.a(qcocoaglcontext.mm.o)
"_glGetString", referenced from:
QCocoaGLContext::updateSurfaceFormat() in
libqcocoa.a(qcocoaglcontext.mm.o)
Change-Id: I02d2c80e2652da0cf16eaca7ab161cf711599dc2
Pick-to: 6.9 6.8 6.5
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/tools/qcommandlineparser.cpp')
0 files changed, 0 insertions, 0 deletions
