Qt project with exception handling mechanism
-
I am aware that exception handling has a limited support in Qt. However, I desire to study source code of a Qt project that has used exception handling, just so to see to what extent I should be using it, if at all. I couldn't find a known Qt project that does this, though.
Could anybody point me to such a project - high code quality as well as exception handling mechanism? -
Hi,
Qt doesn't use exception for some reasonexceptions are very CPU consuming;
exceptions are not fully supported on all platforms;
However you can write your Qt code using exceptions.
-
Yes, I am aware of those points. Nevertheless, I wanted to see if some nice projects has already put exceptions in use, so that I can study how safely I can use them myself.
Qt doesn't use exceptions for part historical reasons. I bet if the framework had been created in recent years, we would have seen it using a lot of exceptions.
I heard Qt's recent libraries uses exceptions. If there are no other projects, I would like to be pointed out to those libraries too.[quote author="mcosta" date="1379602425"]Hi,
Qt doesn't use exception for some reasonexceptions are very CPU consuming;
exceptions are not fully supported on all platforms;
However you can write your Qt code using exceptions.[/quote]