Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 7

Qt-interest Archive, March 2002
Qt and exceptions


Message 1 in thread

Hi,

What happens, if Qt is built with
 configure -no-g++-exceptions
?

Are the exceptions only disabled for the Qt code?

Can I still use exceptions (trythrowcatch) 
within _my_ routines that are using Qt?

So for example: Could I catch an exception of 
any of my routines and then open a QDialog 
and tell the user about it?

thx!
AndreasKrueger


Message 2 in thread

Andreas Krueger wrote:
> Hi,
> 
> What happens, if Qt is built with
>  configure -no-g++-exceptions
> ?
> 
> Are the exceptions only disabled for the Qt code?
> 

yes

> Can I still use exceptions (trythrowcatch) 
> within _my_ routines that are using Qt?

yes

> So for example: Could I catch an exception of 
> any of my routines and then open a QDialog 
> and tell the user about it?
> 

yes

> thx!
> AndreasKrueger
> 
> --
> List archive and information: http://qt-interest.trolltech.com
> 
> 
> 



-- 
 [ signature omitted ]