From 813fc3574a006cb2687715ccf7bdb984a485b173 Mon Sep 17 00:00:00 2001 From: Jason Barron Date: Wed, 29 Jul 2009 10:47:43 +0200 Subject: Fix compilation of QTestLib on Symbian. Open C doesn't support signals so #ifdef this code out. --- src/testlib/qtestcase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp index a8a4b1a..e2e385a 100644 --- a/src/testlib/qtestcase.cpp +++ b/src/testlib/qtestcase.cpp @@ -1425,7 +1425,7 @@ static void qInvokeTestMethods(QObject *testObject) QTestLog::stopLogging(); } -#ifdef Q_OS_UNIX +#if defined(Q_OS_UNIX) && !defined(Q_OS_SYMBIAN) class FatalSignalHandler { public: @@ -1601,7 +1601,7 @@ int QTest::qExec(QObject *testObject, int argc, char **argv) } else #endif { -#ifdef Q_OS_UNIX +#if defined(Q_OS_UNIX) && !defined(Q_OS_SYMBIAN) FatalSignalHandler handler; #endif qInvokeTestMethods(testObject); -- cgit v0.12