I’m trying to encode a URL while using Qt 4. It looks like in Qt 3, the method was QUrl::encode, but apparently QUrl was rewritten from Qt 3 to Qt 4. I looked in the documentation and didn’t see any equivalent method. Is there something I’m missing?
I’m trying to encode a URL while using Qt 4. It looks like in
Share
Also use QUrl::toPercentEncoding to encode any QString without forming it to a URL.