Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Qt / Opengl version problems on mac. #85

Open
matdander opened this issue Sep 4, 2014 · 0 comments
Open

Qt / Opengl version problems on mac. #85

matdander opened this issue Sep 4, 2014 · 0 comments

Comments

@matdander
Copy link
Contributor

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant