Capture web pages using QT5