Just to make it clear, creating the correct type doesn't help:

from PyKDE4.kdecore import KAboutData, ki18n
from PyQt4.QtCore import QByteArray
aboutData = KAboutData("", "", ki18n(""), "")
aboutData = KAboutData(QByteArray(""), QByteArray(""), ki18n(""), 
QByteArray(""))

Gives the following:

Python 2.5.2 (r252:60911, May 28 2008, 08:35:32)
[GCC 4.2.4 (Debian 4.2.4-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyKDE4.kdecore import KAboutData, ki18n
>>> from PyQt4.QtCore import QByteArray
>>> aboutData = KAboutData("", "", ki18n(""), "")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: argument 1 of KAboutData() has an invalid type
>>> aboutData = KAboutData(QByteArray(""), QByteArray(""), ki18n(""), 
QByteArray(""))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: argument 1 of KAboutData() has an invalid type

Chris
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to