Qt Forum

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

    Weird UI issues when using OpenGL on Mac OS

    General and Desktop
    2
    3
    1117
    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.
    • V
      Violet Giraffe last edited by

      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 Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        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 Reply Quote 0
        • V
          Violet Giraffe last edited by

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