Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2940

Crash on QWidget()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.8.1
    • PySide
    • None

      The Python interpreter crashes on

      from PySide6.QtWidgets import QWidget; QWidget()
      

      The error message is clear, yet I think Python should not crash:

      > QWidget: Must construct a QApplication before a QWidget

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            crmaurei Cristian Maureira-Fredes
            bers bers bers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes