updated patch to make it applicable from qt root folder