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. [SOLVED] Setting QOpenglContext version on Mac OSX (Qt 5.3)
QtWS25 Last Chance

[SOLVED] Setting QOpenglContext version on Mac OSX (Qt 5.3)

Scheduled Pinned Locked Moved General and Desktop
4 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
    Korchkidu
    wrote on last edited by
    #1

    Hi,

    on windows, I can set the opengl context version to 3.2 and it works fine. On Mac OSX however, it seems to put a real mess everywhere... It I do not change anything, then I get a 2.1 opengl context which is not what I want ideally.

    Is there anyone there who managed to change the opengl version on Mac OSX?

    Thanks for any help.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      Korchkidu
      wrote on last edited by
      #2

      Ok, to summarize: do NOT even try it, it will NOT work... Qt OpenGLContext on Mac OSX is a complete mess it seems^^'

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        ZapB
        wrote on last edited by
        #3

        On OS X only a core profile is supported. So create a QSurfaceFormat that requests a core profile context. This is not a Qt limitation. Apple only implemented the core profile for OpenGL >= 3.2 as required by the spec. The compatibility profile is optional.

        Nokia Certified Qt Specialist
        Interested in hearing about Qt related work

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          ZapB
          wrote on last edited by
          #4

          On OS X only a core profile is supported. So create a QSurfaceFormat that requests a core profile context. This is not a Qt limitation. Apple only implemented the core profile for OpenGL >= 3.2 as required by the spec. The compatibility profile is optional.

          Nokia Certified Qt Specialist
          Interested in hearing about Qt related work

          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