Nominate our 2022 Qt Champions!

Weird QWebView issue

  • I have a very simple application with QWebView. The code just loads a certain url, nothing more than that. The target webpage has an image upload button. When I click on this button, a open dialog box pops and I select the image to be uploaded. Here is the issue.

    • I open the same url in Chrome, click on upload image button, select the file and upload. It works perfect.
    • If I do the same in my application, meaning that clicking to the upload button and selecting a file to upload, another file dialog box pops after the first selected image is uploaded.

    I have dumped the sources from both "browsers" and they are pretty much the same. I am now wondering why a second time pop up comes. If I select another image for the second pop up, it uploads again as a new image and no more pop up comes.

    The link is:
    The upload button is named as: "Voeg een foto toe"

    Do you guys have any idea?

  • I forgot to mention that I run it on Windows 7 and my qt version is 4.8.3.

Log in to reply