Porting to Qt5.

Port done to Qt5, with animations working in Wayland.