Qt5 + OpenGL fails to run under Qt Creator
JohnE last edited by
If a make a qmainwindow with a QGLWidget in it and add some gl code to that widget. The program fails to run under qt creator. Running it from terminal works without errors.
I am guessing that I need to add some enviroment variables to my run configuration, but have no clue which ones.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Unrecognized OpenGL Version
Any help is appreciated.