QUrl url("https://www.example.com/search?q=keyword&sort=price"); QListIn this example, we create a QUrl object representing a search query with two parameters - q and sort. We then call the queryItems method to get a list of key-value pairs in the URL. Finally, we loop through each item and print its key and value. Example 2: ``` QUrl url("https://www.example.com?name=John&age=25&gender=male"); QString value = url.queryItemValue("name"); ``` In this example, we create a QUrl object with three query parameters - name, age and gender. We then call the queryItemValue method to get the value of the "name" parameter. This value is assigned to the QString variable called "value". Package/library: Qt library> queryItems = url.queryItems(); for (auto item : queryItems) { qDebug() << item.first << ": " << item.second; }