Fixed Qt5 compilation.