from PyQt4 import QtCore
ch = 1
print QtCore.QLatin1Char(ch)
Traceback (most recent call last):
File "test.py", line 4, in <module>
print QtCore.QLatin1Char(ch)
TypeError: argument 1 of QLatin1Char() has an invalid type
Why? QLatin1Char() function needs a argument what type is char, uchar,
as int, isn't it?
Thanks!