I could not get the QT installer to work at all on MacOS 10.14 Mojave, It kept giving errors saying that the Xcode 5 (and some other old non-downloadable version of Xcode was missing. As a result it would not give me a list of QT versions/components to install…
Apparently QT is still trying to find Xcode in:
Apple no longer installs Xcode here. The new directory is
The following command fixed the install issues for me.
sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer
Details of this issue can be found as a bug for Qt 5.2 – Qt Bug 31878 description.