Adapted the patches and took a commit from upstream master branch to allow the migration to Qt5.15. Had to copy the patch because of the custom sourceRoot.