Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    QOpenGLWidget works on Desktop but not on Ios

    General and Desktop
    2
    2
    961
    Loading More Posts
    • 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
      kloveridge last edited by

      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 Reply Quote 0
      • T
        teamAR last edited by

        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 Reply Quote 0
        • First post
          Last post