Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Problem with install Qt on macOS 10.15.7



  • 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 😕



  • 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.


Log in to reply