Build fixes.
Linux build fixes.
Build fixes. Member variables must be iniaized in declared order. Add type to var.
Fix more warnings.
fix typo.
Fix warnings due to qt4 to qt5 changes.