QUrl::QUrl(const QString& str) automatically percent encode str.
http://qt-project.org/doc/qt-4.8/qurl.html#QUrl-2
QUrl::path() is store already decoded path.