[qt5] initial work (rebased)