From 625dbf4edd3a1057e525c68c319e4525741ceaaa Mon Sep 17 00:00:00 2001 From: mread Date: Fri, 28 Aug 2009 09:42:31 +0100 Subject: Fix for "Undefined symbol typeinfo for std::exception" in armv5 build It seems that the use of QT_TRYCATCH_LEAVING, which expands to ...catch(const std::exception&)... requires access to the typeinfo for std::exception. This cannot be found in any import library (probably an OpenC defect). But this workaround creates the necessary info for the link. Otherwise this change has no effect. Reviewed-by: jbarron --- src/plugins/s60/src/qdesktopservices_3_2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/s60/src/qdesktopservices_3_2.cpp b/src/plugins/s60/src/qdesktopservices_3_2.cpp index fab1237..e8f4a27 100644 --- a/src/plugins/s60/src/qdesktopservices_3_2.cpp +++ b/src/plugins/s60/src/qdesktopservices_3_2.cpp @@ -50,6 +50,7 @@ EXPORT_C QString localizedDirectoryName(QString& rawPath) { QString ret; + std::exception dummy; // voodoo fix for "Undefined symbol typeinfo for std::exception" in armv5 build TRAPD(err, QT_TRYCATCH_LEAVING( -- cgit v0.12