Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
Force QWebEnginePage to reload after url changed
tham last edited by tham
I am trying to scrape images search by Bing search, now I have a serious problem, whenever I change the url by clicking on the image, the signal "urlChanged" emit, but the signal "loadPageFinshed" wouldn't emit, how could I forced the page reload when url changed?
@tham Shouldn't you set the URL you receive in urlChanged using http://doc.qt.io/qt-5/qwebenginepage.html#url-prop ?
tham last edited by
@jsulm This will cause recursive call.
I could disconnect the signal and slot and force the webpage to load the changed url, but it is quite cumbersome and it will need to load the page two times.