Congratulations to our 2022 Qt Champions!

Open URL in default browser

  • Hi,

    I've created a small browser application and one of the features I want to add is the possibility to open URL in a default browser set by the user, either IE or Chrome and so on.
    I'm using QDestopServices but that doesn't seem to work at all. What happens is that my link opens up in a new tab in my small browser application instead. Chrome is set as default browser in my computer.

    My browser application is using the webengine api's.

    How to solve this problem?

  • Lifetime Qt Champion


    Can you share the code where you use QDesktopServices ?

Log in to reply