Include qobject_p.h from qmetaobject_p.h

Needed for QObjectPrivate::Connection. Since it's a nested class,
it's not possible to merely forward declare it.

Change-Id: Ie2ad1b3972df5433cdb49ee443f053ba2d613779
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Kent Hansen 2012-05-27 21:57:54 +02:00 committed by Qt by Nokia
parent ec508e9a6a
commit 704bd68631
1 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,9 @@
#include <QtCore/qglobal.h>
#include <QtCore/qobjectdefs.h>
#ifndef QT_NO_QOBJECT
#include <private/qobject_p.h> // For QObjectPrivate::Connection
#endif
QT_BEGIN_NAMESPACE