Error “You need a c++ compiler…” when installing Qt SDK on OS X

Qt error

When you meet this problem, all you need to do is just install command line tools in addition to Xcode. 

Go to Preference >> Download tab, and just click the install. 


Xcode terminal

 Then you’ll be able to install Qt SDK without such problem. 




Hello, I'm Dr.kchris, a neuroscience researcher. I love studying and trying new things and also love challenging myself. Have a great day! :)

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.