I want to open links from a QWebView with target="_blank" in a new window of a new process.
I tried using QWebView::createWindow(QWebPage::WebWindowType), but I didn't find a way to get the url to send to the new process. Actually, I tried a hack to get the url using a hidden QWebView (returned by the createWindow method) with the urlChanged event, but sometimes this event is triggered twice, so it is not reliable.
Is there any way to get the URL in the createWindow method?
If not, what can I do to open this kind of links in a new window of a new process?