Forward declare QMetaObject as a struct.

Fixes compiler warnings with clang and others.

Change-Id: I726d4c10644287bb642c8b5dd28172afe8c4d1ea
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Stephen Kelly 2012-03-20 19:16:22 +01:00 committed by Qt by Nokia
parent 0042b5f0f2
commit 8687cf1f99

View File

@ -180,7 +180,7 @@ QT_BEGIN_NAMESPACE
class QDataStream;
class QMetaTypeInterface;
class QMetaObject;
struct QMetaObject;
class Q_CORE_EXPORT QMetaType {
enum ExtensionFlag { NoExtensionFlags,