Learning PySide. I tried below in my idle IDE to call qCompress() but failed. Can anyone help me?
>>> from PySide import QtCore
>>> QtCore.qCompress("test")
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
QtCore.qCompress("test")
AttributeError: 'module' object has no attribute 'qCompress'
Looks like PySide haven’t added that yet. PyQt4 has this function. The code below works.
code
output