Merge pull request #1 from neversun/master

fix call to python module
master
dasimmet 2016-01-29 19:26:23 +01:00
commit 27dd0a481a
1 changed files with 1 additions and 1 deletions

View File

@ -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"))
}) })
} }