Qt World Summit: Submit your Presentation

How can we close the opend Url through program?

  • I am using
    @QDesktopservice :: openurl(url);@ to open url.
    How can i close that through user defined code?

  • Well, I think there is no easy way of doing that. At first sight I would say use QProcess to spawn the external process on your own. Take a look at qdesktopservices.cpp on how to do this in a platform-independent manner.

Log in to reply