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

Crash on QWidget()

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes