Changes for Qt4->Qt5