small Qt5 fixes