[Interest] Template-derived classes using MOC

Thiago Macieira thiago.macieira at intel.com
Sat Sep 5 17:46:29 CEST 2015


On Saturday 05 September 2015 07:46:04 Curtis Mitch wrote:
> What about something like this:
> 
> http://stackoverflow.com/a/4238243/904422
> 
> Is that also OK?

No, QObject must be the first (primary) base. If you invert the inheritance 
order in WordDictionary, it should be fine.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list