QUrl
QUrl is a class in the Qt framework that encapsulates a Uniform Resource Locator (URL) and provides facilities for parsing, constructing, and manipulating URLs in a platform-agnostic manner. It supports the standard URL components, including scheme, userInfo, host, port, path, query, and fragment, and can represent both absolute and relative URLs as well as local files.
Construction and parsing: QUrl can be created from a string, from a local file path via fromLocalFile,
Encoding and decoding: URLs often require percent-encoding to ensure safe transport. QUrl provides support for encoding
Usage: QUrl is central to Qt’s network stack, used by classes such as QNetworkRequest, QNetworkAccessManager, and