1
0
mirror of https://github.com/thp/pyotherside.git synced 2025-02-05 08:08:23 +08:00
2015-06-13 21:15:14 +02:00

23 lines
577 B
QML

import QtQuick 2.0
import io.thp.pyotherside 1.5
Rectangle {
width: 300
height: 300
Python {
id: python
Component.onCompleted: {
addImportPath(Qt.resolvedUrl('.'));
importModule('editor', function () {
call('editor.Crasher', [], function (result) {
console.log('Got result: ' + result);
call('editor.foo', [result], function (res2) {
console.log('res2 = ' + res2);
});
});
});
}
}
}