Tested workaround: In the terminal, run the following commands
cd /
perl -pi -e 's,-F/tmp/qt-stuff-\d+/source/qt-everywhere-\w+-src-\d\.\d\.\d/lib,,g' `find /Library/Frameworks -name *.prl`
perl -pi -e 's,-L/tmp/qt-stuff-\d+/source/qt-everywhere-\w+-src-\d\.\d\.\d/lib,,g' `find /Library/Frameworks -name *.prl`
source
share