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. Qt, iOS and OpenGL ES 1.1
Forum Updated to NodeBB v4.3 + New Features

Qt, iOS and OpenGL ES 1.1

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 3 Posters 2.3k Views 1 Watching
  • 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.
  • K Offline
    K Offline
    kschins
    wrote on 22 Aug 2013, 15:35 last edited by
    #1

    I am porting a project to iOS and was hoping using OpenGL ES 1.1 was going to work. All iOS devices should support OpenGL ES 1.1 as well as OpenGL ES 2.0, but I am running into issues regarding certain OpenGL ES 1.1 commands - glEnable(GL_LIGHTING), glMatrixMode(), etc. These are throwing errors when I check glGetErrors. For instance glEnable(GL_LIGHTING) throws a GL_INVALID_ENUM error. Is the context not being setup correctly? I've read some documentation about iOS setting up the default context to use OpenGL ES 2.0, but this project is solely using Qt. Even the example hellogl_es project does not work when building for the simulator since the same errors are thrown. The hellogl_es2 project works just fine.

    Does Qt only support OpenGL ES 2.0 for iOS?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 23 Aug 2013, 07:45 last edited by
      #2

      I'm not sure about iOS, but in general Qt5 requires OpenGL ES 2.0 as a minimum.

      (Z(:^

      1 Reply Last reply
      0
      • C Offline
        C Offline
        CuteiOS
        wrote on 11 Sept 2013, 20:20 last edited by
        #3

        Qt is either configured to be built with GLES 1.1 or GLES 2.0, and it's not possible to mix the two. Qt 5.x removes a lot of the support for GLES 1.1 (as it requires GLES 2.0 for many functions). You can download a prebuilt GLES 1.1 version of Qt 4.8.x from the Mediator Software website.

        1 Reply Last reply
        0
        • C Offline
          C Offline
          CuteiOS
          wrote on 13 Sept 2013, 16:52 last edited by
          #4

          http://www.mediator-software.com

          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