Changed to Qt5