Changed all qt4 macros to qt5

Change-Id: I597baeeca4bb64f17e4a3682715aca1983f1473e