Results 1 to 3 of 3

Thread: How to get parameters in QUrl?

  1. #1
    Join Date
    May 2013
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Android

    Question How to get parameters in QUrl?

    My url is "http://www.a.com/access_token=123abc", How can I get the value of access_token?

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: How to get parameters in QUrl?

    QUrl::allQueryItemValues or QUrl::queryItems? And aren't you missing a '?'?

  3. The following user says thank you to Lykurg for this useful post:

    greatcl (13th May 2013)

  4. #3
    Join Date
    May 2013
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Android

    Default Re: How to get parameters in QUrl?

    yes, the '?' is the problem. Thank you!

Similar Threads

  1. Replies: 1
    Last Post: 18th April 2012, 10:40
  2. QUrl how to change it
    By alonso15 in forum Qt Programming
    Replies: 3
    Last Post: 4th August 2011, 15:54
  3. Qurl+poppler
    By wakitowaki in forum Qt Programming
    Replies: 1
    Last Post: 15th June 2011, 19:39
  4. QUrl and EUC-JP
    By Ignacio Serantes in forum Qt Programming
    Replies: 1
    Last Post: 22nd February 2009, 15:19
  5. QUrl broke?
    By bwindorski in forum Qt Programming
    Replies: 3
    Last Post: 26th January 2009, 20:16

Tags for this Thread

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.