Wrap QObject usage in qsharedpointer_impl.h with ifndef QT_NO_QOBJECT
authorThiago Macieira <thiago.macieira@intel.com>
Sat, 23 Jun 2012 22:41:57 +0000 (00:41 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sun, 24 Jun 2012 11:32:59 +0000 (13:32 +0200)
commite2d360c04d8be90c06ec076bcc07bbbcdf385fc7
treea6bceade46463d167fa607dcabeea813dda5a938
parentffa249f9da9297e537b30081007a7ce92ae2ea16
Wrap QObject usage in qsharedpointer_impl.h with ifndef QT_NO_QOBJECT

Otherwise, bootstrapped tools like qmake and moc won't compile, unless
QObject is forward-declared (which it isn't anymore).

Change-Id: If67ca1cd8fdb7b29628f9dc4b454595d26a715d0
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/corelib/tools/qsharedpointer_impl.h