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

PySide6 installation suggested when PySide2 is needed

    XMLWordPrintable

Details

    Description

      Test steps:
      1. Select 'Create Project... -> Application (Qt for Python) -> Qt Quick Application - Empty'
      2. Select project location
      3. Select 'PySide 5.12' for 'PySide version'
      4. Select 'Virtual Environment' in 'Kit Selection' page
      5. Finish the wizard
      6. Select 'Install' in the 'PySide6 installation missing...' toolbar
      7. Select 'Latest PySide from the PyPI' + 'OK'
      8. Install tomlkit module manually to virtual environment(tomlkit is missing due to bug in PySide)
      9. Run the project

      Result:
      Project fails to run due to missing PySide2 module.

      16:07:32: Starting C:\Users\junokso\rta_creator_test_builds\13\untitled\.qtcreator\Python_3_10_11venv\Scripts\python.exe -u main.py...
      Traceback (most recent call last):
        File "C:\Users\junokso\rta_creator_test_builds\13\untitled\main.py", line 5, in <module>
          from PySide2.QtGui import QGuiApplication
      ModuleNotFoundError: No module named 'PySide2'
      16:07:32: The command "C:\Users\junokso\rta_creator_test_builds\13\untitled\.qtcreator\Python_3_10_11venv\Scripts\python.exe -u main.py" terminated with exit code 1.
      

      Attachments

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

        Activity

          People

            davschul David Schulz
            jukkanokso Jukka Nokso
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes