Now compiles also under Qt5