Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QOpenGLWidget works on Desktop but not on Ios
Forum Update on Monday, May 27th 2025

QOpenGLWidget works on Desktop but not on Ios

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.1k 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.
  • K Offline
    K Offline
    kloveridge
    wrote on 11 Dec 2014, 16:54 last edited by
    #1

    So I upgraded to Qt 5.4 yesterday and am stuck. In Qt 5.3, I was using QGLWidget as my layer for openGL. Everything worked fine on desktop, iOS and Android.

    With Qt 5.4, my applications QGLWidget issues a bunch of errors on the iOS and then aborts the application (Spits out about 10 or so errors having to do with sockets). So I thought, I'll switch to QOpenGLWidget. On the desktop, everything seems to work fine. But on iOS (I haven't tried android yet), I get this nice little error message:

    @QOpenGLWidget is not supported on this platform.@

    So, now I'm stuck. I'm currently debating whether to go back to Qt 5.3 and continue working. Hoping someone can help figure out whats going on. Or I just continue to thrash til I find a solution.

    As a side note, I attempted to run a couple of OpenGL examples shipped with Qt 5.4 and they all issue the same error on iPhone! Wow! Somethings not right here.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      teamAR
      wrote on 10 Mar 2015, 15:19 last edited by
      #2

      I'm curious what approach you ended up following. I'm in a similar situation, and must use 5.4 for ArcGIS functionality. The 5.5 release notes imply that QOpenGLWidget will still not be included, which is discouraging. I'd prefer not to kludge something that works based on QGLWidget, which is going away....

      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