On Thursday 10 May 2012 20:17:34 lars.kn...@nokia.com wrote:
> On 5/10/12 5:13 PM, "ext Olivier Goffart" <oliv...@woboq.com> wrote:

> >There is also QtConcrrent which is not part of QtCore anymore and has
> >some
> >exception handling possibilities.
> 
> At least currently it doesn't use any try/catch statements.

Look again in qtconcurrentrunbase.h and qtconcurrentthreadengine.cpp.
The QtConcurrent::Exception are forwarded from the thread to the QFuture 
calls.

> >And I think -no-exception could stay to disable exception even in QtCore
> >if someone  still want to reduce the footprint
> 
> I'm not sure it's worth it. We probably gain more by removing one more
> configuration option that we'd otherwise need to maintain and test.
> 
> If we really want to remove that overhead the better option would probably
> be to only compile the files that need it with exceptions enabled.
> 
> Cheers,
> Lars

-- 
Olivier

Woboq - Qt services and support - http://woboq.com
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to