changes to enable build of qt5 apps