aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/glue/qtscript.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <[email protected]>2021-02-26 14:47:59 +0100
committerFriedemann Kleint <[email protected]>2021-03-10 08:48:07 +0100
commitf7901b0b29e831a3799bd7fc39dbdf5e67271ae8 (patch)
treedfe67473b4bca93cb3eb7e2c7ca41ed121611175 /sources/pyside6/PySide6/glue/qtscript.cpp
parent7cd7141e43e98d4862de3aadf128b0d0080090c9 (diff)
shiboken6: No longer crash on fatal errors
shiboken has some fatal errors which are too deeply nested to catch with return values. Introduce exception handling to handle this. Add an exception class and replace the existing qFatal() calls by a exceptions. Wrap a try/catch around main() and the tester helper. Change-Id: I03243849dc299f7696ef73d9d4123480ac5cbd66 Reviewed-by: Cristian Maureira-Fredes <[email protected]>
Diffstat (limited to 'sources/pyside6/PySide6/glue/qtscript.cpp')
0 files changed, 0 insertions, 0 deletions