diff options
author | Christian Tismer <tismer@stackless.com> | 2021-01-04 19:10:52 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-01-11 15:48:42 +0000 |
commit | db9e8e575538c627f9808592e895a9c544d16c4e (patch) | |
tree | 2babb8174e5c0a4ca8ffa77a6d15ced161035557 /build_scripts/coin_utils.py | |
parent | a2c4cc01db8d09161349e0ac8489063c2d1383e7 (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)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'build_scripts/coin_utils.py')
0 files changed, 0 insertions, 0 deletions