[Qt-interest] MOC warning: No relevant classes found. No output generated.

James Yan james.alps at gmail.com
Sun Sep 5 10:24:53 CEST 2010


the warning disappear, when i re-create .pro file by qmake -project on
windows XP.
just wonder, is .pro file just text format right? why could not use the one
copied from Mac OS X directly?

On Sun, Sep 5, 2010 at 3:31 PM, James Yan <james.alps at gmail.com> wrote:

> hey guys,
>
>   i have a qt project works fine on Mac OS X (leopard @ MBP), now i try to
> make it get complied on windows XP( with VS2008 express), i got the MOC
> warning as title, then i got errors caused by those warning (no output
> generated, so no special moc-ed file will be found.).
>
>   after googling, it seems the MOC skip a "non-qt" class, but i'm sure
> those class are qt powered, and have Q_OBJECT and singal/slots.
>
>   what's wrong with it?
> thanks.
>
> regards,
> James
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100905/174b0c2a/attachment.html 


More information about the Qt-interest-old mailing list