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

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

      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)
      

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

            crmaurei Cristian Maureira-Fredes
            umbralreaper UmbralReaper N/A
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes