Hi Pekka,

It's caused by Symbian being compiled with different compiler/linker options to 
Qt for Symbian, and is safe to ignore.
You can load features/symbian/armcc_warnings.prf to hide this warning (but note 
it also hides some warnings that are useful in general but have too many false 
positives in the Qt code base)

Specifically:
Qt declares DLL exports per class, but Symbian declares DLL exports on 
individual class member functions.
Symbian uses a compiler option to force vtable and typeinfo to be exported for 
all classes, while with Qt, only classes which are exported will  have their 
vtable and typeinfo exported too.
This causes a conflict when Qt code is using symbian headers - the Qt code 
thinks the class typeinfo isn't visible (STV_HIDDEN), while the import library 
being linked against says that it is.

--
Communications with Accenture or any of its group companies ("Accenture Group") 
including telephone calls and emails (including content), may be monitored by 
our systems for the purposes of security and the assessment of internal 
compliance with company policy. Accenture Group does not accept service by 
e-mail of court proceedings, other processes or formal notices of any kind.

Accenture means Accenture (UK) Limited (registered number 4757301), Accenture 
Technology Solutions Limited (registered number 4442596), or Accenture HR 
Services Limited (registered number 3957974), all registered in England and 
Wales with registered addresses at 30 Fenchurch Street, London EC3M 3BD, as the 
case may be.

From: [email protected] 
[mailto:[email protected]] On Behalf Of 
[email protected]
Sent: Tuesday, May 03, 2011 06:46
To: [email protected]
Subject: [Qt-qml] QT_TRAP_THROWING warning

Hi,
I'm trying to use the macro, but I get a warning:
Warning: L6780W: STV_HIDDEN visibility removed from symbol 'typeinfo for 
XLeaveException' through IMPORT.

Any ideas what causes this?

Thanks,
-Pekka



________________________________
This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to