[PyKDE] invalid type for QSizePolicy()
Bruno Castro da Silva
brunocs at gmail.com
Tue Aug 23 17:55:54 BST 2005
Hi all,
I recently installed Kubuntu and I'm facing some problems when I try
to run one of my pyqt projects, which I started on a Fedora distro.
When I try to run it, the following error occurs:
TypeError: argument 1 of QSizePolicy() has an invalid type.
I am aware that this error has been discussed here before, but I can't
seem to solve the problem. I'm using Qt 3.3.3, KDE 3.4.0 and pyuic
3.13 for Qt version 3.3.3.
I tried to regenerate the py file using pyuic but it didn't solve. In
fact, I started a dummy application from scratch to see if the problem
was in some weirdness in my .ui, but it wasn't.
Can anyone give me a hint on how to solve this? I googled around and
found a web site for some random app which says that the solution is
to comment the lines which are causing the errors. Of course I can't
do that :-)
Thanks in advance,
Bruno
More information about the PyQt
mailing list