[PyQt] How to start program with QT_NO_EXCEPTIONS

Andreas Pakulat apaku at gmx.de
Fri Feb 12 16:03:54 GMT 2010


On 12.02.10 06:52:25, dizou wrote:
> 
> I was looking through the source code and I found some code like this:
> 
> #if defined(QT_NO_EXCEPTIONS)
>     ...
> #else
>     ...
> 
> So how do I start my program with QT_NO_EXCEPTIONS set to true?

You don't. Thats a preprocessor check, so its only tested while compiling
the code in question.

Andreas

-- 
Good day to deal with people in high places; particularly lonely stewardesses.


More information about the PyQt mailing list