summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestcase.cpp
diff options
context:
space:
mode:
authorJason Barron <jbarron@trolltech.com>2009-07-29 08:47:43 (GMT)
committerJason Barron <jbarron@trolltech.com>2009-07-29 08:47:43 (GMT)
commit813fc3574a006cb2687715ccf7bdb984a485b173 (patch)
treef6ab6d0dd9e02d4bb626905fd985f71b41881fad /src/testlib/qtestcase.cpp
parent77bd318b2892ad2a6beefee84c8e1436f4f7f386 (diff)
downloadQt-813fc3574a006cb2687715ccf7bdb984a485b173.zip
Qt-813fc3574a006cb2687715ccf7bdb984a485b173.tar.gz
Qt-813fc3574a006cb2687715ccf7bdb984a485b173.tar.bz2
Fix compilation of QTestLib on Symbian.
Open C doesn't support signals so #ifdef this code out.
Diffstat (limited to 'src/testlib/qtestcase.cpp')
-rw-r--r--src/testlib/qtestcase.cpp4
1 files 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);