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

Error installing Qt 6.5.2 on macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 6.5.2
    • Packaging & Installer
    • None
    • macOS 13.4.1
    • macOS

    Description

      I am getting the following error trying to install Qt 6.5.2, even after fully uninstalling Qt:

      Error during installation process (qt.qt6.652.clang_64):
      Execution failed (Unexpected exit code: 3): "/Users/bambooagent/Qt//Tools/sdktool/libexec/sdktool addQt --id qt.qt6.652.clang_64 --name Qt %{Qt:Version} for macOS --type Qt4ProjectManager.QtVersion.Desktop --qmake /Users/bambooagent/Qt/6.5.2/macos/bin/qmake"

      Running that command in the error message manually shows the following error:

      $ /Users/bambooagent/Qt//Tools/sdktool/libexec/sdktool addQt --id qt.qt6.652.clang_64 --name "Qt 6.5.2 for macOS" --type Qt4ProjectManager.QtVersion.Desktop --qmake /Users/bambooagent/Qt/6.5.2/macos/bin/qmake
      Empty filename passed to function
      Error: Could not save settings /Users/bambooagent/Qt/Tools/sdktool/QtProject/qtcreator/qtversion.xml.

      qmake exists at the specified path and is executable:

      $ ls -l /Users/bambooagent/Qt/6.5.2/macos/bin/qmake
      -rwxr-xr-x@ 1 bambooagent  staff  3729720 Jul  6 21:07 /Users/bambooagent/Qt/6.5.2/macos/bin/qmake
      

      qtversion.xml does not yet exist, but the directory is writable:

      $ ls -al /Users/bambooagent/Qt/Tools/sdktool/QtProject/qtcreator/
      total 0
      drwxrwxrwx@ 2 bambooagent  staff   64 Jul 20 10:53 .
      drwxrwxrwx@ 4 bambooagent  staff  128 Jul 20 10:52 ..
      

      Attachments

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

        Activity

          People

            releaseteam Qt Release Team
            fseiffert Frederik Seiffert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes