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 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
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on 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 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

        • Login

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