thank you for your reply, it works well! ah... I want to know how to reimplement QWebPage::createWindow to capture the open event!