[qt5] Initial port to Qt5