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

scriptableapplication: qApp returns QCoreApplication instead of QApplication

    XMLWordPrintable

Details

    • c0ce6747df8a28ebab37a2ef5cda7d0db4e51793 (pyside/pyside-setup/5.14)

    Description

      When using scriptableapplication if you run:

      print(qApp)
      

       you will get a QCoreApplication instance, instead of a QApplication from the C++ application.

      This doesn't allow for the integration to work around QApplications methods like focusWidget which fails because is only a part of QApplication.

      Attachments

        Issue Links

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

          Activity

            People

              ctismer Christian Tismer
              poikelin Joni Poikelin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes