Initial Qt5 port completed