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

Offer to install Commercial or Community version

    XMLWordPrintable

Details

    • User Story
    • Resolution: Fixed
    • P2: Important
    • None
    • None
    • PySide

    Description

      Motivation

      Considering that many Comercial and Community users rely on having PySide installed on their Python environment, QtCreator does a really nice job detecting if it's not installed and offer to install it as a tooltip on top of the code editor.

      However, we should consider that people might want to install the Commercial set of wheels or the Community one (open source).

      Suggestions

      • Provide two options on the tool tip to install commercial or community wheels, or offer a button to open a widget where both options can be displayed, including the option to select where the commercial wheels are located.
      • Offer, as part of the Project Creation Wizard steps to install PySide2 or PySide6 selecting Community or Commercial versions. Commercial should include a field to browse the location where the the commercial wheels are.

      Dependencies

      This task depends on the future feature of the Qt Maintenance Tool to include a download option for commercial Qt for Python wheels, we can at the moment assume that they will be located in Qt/6.4.1/qtforpython/*.whl avoiding having multiple versions of the wheels on the same directory.

      It might be the case, that the tool downloads a ZIP or tar file in that location, and one would need to unpackage them first. But this needs to be confirmed (cc falt)

      Keep in mind that one cannot run python -m pip install *.whl on Windows, but it's possible on macOS and Linux. For Windows, there are a couple of options, like writing the name of all the wheels by hand after the 'install' subcommand, or using python -m pip install --no-index --find-links=/path/to/wheels/ PySide6==6.4.0.commercial
      (see https://doc.qt.io/qtforpython/commercial/index.html#installation )

      Attachments

        Issue Links

          For Gerrit Dashboard: PYSIDE-2153
          # Subject Branch Project Status CR V

          Activity

            People

              davschul David Schulz
              crmaurei Cristian Maureira-Fredes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes