how to create a patch with Qt Creator