Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-33030

PySide2 Windows UI app fails to run

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 16.0.2, Qt Creator 17.0.0-rc1
    • Python Support
    • None
    • Creator 17.0.0-rc1
    • c4f3da4ec (master)

    Description

      Test steps:
      1. Select 'New Project... -> Application (Qt for Python) -> Windows UI'
      2. Select location
      3. Select 'Next' for 'Define class' page
      4. Select 'PySide 2' for 'Define Python Interpreter'
      5. Finish the wizard
      6. Run the application

      Result:
      App fails to run.

      07:46:05: Starting /usr/bin/python3.10 -u widget.py...
      Traceback (most recent call last):
        File "/home/junokso/untitled1/widget.py", line 21, in <module>
          widget = Widget()
        File "/home/junokso/untitled1/widget.py", line 16, in __init__
          self.ui.setupUi(self)
        File "/home/junokso/untitled1/ui_form.py", line 28, in setupUi
          QMetaObject.connectSlotsByName(Widget)
      TypeError: 'PySide6.QtCore.QMetaObject.connectSlotsByName' called with wrong argument types:
        PySide6.QtCore.QMetaObject.connectSlotsByName(Widget)
      Supported signatures:
        PySide6.QtCore.QMetaObject.connectSlotsByName(o: PySide6.QtCore.QObject, /)
      07:46:06: The command "/usr/bin/python3.10 -u widget.py" terminated with exit code 1. 

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-33030
        # Subject Branch Project Status CR V

        Activity

          People

            hjk hjk
            jukkanokso Jukka Nokso
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes