On a machine with both homebrew and macports, the presence of macports was causing the homebrew Qt settings to be overwritten right after they were set. Check to see if QTDIR is already defined before proceeding with QT macports.
On a machine with both homebrew and macports, the presence of macports was causing the homebrew Qt settings to be overwritten right after they were set. Check to see if QTDIR is already defined before proceeding with QT macports.