[Qt-interest] Qt 4.8 bug?
Giuseppe D'Angelo
dangelog at gmail.com
Wed May 25 12:03:52 CEST 2011
On Wed, May 25, 2011 at 7:15 AM, Joshua Grauman <jnfo-c at grauman.com> wrote:
> So sorry about the last message, I just realized that the error was
> occurring in an unused class that was lying around in my code(I'm only
> using Qt, no KDE deps, this was my own class, I just happened to start it
> with K, which I'm seeing now was a bad choice!) that I was using to
> experiment and learn about different types of inheritance.
>
> I had defined the class as: class KLineEdit : public virtual QLineEdit
>
> to see how the derived class would inherit the base class and 4.8 didn't
> like that... Thanks as always!
http://doc.qt.nokia.com/4.7/moc.html#multiple-inheritance-requires-qobject-to-be-first
Virtual inheritance with QObject is not supported.
--
Giuseppe D'Angelo
More information about the Qt-interest-old
mailing list