Port to Qt5/PyQT5/QtQuick2.0