On Tuesday 27 May 2008 01:00:01 Alexander Neundorf wrote:
> Let's say I have this header file foo.h:
>
> #include <QtCore/QObject>
>
> #ifdef Q_OS_UNIX
>
> class Foo:public QObject
> {

add here:
        Q_OBJECT

>    signals:
>       void fooChanged();
> };
>
> #endif
>
>
> Now if I run moc on a Mac on this, I get "No relevant classes found":
> $ moc -I/Library/Frameworks/QtCore.framework/Headers foo.h
>
> How do I do this so that it works, i.e. so that moc finds and reads
> <QObject> ?


-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to