[Solved](PySide) in QtCore.Property(unicode, name, notify=changed), error with unicode
-
Hello,
Following this "tutorial":http://qt-project.org/wiki/Selectable-list-of-Python-objects-in-QML i have this error :
(in ThingWrapper for ex) in line : @ name = QtCore.Property(unicode, name, notify=changed)@
NameError: name 'unicode' is not defined
Does someone have any clue ?Thanks
(I am using python 3.3 and PySide 1.2.2)
-
Hi,
AFAIK, unicode of Python2 is equivalent to str in Python3, you could try with that.
Hope it helps