aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtWidgets/bug_785.py
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2021-01-04 19:10:52 +0100
committerChristian Tismer <tismer@stackless.com>2021-01-13 23:08:32 +0100
commitac2a77d7bd84aa01c16916d473b3c77c541b03a8 (patch)
tree6583c2b84533a994fc395ba3d5fb1d4e45bcf722 /sources/pyside2/tests/QtWidgets/bug_785.py
parent5a90b97f79c3062149bed49ab45b745ef848c749 (diff)
allow to use shiboken.delete() to delete Q*Application
This function should initially not allow deleting Q*Application with a shiboken.delete() function, but unfortunately some competitor can do that, so we will as well. Deletion of qApp needs knowledge about qApp. We add a hook function that calls the pyside function `destroyQCoreApplication`. A special problem was testing interactively. See the error description for the days long journey :) Change-Id: I34862425c2cb2cc80d6cafc22d25a867f96f3e0a Fixes: PYSIDE-1470 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 98aba46414b666c27df3904d2b4313f0a16e05dc)
Diffstat (limited to 'sources/pyside2/tests/QtWidgets/bug_785.py')
0 files changed, 0 insertions, 0 deletions