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

Calling QPixmap.fromImage() without a QApplication instance fails with an error code

    XMLWordPrintable

Details

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

    Description

      I would expect that it raises an error, instead of just providing an error code.

      from PySide6.QtGui import QImage, QPixmap
      
      image = QImage()
      pixmap = QPixmap.fromImage(image)
      
       Process finished with exit code -1073740791 (0xC0000409)
      

      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
              umbralreaper UmbralReaper N/A
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes