Exceptions / setjmp/longjmp question
Hi,
I have two questions, but need only 1 answer :)
Question A: Is it possible (and if yes, how) to use exceptions in a Qt4 app AND do not have the mingwm10.dll dependency (My app is compiled as statically as possible)
Question B: Do setjmp and longjmp mess Qt up? (I've come up with a way to destruct objects when I longjmp out of a function, so this is not a problem)
Re: Exceptions / setjmp/longjmp question
Quote:
Originally Posted by
Aceman2000
Question A: Is it possible (and if yes, how) to use exceptions in a Qt4 app AND do not have the mingwm10.dll dependency (My app is compiled as statically as possible)
Yes.
Quote:
Question B: Do setjmp and longjmp mess Qt up? (I've come up with a way to destruct objects when I longjmp out of a function, so this is not a problem)
Why would they? Qt is just another set of C++ libraries, nothing more, nothing less. Everything that applies to C++ applies to Qt as well.
Re: Exceptions / setjmp/longjmp question
Thank you. By the way, could you answer the 'how' part of question A?
Re: Exceptions / setjmp/longjmp question