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

PySide2 QML hangs without any error message when version >= 5.14.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.14.2, 5.15.0, 5.15.1, 5.14.2.1, 5.14.2.2, 5.15.2, 6.0.0
    • PySide
    • None
    • macOS, Windows

    Description

      On macOS and Windows, PySide2 QML hangs without any error message when version >= 5.14.2.

      Here is my repo: https://github.com/leovan/SciHubEVA

      All resources need to be compiled with the follow command before run the app.

      pyside2-rcc SciHubEVA.qrc -o scihub_eva/resources.py
      

      When choosing PySide2 version 5.14.1, everything works fine. For version >= 5.14.2, I tried to debug, it seems hangs at

      self._engine.load('qrc:/ui/SciHubEVA.qml')
      

      I also tried to figure out what's wrong with QML files, after I comment most of code in QML file, I found if I remove Qt.labs.platform related codes, it does not hang anymore.

      Thus, I don't know whether it's a bug or there is some breaking changes with version 5.14.2.

       

      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
              leovan Leo Van
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes