#include <QtGui/qwindowdefs.h> #ifndef QWINDOWDEFS_H typedef class QList < struct QWidget* > QWidgetList; #endif // QWINDOWDEFS_H