How to encode URL parameters in QT?
In QML you can use encodeURIComponent(str)
, it's a standard JS function that is supported by QML.
Use QUrl::toPercentEncoding (static method ;))
In QML you can use encodeURIComponent(str)
, it's a standard JS function that is supported by QML.
Use QUrl::toPercentEncoding (static method ;))