Nominate our 2022 Qt Champions!

Undefined symbol QSurfaceFormat::setDefaultFormat



  • Hello :) ,
    In my application Im linking against Qt5Widgets and Qt5Gui (which I assume gets linked anyway with widgets)
    Everything works great except Im getting undefined symbol at runtime for the static function of setDefaultFormat for QSurfaceFormat.
    Compilation works, just at runtime.
    I have no problem accessing other functions under QSurfaceFormat.
    linux gcc4.9/clang3.5
    Any idea what Im doing wrong?
    Thanks :)



  • Sorry, my bad, was linking against v5.3 and not v5.4


Log in to reply