Modify Qt patch