In my project I want to visit an url with some arguments and catch the return parameters. I take the following codes for test.
QUrl url = QString("http://localhost/test")
url.addQueryItem("test", QString("abc+bcd"));

But the arguments my server received is "abc bcd". Plus is replaced by " ". I don't know how to fix it. Simply modifying the '+' character by "%2B" doesn't work.
Who could help me? thanks very much!