From 10:00 CET Friday 22nd November we will adjust how the server works to deal with some recently reported problems. Therefore there may be a load problem, if you experience more problems than usual trying to access the forum then please PM AndyS or any of the moderators so they can inform me.


Qt5 + OpenGL fails to run under Qt Creator



  • Hi!

    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.

    Error messages:
    libGL error: No matching fbConfigs or visuals found
    libGL error: failed to load driver: swrast
    Unrecognized OpenGL Version

    Versions:
    qt5-qtbase-devel: 5.5.0
    mesa-libGL-devel: 10.6.3-3.20150729
    qt-creator: 3.5.0-1

    Any help is appreciated.