Porting to qt5/quick2