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

pyside2-uic is not executable on windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Fixed
    • Affects Version/s: 1.2.x, 5.6, 5.9, dev
    • Fix Version/s: None
    • Component/s: PySide
    • Labels:
      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

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There is 1 open Gerrit change