![]() Thank you for your reply (I had already read this article, very useful even if not exactly my case as I think this problem might be qtQuick/OSX specific). I then tried replacing the currentContext with a new one in the renderer (I store the * ctx = new 2.1 context with no profile, and if I print out the result of makeCurrent(), I get a beautiful "0", meaning it failed. I tried declaring a new f(QOpenGLContext::currentContext()->format()) į.setProfile(QSurfaceFormat::CoreProfile) į.setVersion(3,2) // I tried 3.0, 3.2, 3.3, 4.0, luck. (I'm just using the example code without any modification) If I print out the current QOpenGLContext format I can see the current version is still 2.1. Well, kind of : the very simple example scene works flawlessly but it is because it doesn't need more than a 2.1 openGL context. So, for debugging purpose, I took the basic "OpenGL under QML": tutorial and tried it on my macbook to see if it works out of the box. ![]() All of my shaders are rejected at compilation because they're made for a GLSL version greater than 3.0 (core profile). ![]() I have been trying to port my c++/qml/openGL project from linux to mac OS X 10.10 for several hours without any luck (it worked perfectly under linux).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |