[Qt-interest] error in moc file

Stephen Jackson spjackson42 at gmail.com
Thu Mar 18 09:33:57 CET 2010


On 18 March 2010 07:07, Ramesh wrote:
>
> I have a class inherited from Qwidget and Qlistview and I have mentioned the
> public slot in my class
>

If you mean that you are doing this
    class SomeClass : public QWidget, public QListView
then it is not supported. See the section on Multiple Inheritance here
http://qt.nokia.com/doc/4.6/moc.html

If that's not it, then we need to see your class declaration and error message.

-- 
Cheers,

Stephen Jackson



More information about the Qt-interest-old mailing list