Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-72926

Support Python Launcher (py.exe) to detect Python

    XMLWordPrintable

Details

    • Windows

    Description

      Both qtwebengine and qtdeclarative tries to find a valid Python 2 from the environment. qtdeclarative just checks for "python", while qtwebengine also checks e.g. for "python2".

      Anyhow, on Windows Python since a while installs a Python Launcher, py.exe. Much like qtchooser, this allows users to switch between Python versions without having to tamper with PATH's.

      Both qtdeclarative and qtwebengine should therefore be extended to check for py.exe -2 too.

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are 2 open Gerrit changes