version working with Qt5