Renamed file to .cpp
Added missing constants.h
Changes for Qt5 on Desktop platform.