diff options
author | Eike Ziller <eike.ziller@qt.io> | 2021-12-03 14:15:01 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2021-12-06 10:31:35 +0000 |
commit | 7d948b0c5ddba598b74cba3bbfe5275d16a80e10 (patch) | |
tree | 2806ce48d63820b923bce470083a477f0321b842 /scripts | |
parent | 8d08196a21184330f18343921f523966d778a739 (diff) |
Do not link packages against libGLX and libOpenGL
Work around QTBUG-89754
Fixes: QTCREATORBUG-26652
Change-Id: I9fb7ba2127a93460184154a9eb2d4c053f8fc22d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/build.py b/scripts/build.py index 776914175c1..e723f101b34 100755 --- a/scripts/build.py +++ b/scripts/build.py @@ -146,6 +146,10 @@ def common_cmake_arguments(args): pch_option = 'ON' if args.with_pch else 'OFF' cmake_args += ['-DBUILD_WITH_PCH=' + pch_option] + # work around QTBUG-89754 + # Qt otherwise adds dependencies on libGLX and libOpenGL + cmake_args += ['-DOpenGL_GL_PREFERENCE=LEGACY'] + return cmake_args def build_qtcreator(args, paths): |