[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-buildsystem
Subject: problem with moc when Qt built as framework
From: Alexander Neundorf <neundorf () kde ! org>
Date: 2008-05-26 23:00:01
Message-ID: 200805270100.01530.neundorf () kde ! org
[Download RAW message or body]
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
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic