PDA

View Full Version : How to get parameters in QUrl?



greatcl
11th May 2013, 18:33
My url is "http://www.a.com/access_token=123abc", How can I get the value of access_token?

Lykurg
11th May 2013, 19:42
QUrl::allQueryItemValues or QUrl::queryItems? And aren't you missing a '?'?

greatcl
13th May 2013, 01:04
yes, the '?' is the problem. Thank you!