[Qt5-feedback] new Qt5 - great! - but: What about exceptions?
Robin Burchell
viroteck at viroteck.net
Fri May 13 23:45:11 CEST 2011
On 13/05/11 22:11, Iván Todorovich wrote:
> There could be a precompiler flag like QT_THROW_EXEPTIONS to
> enable/disable and maintain source compatibility with old
> applications, AND keep evolving at the same time.
Which then puts application authors in a position where they don't
*know* how the library they're using will report errors, thus, system
upgrades could suddenly break applications. I'm not sure that sounds
like a very good option.
(Plus you'd then end up in the awkward situation of having error code
return values - or as pointer/reference uses in some cases, as well as
an exception.)
--
Robin Burchell
http://rburchell.com
More information about the Qt5-feedback
mailing list