![]() Registered Member ![]()
|
In Python 3 there are no QStrings in both pyqt4 and pyside
But I have problem with passing str as QString in python3:
http://api.kde.org/pykde-4.7-api/kdecor ... esourceDir PyKDE 4.8.95 |
![]() Administrator ![]()
|
Have you tried passing a unicode string instead of a standard string?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
in python 3 all strings are unicode just as in Qt. u'str' gives invalid syntax. |
![]() Administrator ![]()
|
Sorry about that, used to working with Python 2. u'str' is Python 2 syntax...
Have you tried using QString directly? from PyQt4.QtCore import QString
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient