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 :
I found on web information about install Xcode command line tools.
I installed itI have got Xcode 12.0
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 bugIf 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.prfIt worked for me, hope it'll work for you too.