
Due to the lack of OS X SDK in the Xcode Command Line Tools, Qt requires a full Xcode installation.The full Xcode (Xcode_8.2.1.xip) includes a) the Xcode Tools itself, b) the OS X SDK, and c) the Xcode Command Line Tools.The Xcode Command Line Tools (Command_Line_Tools_macOS_10.11_for_Xcode_8.2.dmg) do not contain an OS X SDK.Sudo xcode-select -s /Developer/Xcode/Xcode-8.2.1-8C1002.app Sudo xcode-select -s /Developer/Xcode/Xcode-7.3.1-7D1014.app > "You need to install Xcode version 8.2 (or newer) and set up Xcode command line tools. Sudo xcode-select -s /Library/Developer/CommandLineTools
Shell command to test where Xcode Command Line Tools are located: xcode-select -p. Shell command to switch Xcode Command Line Tools: sudo xcode-select -s. Application to install Qt SDK and Creator from used Qt installation package: qt-opensource-mac-圆4-5.11.3.app. Used with Qt installation package qt-opensource-mac-圆4-5.11.3.dmg. Installed version: Command_Line_Tools_macOS_10.11_for_Xcode_8.2.dmg in default "/Library/Developer/CommandLineTools". Test which Xcode version works with the Qt 5.11.3 installation package => Conclusion: Trust the Xcode version mentioned in the Qt documentation! (Forget about this for the reasons mentioned above!) (In my case, Xcode version 8.2.1 works fine on OS X 10.11.6) The minimum version of macOS for running Xcode version 8.2.1 is OS X 10.11.5. (A Xcode 8.2 version for OS X 10.11 can be found at.
Xcode 8.2 is needed for Qt Creator 4.7.2, and this Qt Creator is needed for Qt SDK 5.11.3. Which Xcode version is recommended to be installed for Qt 5.11.3? Highest found Xcode Command Line Tools for Xcode 10.11: Command_Line_Tools_macOS_10.11_for_Xcode_8.2.dmg Highest found Xcode for OS X 10.11: Xcode_8.2.1.xip Find Xcode installation packages for OS X El Capitan 10.11.6
(Qt Documentation Archives: version 2.3, 3.3, 4.3, 4.6, 4.7, 4.8, 5.5-5.8, 5.10)Ĭ) take last modified date of supported SDK from:ĭ) select Qt Creator with modified date up to modified date of SDK from:įor example, in my case of OS X El Capitan 10.11.6:. search: site:qt.io qt 5.11 supported platforms. For all those who have a similar problem: These are all the links I found to find a matching old Qt version.Ī) find your OS in "qt supported platforms" documentations: