fix for compilation with Qt5.1