Ported to qt5 version of STOPT project.