brew install qt doesn't build on Yosemite. This sucks if you're trying to use capybara-webkit to do acceptance testing.
brew install qt
In order to install it, download the library directly from the qt-project.org website.
Is there anything else you did? I tried this but didn't get anywhere.
This is actually working now through Homebrew as of 2015/07/30.