kdelibs build issue in tests/ktabwidget_unittest.cpp
David Faure
faure at kde.org
Wed Apr 7 12:59:33 CEST 2010
On Wednesday 07 April 2010, Pavel Heimlich, a.k.a. hajma wrote:
> Hi,
> kdelibs fails on OpenSolaris/Sun Studio with
> "/.../srcdir/kdeui/tests/ktabwidget_unittest.cpp", line 105: Error:
> Could not find a match for QTest::qCompare<QTest::T>(QWidget*,
> KLineEdit*, const char[23], const char[13], const char[80], int)
> needed in KTabWidget_UnitTest::testMoveTab().
>
> I'd expect http://websvn.kde.org/?view=revision&revision=1110400 to be
> the one and the problem to lie in a missing cast, I haven't played
> with it however.
Fixed in r1112097.
> It's interesting, that although the Qt doc says "Note: QCOMPARE is
> very strict on the data types. Both actual and expected have to be of
> the same type, otherwise the test won't compile.", it apparently
> compiles with gcc without a glitch.
Yep, no idea how and why, but this makes me fall into that trap all the time
(breaking the OpenSolaris build).
--
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).
More information about the Kde-buildsystem
mailing list