The continuing saga of developing simtoi for mac has exposed a problem with Qt versions earlier than version 5. In the current version of simtoi on mac an opengl error is generated at line 161 of CSphere.cpp. The line is "glGenVertexArrays(1, &mVAO);". This error and others are a result of an incorrrect opengl version being called.
The continuing saga of developing simtoi for mac has exposed a problem with Qt versions earlier than version 5. In the current version of simtoi on mac an opengl error is generated at line 161 of CSphere.cpp. The line is "glGenVertexArrays(1, &mVAO);". This error and others are a result of an incorrrect opengl version being called.
Running the code from http://stackoverflow.com/questions/24873533/changing-the-opengl-context-version-for-qglwidgets-in-qt-4-8-6-on-os-x reveals that the opengl version being generated is 1.0 and the version requested is 3.2.
The supposed fix for this is switching the Qt version to version 5.