Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
6.0.0
-
None
Description
executing
import PySide6.QtWidgets
w = PySide6.QtWidgets.QWidget()
leads to the output
QWidget: Must construct a QApplication before a QWidget Aborted (core dumped)
.
While the error "QWidget: Must construct a QApplication before a QWidget" is perfectly fine, a core dump should not happen.
Environment:
Python 3.8.6 (default, Oct 9 2020, 11:59:16) Type 'copyright', 'credits' or 'license' for more information IPython 7.14.0 -- An enhanced Interactive Python. Type '?' for help.
on Ubuntu 20.04 .
Attachments
Issue Links
- is duplicated by
-
PYSIDE-1575 Calling QPixmap.fromImage() without a QApplication instance fails with an error code
- Closed
-
PYSIDE-2940 Crash on QWidget()
- Closed
-
PYSIDE-156 crash in PySide2 if QApplication forgotten
- Open