Open tobscher opened 9 years ago
I have the same problem using both this and QT (C++) on Yosemite. This is an OSX limitation apparently. OSX can only create Core profiles.
For example, If I request a 3.3 Compatability Profile Context I am returned with a 2.1 Core Context. But if I request a 3.3 Core Profile Context, it creates a 4.1 Core Context. This is just the way OSX is.
Hi @mpiannucci,
thanks for your reply, that is good to know.
My problem is that I can't create contexts which are higher than 2.1 (not even core profiles).
I have however successfully tried to obtain a 3.3 core context using GLFW (via go-gl/glfw3. They set a forward compatibility flag on OSX to obtain the correct context. Is this somehow related? Can you perhaps only obtain a core profile if the forward compatibility flag is set? Source: http://www.glfw.org/docs/latest/compat.html#compat_osx
Is it possible to set this flag using go-qml?
Thanks for any help.
I havent got it to work with go-qml yet. I have gotten it to wokr with C++ and QT 5.3. I believe it is a limitation of qml and Core profiles as seen here https://bugreports.qt.io/browse/QTBUG-38817
Is your C++ example available on GitHub?
Hi,
I am running into issues requesting an OpenGL context > 2.1 OSX. Do you know if this is a QML limitation I should be aware of? According to this resource I should be able to run OpenGL 4.1.
This is the error I am getting:
Thanks for your help.
Tobias