diff options
author | Eike Ziller <eike.ziller@qt.io> | 2022-01-04 11:07:40 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2022-01-04 14:58:09 +0000 |
commit | 1e46db88a1abd00e49bf2aefd364779e73fba8bf (patch) | |
tree | 0d87a3e6cf3c54eaa1b1705711d5b59a8a5def32 /scripts | |
parent | 00e3a3fa4b8e1597dc9719964a36203d9dd697ea (diff) |
Do not link packages against libGLX and libOpenGL
Also for the additional plugins.
Work around QTBUG-89754
Amends 7d948b0c5ddba598b74cba3bbfe5275d16a80e10
Fixes: QTCREATORBUG-26744
Change-Id: I5cafcbe77a37fcd9c5432ef45aa364066d772be8
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build_plugin.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/build_plugin.py b/scripts/build_plugin.py index 0a0061e8735..fe528618891 100755 --- a/scripts/build_plugin.py +++ b/scripts/build_plugin.py @@ -107,6 +107,10 @@ def build(args, paths): # TODO this works around a CMake bug https://gitlab.kitware.com/cmake/cmake/issues/20119 cmake_args += ['-DBUILD_WITH_PCH=OFF'] + # work around QTBUG-89754 + # Qt otherwise adds dependencies on libGLX and libOpenGL + cmake_args += ['-DOpenGL_GL_PREFERENCE=LEGACY'] + if args.with_docs: cmake_args += ['-DWITH_DOCS=ON'] |