Results 1 to 8 of 8

Thread: add link that open web browser on unix

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2009
    Posts
    6
    Thanks
    1

    Default Re: add link that open web browser on unix

    Yeah that opened a browser thanks. I've had little to no luck with the QUrl or QDesktopServices.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: add link that open web browser on unix

    Quote Originally Posted by bwindorski View Post
    Yeah that opened a browser thanks. I've had little to no luck with the QUrl or QDesktopServices.
    Well then the problem must be with the URL because that's what QDesktopServices does behind the scenes. Make sure the link contains the scheme as I mentioned.
    J-P Nurmi

  3. #3
    Join Date
    Jan 2009
    Posts
    6
    Thanks
    1

    Default Re: add link that open web browser on unix

    Qt Code:
    1. QDesktopServices::openUrl ( QUrl ( "http://www.google.com" ) );
    To copy to clipboard, switch view to plain text mode 

    Its something with my GCofig

    this is the dbug-output

    GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 1: Failed to get connection to session: '=' character not found or has no value following it)

    not sure what it is looking into it.

    sorry asafb I'm not trying to hijack your post.

Similar Threads

  1. LINK : fatal error LNK1181: can't open 'delayimp.lib'
    By fcamlar in forum Installation and Deployment
    Replies: 10
    Last Post: 7th July 2006, 13:04
  2. Text Browser Link Question
    By taylor34 in forum Qt Programming
    Replies: 2
    Last Post: 20th June 2006, 19:54
  3. Opening swf file in the default browser
    By munna in forum Qt Programming
    Replies: 16
    Last Post: 5th May 2006, 09:33
  4. open a browser
    By npc in forum Newbie
    Replies: 1
    Last Post: 5th April 2006, 10:23

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.