From dbf35e498db723ae9850686e462ec4f45bc7b67c Mon Sep 17 00:00:00 2001 From: Matthew Vogt Date: Tue, 31 Jan 2012 11:22:08 +1000 Subject: Modify QtQuick1 to build in Qt5 Change-Id: I1c5ccaef420e8f119e761f50b969127f430df7ba Reviewed-by: Martin Jones --- .../qdeclarativeanimatedimage/qdeclarativeanimatedimage.pro | 7 +++++-- .../tst_qdeclarativeanimatedimage.cpp | 10 +++++----- 2 files changed, 10 insertions(+), 7 deletions(-) (limited to 'tests/auto/declarative/qdeclarativeanimatedimage') diff --git a/tests/auto/declarative/qdeclarativeanimatedimage/qdeclarativeanimatedimage.pro b/tests/auto/declarative/qdeclarativeanimatedimage/qdeclarativeanimatedimage.pro index 3d040a67..811fa4cb 100644 --- a/tests/auto/declarative/qdeclarativeanimatedimage/qdeclarativeanimatedimage.pro +++ b/tests/auto/declarative/qdeclarativeanimatedimage/qdeclarativeanimatedimage.pro @@ -1,5 +1,8 @@ -load(qttest_p4) -contains(QT_CONFIG,declarative): QT += declarative network +CONFIG += testcase +TARGET = tst_qdeclarativeanimatedimage + +QT += testlib +contains(QT_CONFIG,quick1): QT += quick1 quick1-private network HEADERS += ../shared/testhttpserver.h SOURCES += tst_qdeclarativeanimatedimage.cpp ../shared/testhttpserver.cpp macx:CONFIG -= app_bundle diff --git a/tests/auto/declarative/qdeclarativeanimatedimage/tst_qdeclarativeanimatedimage.cpp b/tests/auto/declarative/qdeclarativeanimatedimage/tst_qdeclarativeanimatedimage.cpp index 19853c4e..147f8556 100644 --- a/tests/auto/declarative/qdeclarativeanimatedimage/tst_qdeclarativeanimatedimage.cpp +++ b/tests/auto/declarative/qdeclarativeanimatedimage/tst_qdeclarativeanimatedimage.cpp @@ -39,17 +39,16 @@ ** ****************************************************************************/ #include -#include -#include -#include +#include +#include +#include #include #include #include #include -#include +#include #include "../shared/testhttpserver.h" -#include "../../../shared/util.h" #ifdef Q_OS_SYMBIAN // In Symbian OS test data is located in applications private dir @@ -191,6 +190,7 @@ void tst_qdeclarativeanimatedimage::mirror_running() QPixmap frame1_expected = frame1.transformed(transform); QCOMPARE(frame0_flipped, frame0_expected); + QEXPECT_FAIL("", "QTBUG-19538", Continue); QCOMPARE(frame1_flipped, frame1_expected); } -- cgit v1.2.3