Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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