mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
29 lines
1.8 KiB
Diff
29 lines
1.8 KiB
Diff
Patch-Source: https://www.mail-archive.com/commit@lists.opensuse.org/msg46683.html
|
|
don't ask me how long it took me to figure this one out.
|
|
--
|
|
diff --git a/sources/pyside2/PySide2/QtGui/CMakeLists.txt b/sources/pyside2/PySide2/QtGui/CMakeLists.txt
|
|
index 88d8be9..38a0c1a 100644
|
|
--- a/sources/pyside2/PySide2/QtGui/CMakeLists.txt
|
|
+++ b/sources/pyside2/PySide2/QtGui/CMakeLists.txt
|
|
@@ -227,7 +227,7 @@ endif()
|
|
list(FIND QtGui_enabled_features "opengles2" _opengles2Index)
|
|
# ### fixme: For cmake >= 3.3: if(opengles2 IN_LIST QtGui_enabled_features)
|
|
if(_opengles2Index GREATER -1)
|
|
- list(APPEND QtGui_DROPPED_ENTRIES QOpenGLTimeMonitor QOpenGLTimerQuery)
|
|
+ list(APPEND QtGui_DROPPED_ENTRIES QOpenGLTimeMonitor QOpenGLTimerQuery QOpenGLVersionFunctionsFactory)
|
|
message(STATUS "Qt${QT_MAJOR_VERSION}Gui: Dropping Desktop OpenGL classes (GLES2)")
|
|
else()
|
|
list(APPEND QtGui_SRC
|
|
diff --git a/sources/pyside2/PySide2/QtOpenGLFunctions/CMakeLists.txt b/sources/pyside2/PySide2/QtOpenGLFunctions/CMakeLists.txt
|
|
index 62ed669..208e76f 100644
|
|
--- a/sources/pyside2/PySide2/QtOpenGLFunctions/CMakeLists.txt
|
|
+++ b/sources/pyside2/PySide2/QtOpenGLFunctions/CMakeLists.txt
|
|
@@ -11,7 +11,7 @@ set(QtOpenGLFunctions_SRC ${QtOpenGLFunctions_GEN_DIR}/qtopenglfunctions_module_
|
|
list(FIND QtOpenGLFunctions_enabled_features "opengles2" _opengles2Index)
|
|
# ### fixme: For cmake >= 3.3: if(opengles2 IN_LIST QtOpenGLFunctions_enabled_features)
|
|
if(_opengles2Index GREATER -1)
|
|
- list(APPEND QtOpenGLFunctions_DROPPED_ENTRIES QOpenGLTimeMonitor QOpenGLTimerQuery)
|
|
+ list(APPEND QtOpenGLFunctions_DROPPED_ENTRIES QOpenGLTimeMonitor QOpenGLTimerQuery QOpenGLVersionFunctionsFactory)
|
|
list(APPEND QtOpenGLFunctions_SRC
|
|
${QtOpenGLFunctions_GEN_DIR}/qopenglfunctions_es2_wrapper.cpp)
|
|
message(STATUS "Qt${QT_MAJOR_VERSION}OpenGLFunctions: Dropping Desktop OpenGL classes (GLES2)")
|