pyqt: patch handling of qmake inline comments.

Closes #25225.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>