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. Weird UI issues when using OpenGL on Mac OS

Weird UI issues when using OpenGL on Mac OS

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.3k 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.
  • V Offline
    V Offline
    Violet Giraffe
    wrote on 7 Feb 2013, 12:32 last edited by
    #1

    I'm making a desktop Qt application with widgets and OpenGL and having weird GUI performance and appearance issues. I do not use QtOpenGl. The problems are on Mac, doesn't happen on Windows (with Qt5 built with -opengl desktop). Also, this is only happening when using frame buffer. The openGL window creation/initializtion code is scattered across several classes and not very concise so I'm not posting any code yet. Any general ideas on how OpenGL initialization can hinder Qt widgets?

    P. S. Everything was fine with Qt 4.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 7 Feb 2013, 13:26 last edited by
      #2

      No, by default QtWidgets do not use OpenGL. Dependency is there because QtGui requires it (to say it again, though: widgets are still painted using raster engine. Which got 25% faster in Qt5, by the way).

      (Z(:^

      1 Reply Last reply
      0
      • V Offline
        V Offline
        Violet Giraffe
        wrote on 7 Feb 2013, 13:34 last edited by
        #3

        Thank you. That is unexpected. Do you have any idea of how inserting OpenGL window into Qt window hierarchy might affect UI performance and even appearance?

        1 Reply Last reply
        0

        1/3

        7 Feb 2013, 12:32

        • Login

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