kdelibs build issue in tests/ktabwidget_unittest.cpp

Pavel Heimlich, a.k.a. hajma tropikhajma at gmail.com
Wed Apr 7 00:33:43 CEST 2010


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.

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.

regards

hajma


More information about the Kde-buildsystem mailing list