Initial Qt5 support.
* Use cmake 2.8.9 by default and use 2.8.11 for qt5.
* Simplify qt5 support.