Hi,

I don't know how to get moc to work on OSX as we want if Qt is built as 
frameworks (i.e. the Qt 4.4.0 dmg file from Trolltech ftp).

Let's say I have this header file foo.h:

#include <QtCore/QObject>

#ifdef Q_OS_UNIX

class Foo:public QObject
{
   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> ?

Alex

P.S. now since Leopard ktrace doesn't exist anymore, how do I check now what 
moc tries to do ?
_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to