Fix simple_test_app compilation with Qt < 5.2

Change-Id: I3b903eb790e27e21d7759b989adf1e5077410677
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Orgad Shaneh
2013-12-18 18:57:57 +02:00
committed by hjk
parent 83a3705912
commit 9c2923b05f
@@ -152,10 +152,6 @@ void dummyStatement(...) {}
#include <QSharedPointer>
#endif
#if USE_TIMEZONE
#include <QTimeZone>
#endif
#if USE_GUILIB
#include <QAction>
#include <QApplication> // QWidgets: Separate module as of Qt 5
@@ -168,8 +164,10 @@ void dummyStatement(...) {}
#include <QStandardItemModel>
#include <QTextCursor>
#include <QTextDocument>
#if USE_TIMEZONE
#include <QTimeZone>
#endif
#endif
#if USE_SCRIPTLIB
#include <QScriptEngine>
@@ -711,10 +709,12 @@ namespace qdatetime {
void testQTimeZone()
{
#if USE_TIMEZONE
QTimeZone zz;
QTimeZone tz("UTC+05:00");
BREAK_HERE;
dummyStatement(&zz, &tz);
#endif
}
void testQDate()