segfault with first GUI test in test suite with PyQt/PySide 6
It has been observed in tests, with PyQt 6/PySide 6 the first test with a real GUI causes a segfault.
Reason is: there is a QCoreApplication
created for running an event loop for waiting for events
if no application is created before, but this application is not deleted afterwards - in the new Qt version
when the normal QApplication
is created it crashes.
NB: this is only in tests, since in reality there is 1 QApplication
first.