The Quantum Physicist
The Quantum Physicist

Reputation: 26256

Are exceptions supported in Qt 5?

In the new version of Qt, it's not possible to pass the command-line parameter -exceptions when configuring. So are exceptions there or not? I use exceptions in my programs a lot. So if exceptions are disabled once and for all... then that's bad news!

Can you guys please explain what happened with exceptions in Qt 5?

Upvotes: 3

Views: 1144

Answers (1)

MSalters
MSalters

Reputation: 179779

The ability to disable exceptions was originally introduced to deal with pre-standard compilers. Qt has been around a long time.

Today, all compilers supported by Qt support exceptions, so there's no longer a need to disable them.

Upvotes: 8

Related Questions