| 1 |
import QtQuick 2.3 |
| 2 |
|
| 3 |
import io.thp.pyotherside 1.5 |
| 4 |
|
| 5 |
Rectangle { |
| 6 |
property bool ready: false; |
| 7 |
property alias py: py; |
| 8 |
Python { |
| 9 |
id: py |
| 10 |
Component.onCompleted: { |
| 11 |
addImportPath(Qt.resolvedUrl('.')); |
| 12 |
importModule('test_functions', function() { |
| 13 |
ready = true; |
| 14 |
}); |
| 15 |
} |
| 16 |
} |
| 17 |
} |