Initial port to Qt 5
Change the optimization flag guard to a non Envision-specific Qt version
Fix a few qt-5 compilation issues.
Update documentation for Qt 5