updating to Qt5