[port] Port to Qt5/QtQuick2