[PyKDE] "pure virtual method called"

Jim Bublitz jbublitz at nwinternet.com
Thu Mar 24 21:23:31 GMT 2005


On Thursday 24 March 2005 11:05, Simon Edwards wrote:
> Hi all,
>
> If I play this this code (see attachment) I quickly run up against a crash
> or the message "pure virtual method called" and then a crash.
>
> I'm overriding createView(), but my version should right now behave exactly
> the same as the KDE one. ideas?

SetupMenu expects an int and you're passing enum values. If I do the 
conversion to int, it works fine here.

Jim




More information about the PyQt mailing list