Results 1 to 11 of 11

Thread: QDesktopServices::openUrl() slow

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2008
    Location
    Melbourne, Australia
    Posts
    136
    Thanks
    9
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QDesktopServices::openUrl() slow

    hello,

    I'm using QDesktopServices:: openUrl() to open a URL in the users default browser (in XP). The function does works and opens the URL in a Firefox tab, but only after 10-15 seconds and during that time my Qt app is frozen.

    If I call this function a second time then the delay is only ~3 seconds so it seems Qt takes time determining what is the default browser.

    Does anyone have experience with this or know how to open the web browser faster?

    thanks,
    Richard
    Last edited by rbp; 3rd April 2009 at 06:48. Reason: a smiley face was being inserted in my function call

Similar Threads

  1. Why is drawText so terribly slow?
    By Ntoskrnl in forum Qt Programming
    Replies: 8
    Last Post: 1st August 2008, 19:15
  2. QTextEdit slow to insert text
    By thomaspu in forum Qt Programming
    Replies: 4
    Last Post: 10th January 2008, 12:05
  3. Designer form creation very slow
    By MrGarbage in forum Qt Programming
    Replies: 3
    Last Post: 7th December 2007, 22:20
  4. Slow painting in QGraphicsView
    By JonathanForQT4 in forum Qt Programming
    Replies: 12
    Last Post: 16th July 2007, 09:54

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.