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

QTCreator won't open terminal in MacOS12.3

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 7.0.1
    • Qt Creator 6.0.2, Qt Creator 7.0.0
    • All Other Issues
    • None
    • Does not work:
      Mac OS - 12.3
      QT Version - 7.0.0 or 6.0.2
    • macOS
    • be1437c797 (qt-creator/qt-creator/7.0) be1437c797 (qt-creator/qt-creator/master) be1437c797 (qt-creator/qt-creator/qds-3.3) be1437c797 (qt-creator/tqtc-qt-creator/7.0)

    Description

      On macOS12.3 running a program in a terminal, or trying to open a terminal at the location of a particular file via right click both fail to work.

      I believe the issue is related to the fact that macOS12.3 dropped built in python support. So openTerminal.py fails to execute.
      https://developer.apple.com/documentation/macos-release-notes/macos-12_3-release-notes

       

      Update - 
      I got the script working by manually installing Python2, and then rewriting the shebang to point to the Python2 executable. Even though python was on the path already in /usr/local/bin/python, the existing shebang of /usr/local/env python does not work.

      A more permanent fix is definitely needed, but at least the cause is clear.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-27337
        # Subject Branch Project Status CR V

        Activity

          People

            con Eike Ziller
            ascholerchemeketa Andrew Scholer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes