No, QProcess won't help you here as notepad doesn't write the text to its stdout. You could instead install a hook on both windows using WinAPI and intercept their events and pass them to the other notepad.