fixed Qt5 compilation