Commit 9c2923b0 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by hjk
Browse files

Fix simple_test_app compilation with Qt < 5.2



Change-Id: I3b903eb790e27e21d7759b989adf1e5077410677
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 83a37059
......@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment