Qt requires Xcode to be installed on the system. You can get it from:
Qt for macOS is tested and compatible with several versions of GCC (GNU Compiler Collection) and Clang (as available from Xcode). For a list of tested configurations, refer to the Reference Configuration section of the supported platforms page.
Qt 5 does not support OS X on PowerPC.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.