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

pyside2-uic is not executable on windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4: Low
    • None
    • 1.2.x, 5.6, 5.9
    • PySide
    • None

    Description

      pyside2-uic is a python script:

      (pyside-setup/sources/pyside2-tools/pyside2-uic):

      #!/usr/bin/env python
      # This file is part of the PySide project.
      

      On unix it relies on the shebang mecanism to be executable by the shell

      On windows, the shell cannot find it when we issue the command "pyside2-uic".

      A possible workaround is to install a pyside2-uic.bat file which runs the script through python and passing the arguments:

      python %~dp0pyside2-uic %*
      

      (also affects 1.2.x branch, we use this workaround in https://github.com/conda-forge/pyside-feedstock and in the pyside2 alpha package to be announced).

       

       

      Attachments

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

        Activity

          People

            ctismer Christian Tismer
            jschueller Julien Schueller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes