aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-08-26 13:41:25 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-08-26 20:49:28 +0000
commite4b310f0e7d0795fab017085c1724ef1434cc2df (patch)
treec15cdf3d48fbccc1cac19c443940cf9445873c8d
parent6e583332be28b931a3827b348cbb788692550fbe (diff)
Fix GLES builds
Add QOpenGLVersionFunctionsFactory to list of dropped entries. Fixes: PYSIDE-1636 Change-Id: Ie203372c2d15776a466f0fa04fe32a777bf85e52 Reviewed-by: Christophe Giboudeaux <christophe@krop.fr> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit e0848b2d644574e914d3f71c1fe4b309e39ac099) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--sources/pyside6/PySide6/QtOpenGL/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/pyside6/PySide6/QtOpenGL/CMakeLists.txt b/sources/pyside6/PySide6/QtOpenGL/CMakeLists.txt
index 6e80a4e16..03c3fbdb0 100644
--- a/sources/pyside6/PySide6/QtOpenGL/CMakeLists.txt
+++ b/sources/pyside6/PySide6/QtOpenGL/CMakeLists.txt
@@ -27,7 +27,8 @@ get_property(QtGui_enabled_features TARGET Qt${QT_MAJOR_VERSION}::Gui
PROPERTY QT_ENABLED_PUBLIC_FEATURES)
if("opengles2" IN_LIST QtGui_enabled_features)
- list(APPEND QtOpenGL_DROPPED_ENTRIES QOpenGLTimeMonitor QOpenGLTimerQuery)
+ list(APPEND QtOpenGL_DROPPED_ENTRIES QOpenGLTimeMonitor QOpenGLTimerQuery
+ QOpenGLVersionFunctionsFactory)
list(APPEND QtOpenGL_SRC ${QtOpenGL_GEN_DIR}/qopenglfunctions_es2_wrapper.cpp)
message(STATUS "Qt${QT_MAJOR_VERSION}Gui: Dropping Desktop OpenGL classes (GLES2)")
else()