[Qt4-preview-feedback] Build Fails on Linux:

Tom Browder tom.browder at gmail.com
Sat Feb 7 18:43:39 CET 2009


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



More information about the Qt4-feedback mailing list