×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2011
    Posts
    1

    Problem with QDesktopServices::openUrl()

    Hi,

    I'm developing an application and in that application I'd like to open the browser with a specific url. As I understand it, the way to do this is QDesktopServices:penUrl(). This works fine if the browser is not already started, but if the browser is started and is in the background, then the openUrl call does nothing. This seems to be a known error: http://bugreports.qt.nokia.com/browse/QTBUG-19201

    From what I can see, this bug has not been fixed and I don't know if it's going to be fixed.

    There seems to be a workaround and that is to add the SwEvent capability, but I'd rather not do that.

    It seems like this would be a quite common problem. Is there anyone that has another way around this?

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Problem with QDesktopServices::openUrl()

    I would try adding SwEvent capability, with normal Symbian C++ implementation the Url replacing on already running browser would require it, thus could be that qt is using similar implementation.

Similar Threads

  1. Replies: 5
    Last Post: 2010-01-22, 08:16

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×