Details
Description
auto/qsequentialanimationgroup fails to build with the below error. The attached patch fixed it for me.
this is in current git
gmake[3]: Entering directory `/export/home/test/tmp/qt/tests/auto/qsequentialanimationgroup'
/export/home/test/tmp/qt/bin/moc -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I/usr/local/Trolltech/Qt-4.7.0/mkspecs/solaris-cc -I. -I../../../include/QtCore -I../../../include -I../../../include/QtTest -I.moc/release-shared -I/usr/sfw/include tst_qsequentialanimationgroup.cpp -o .moc/release-shared/tst_qsequentialanimationgroup.moc
/usr/bin/CC -c -features=extensions -library=no%Cstd -library=Crun -lstdcxx4 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/stdcxx4/ -I/usr/include/stdcxx4/ansi -I/opt/kde4/include -O2 -mt -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I/usr/local/Trolltech/Qt-4.7.0/mkspecs/solaris-cc -I. -I../../../include/QtCore -I../../../include -I../../../include/QtTest -I.moc/release-shared -I/usr/sfw/include -o .obj/release-shared/tst_qsequentialanimationgroup.o tst_qsequentialanimationgroup.cpp
"tst_qsequentialanimationgroup.cpp", line 384: Error: Could not find a match for QTest::qCompare<QTest::T>(QAbstractAnimation*, QPropertyAnimation*, const char[25], const char[14], const char[34], int) needed in tst_QSequentialAnimationGroup::setCurrentTimeWithUncontrolledAnimation().
"tst_qsequentialanimationgroup.cpp", line 394: Error: Could not find a match for QTest::qCompare<QTest::T>(QAbstractAnimation*, QPropertyAnimation*, const char[25], const char[14], const char[34], int) needed in tst_QSequentialAnimationGroup::setCurrentTimeWithUncontrolledAnimation().
2 Error(s) detected.