`https://raw.github.com/cliffrowley/homebrew/patched_qt/Library/Formula/qt.rb` is 404 now because it was merged into homebrew and deleted. So that command no longer works.

This is what worked for me:

`brew install qt --HEAD`