Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Problem with install Qt on macOS 10.15.7
Forum Update on Monday, May 27th 2025

Problem with install Qt on macOS 10.15.7

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 426 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Fresh5552
    wrote on 16 Oct 2020, 19:26 last edited by
    #1

    Hello I have got problem with install Qt on macOS. When I install Qt I see it notification :
    1.png

    I found on web information about install Xcode command line tools.
    I installed it

    Zrzut ekranu 2020-10-16 o 21.21.42.png

    Zrzut ekranu 2020-10-16 o 21.22.33.png

    I have got Xcode 12.0
    Zrzut ekranu 2020-10-16 o 21.25.27.png

    I don't know what can I do to respectively install Qt IDE 😕

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hskoglund
      wrote on 17 Oct 2020, 01:04 last edited by
      #2

      Hi, I had a bit of similar experience on my 10.15.7, I managed to install Qt 5.15.1 on it by upgrading my Xcode 12.0 to Xcode.12.01.

      But then I could not compile any of my Qt apps to run on my iPhone :-(
      Turns out I was hit by this bug

      If that bug also strikes you, you'll need to patch the file
      /Users/michal/Qt/5.15.1/ios/mkspecs/features/toolchain.prf
      by adding these 3 lines:

      # Clang doesn't pick up the architecture from the sysroot, and will
      # default to the host architecture, so we need to manually set it.
      cxx_flags += -arch $$QMAKE_APPLE_DEVICE_ARCHS
      

      at line 185.

      The patch is described here:
      https://codereview.qt-project.org/c/qt/qtbase/+/314636/3/mkspecs/features/toolchain.prf

      It worked for me, hope it'll work for you too.

      1 Reply Last reply
      1

      1/2

      16 Oct 2020, 19:26

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved