sorry i forgot to say that i am on Python 2.6.5.

thanks,
Jun

On Thu, Feb 2, 2012 at 6:29 PM, Jun Koi <[email protected]> wrote:
> hi,
>
> i am using the latest PySide 1.1.0, Qt 4.6.2 on Ubuntu. the simple
> code below complains:
>
> "AttributeError: 'module' object has no attribute 'QString'"
>
> how can i fix the problem?
>
> many thanks,
> Jun
>
> #####
> import sip
> sip.setapi('QString', 2)
>
> import sys
> from PySide import QtGui, QtCore
>
> QtCore.QString("aaa")
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to