sure --  I have pyside-qt4.7+1.0.0.0~beta2, qt-mobility-opensource-1.2.0, 
 qt-everywhere-opensource-src-4.7.1, on ubuntu 10.10 desktop with python 2.6.6. 
 I'm trying to run 'python 
pyside-pyside-examples/examples/declarative/extending/chapter1-basics/basics.py'
 
which imports everything from QtDeclarative, among others.  the full traceback 
is :
"
Traceback (most recent call last):
  File "basics.py", line 74, in <module>
    qmlRegisterType(PieChart, 'Charts', 1, 0, 'PieChart');
NameError: name 'qmlRegisterType' is not defined
"

I'm not sure what else would be helpful to know -- several of the other pyside 
examples I've tried have worked, but none in the folder about extending.  the 
first 4 chapters fail because of qmlRegisterType, while the last one  gives:
"
Traceback (most recent call last):
  File 
"/foo/pyside-pyside-examples/examples/declarative/extending/chapter5-listproperties/listproperties.py",
 line 80, in <module>
    class PieChart (QDeclarativeItem):
  File 
"/foo/pyside-pyside-examples/examples/declarative/extending/chapter5-listproperties/listproperties.py",
 line 99, in PieChart
    slices = ListProperty(PieSlice, appendSlice)
NameError: name 'ListProperty' is not defined
"

please let me know if you need more information

best,
-d


      
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to