Fix some syncqt warnings.

Change-Id: I6f432ee991f4bde217fa27d4004ef318f1d480e0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Lars Knoll 2012-07-31 20:50:18 +02:00 committed by Qt by Nokia
parent 8f1fd5ecc8
commit 3e3790b2c7
5 changed files with 23 additions and 1 deletions

View File

@ -44,6 +44,9 @@
#include <QtCore/qglobal.h>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
#ifdef QT_NO_CONCURRENT
# define QT_NO_QFUTURE
#endif
@ -58,4 +61,7 @@
# define Q_CONCURRENT_EXPORT
#endif
QT_END_NAMESPACE
QT_END_HEADER
#endif // include guard

View File

@ -61,4 +61,10 @@
# define Q_IS_ENUM(x) QtPrivate::is_enum<x>::value
#endif
// shut up syncqt
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_END_NAMESPACE
QT_END_HEADER
#endif // QISENUM_H

View File

@ -45,6 +45,7 @@
#include <QtCore/qmimetype.h>
#include <QtCore/qstringlist.h>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
class QByteArray;
@ -98,5 +99,6 @@ private:
};
QT_END_NAMESPACE
QT_END_HEADER
#endif // QMIMEDATABASE_H

View File

@ -45,6 +45,7 @@
#include <QtCore/qshareddata.h>
#include <QtCore/qstring.h>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
class QMimeTypePrivate;
@ -110,5 +111,6 @@ protected:
Q_DECLARE_SHARED(QMimeType)
QT_END_NAMESPACE
QT_END_HEADER
#endif // QMIMETYPE_H

View File

@ -50,12 +50,18 @@
#pragma qt_class(QtTestWidgets)
#endif
#include <qtest_gui.h>
#include <QtTest/qtest_gui.h>
#if 0
// inform syncqt
#pragma qt_no_master_include
#endif
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_END_NAMESPACE
QT_END_HEADER
#endif