-------- Original-Nachricht -------- > Datum: Sat, 24 Sep 2011 17:01:15 +0200 > Von: Thiago Macieira <[email protected]> > An: [email protected] > Betreff: Re: [Qt5-feedback] Generating headers with moc
> On Saturday, 24 de September de 2011 14:49:50 Peter Kuemmel wrote: > > For instance qobject.h: > > > > #ifndef QOBJECT_H > > #define QOBJECT_H > > > > #ifndef QT_NO_QOBJECT > > > > #include <QtCore/qobjectdefs.h> > > #include <QtCore/qstring.h> > > #include <QtCore/qbytearray.h> > > > > // generated by moc into the build directory > > #include <qobject_moc.h> > > This means that qobject_moc.h depends on qobject.h and qobject.h depends > on > qobject_moc.h. > > make will scream out. > Indeed. Would this work? Content of file 'QObject': #include ".../qobject.h" #include "qobject_moc.h" Peter -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de _______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
