Hi Николай, 2010/12/3 Николай <[email protected]>: > 2010/12/3 Matti Airas <[email protected]>: >> I just happened to notice that Thomas Perl has been quietly cranking out >> PySide QML tutorials in our wiki: >> >> http://developer.qt.nokia.com/wiki/PySideDocumentation > > Unfortunately this one is not working > http://developer.qt.nokia.com/wiki/Selectable_list_of_Python_objects_in_QML > with ubuntu 10.10. > Result is emty window and message: > ile:///home/user/PythonList.qml:18: TypeError: Result of expression > 'model.thing' [undefined] is not an object. > > can this be fixed?
As already mentioned on this thread, you have to use a newer version of PySide. As I'm developing on Ubuntu 10.10 myself, I've taken the instructions from the Wiki page and turned them into a set of scripts: http://qt.gitorious.org/pyside/buildscripts With this, you should be able to install the bleeding edge PySide version alongside the official packages to try stuff out. The buildscripts install into your $HOME by default, so you are not cluttering up your system. Be sure to source the "environment.sh" script before running the examples, so that the PySide version installed into $HOME gets used. If you still have problems running the examples or have suggestions for improvement, feel free to ask ;) HTH. Thomas _______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
