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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.