summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormread <qt-info@nokia.com>2009-08-28 09:42:31 +0100
committermread <qt-info@nokia.com>2009-08-28 09:48:02 +0100
commit625dbf4edd3a1057e525c68c319e4525741ceaaa (patch)
treea181ea4cc785c689fc1cbb360e4d9ac9b1f1bd33
parent8ff968cc37c34121dc6a458df0d4d39850a54bff (diff)
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
-rw-r--r--src/plugins/s60/src/qdesktopservices_3_2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/s60/src/qdesktopservices_3_2.cpp b/src/plugins/s60/src/qdesktopservices_3_2.cpp
index fab1237524..e8f4a27fa1 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(