Setup for Qt Development
Qt 4.8.7.2 installed via Homebrew
Use macx-g++ mkspec
Build using g++
If using Qt Creator, make sure the correct mkspec is being used.
You can also use the QMAKESPEC env variable to ensure the correct makespec is being used.