Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

qt_urlRecode -> recode() method returns strange values

$
0
0
Hello, As I am new in Qt development I have an unexpected behavior and this starting with Qt5, in Qt4 it was OK the way that the QUrl were created. The scenario is like this : I have a QUuid —>”{8fee84ac-c008-458e-a68a-898803cc2c75}” and I am trying to create a QUrl based on this fragment. In the code it is a call to setFragment method from qurl.cpp after debugging it a I have found that during all the steps in qt_urlRecode after calling recode method I receive something like this: “# after that the value for { as a % 7B the value from uuid 8fee84ac-c008-458e-a68a-898803cc2c75 followed by the code % 7D for }” Somehow the delimiters let’s say {} are not coded and I don’t have any idea why not. Should I set something else to make the conversion. As I said I am new and I don’t know exactly all the neccesary settings. I tried to set the QUr lParsingMode to StrictMode or DecodedMode, not it is TolerantMode but nothing works. I receive the same output. Thank you very much for your help.

Viewing all articles
Browse latest Browse all 18427

Trending Articles