Don't hard-code QTDIR path.
Change from /usr/local to HOMEBREW_PREFIX.