jmhobbs

Brew Install Qt4 and Ruby Bindings

The Ruby gem for Qt4 bindings, appropriately called qtbindings, do not build by default with brew installed Qt4 libs.

There is a quick fix, but it's hidden in the issues on github. Essentially you just need to symlink the brew headers to an expected location.

$ for DIR in /usr/local/Cellar/qt/4.7.1/lib/*.framework; do ln -s $DIR/Headers ${DIR%%/lib/*}/include/$(basename $DIR .framework); done

After that is run, gem install qtbindings runs like a champ.