Error: Qt needs Xcode 5.0 on MacOS Sierra

0

I need to install Qt5 in MacOS Sierra (10.12.6), but when the installer is about to finish the message appears:

I have version 9.0 of Xcode installed, but I read that Qt only needs the command line tools of this one. To install the command line tools I used:

$ xcode-select --install

$ clang --version
Apple LLVM version 9.0.0 (clang-900.0.37)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

What do I need to correctly install Qt?

    
asked by akko 27.09.2017 в 19:05
source

1 answer

0
  • You need to install Xcode version 5.0 or higher. It can be from the xcode page or search it in the AppStore

  • Once installed go to Xcode - > Preferences ..., click on downloads, click on install Command Line Tools.

  • When the download completes, restart

  • Try installing QtCreator again (The QT installer uses the command line tools to work, so you have to do all of this.)

  • answered by 04.10.2017 в 01:38