fix call to python module
parent
68475197f4
commit
21168d1c1f
|
@ -16,7 +16,7 @@ ApplicationWindow {
|
||||||
py.addImportPath(Qt.resolvedUrl('../src/pyPackages/pillow-i686'));
|
py.addImportPath(Qt.resolvedUrl('../src/pyPackages/pillow-i686'));
|
||||||
}
|
}
|
||||||
py.importModule('main',function(){
|
py.importModule('main',function(){
|
||||||
py.call("helloworld",[])
|
py.call("main.helloWorld",[])
|
||||||
pageStack.push(Qt.resolvedUrl("Main.qml"))
|
pageStack.push(Qt.resolvedUrl("Main.qml"))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue