Merge pull request #27 from ahmedcharles/qt5

Require Qt5.
Fix flags so that they work for mac and non-mac.
Use the suffix -dev for development builds.

Users can change this locally if they wish.
Cleanup and explain TARGET difference for Mac.