Not sure if you got further along here, but I ran in to some issues while packaging Homebrew (qt4) and have submitted a few fixes: