Link GLES2 to ios
Unsolved
Mobile and Embedded
-
Qt 5.12.10 for ios need to link GLES lib but same code from android built fail. How to link EGL/GLES2 for iOS ? Thanks!
# Check if we have a GLES-only build # On dynamic builds, this property is also "GL" IF(${Qt5Gui_OPENGL_IMPLEMENTATION} MATCHES "GLES") MESSAGE(STATUS "Building an OpenGL ES build (${Qt5Gui_OPENGL_IMPLEMENTATION})") IF( ANDROID ) SET(STEL_GLES_LIBS EGL GLESv2) # success on Qt Android ELSE() SET(STEL_GLES_LIBS EGL GLESv2) # error in iOS Qt # SET(STEL_GLES_LIBS Qt5::Gui_EGL Qt5::Gui_GLESv2) # pc ENDIF() ELSE() MESSAGE(STATUS "Building an OpenGL build") ENDIF()