Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Link GLES2 to ios

Link GLES2 to ios

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 276 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    silas
    wrote on last edited by
    #1

    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()
    
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved