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

Embedded Python/PySide QApplication::Instance() returns QCoreApplicationWrapper instance

    XMLWordPrintable

Details

    • All, Windows

    Description

      When PySide is embedded (Autodesk 3dsMax 2020 in this case) the QApplication::Instance() returns instance of QCoreApplicationWrapper instead of QApplicationWrapper. The fix is to register the qApp instance in QtWidgets import it if exists. I have attached the patch.

      Attachments

        1. qapp_patch.diff
          2 kB
          Roman Zawada
        2. qpp_patch_5.12.4.diff
          3 kB
          Roman Zawada

        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
              zwadar.cz Roman Zawada
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes