This problem is first refernced in this message:

http://lists.trolltech.com/pipermail/qt4-preview-feedback/2009-February/000389.html

I suspect the nested #ifdef"s are the problem.

I got past the error by commenting out the line in file
"./src/testlib/qtestcase.cpp" that shows as:

    int callgrindChildExitCode; // <== comment this line out

and lifted the declarion to the top of the function like so:



int QTest::qExec(QObject *testObject, int argc, char **argv)
{
    // TB:
#ifdef QTESTLIB_USE_VALGRIND
    int callgrindChildExitCode;
#endif

HTH.

-Tom

Tom Browder
Niceville, Florida
USA
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to