@Pablo-J-Rogina
Accidentally found needed code in QT sources. It returns all the cookies one by one.
QVariant hdr = rq.header(QNetworkRequest::CookieHeader); QList<QNetworkCookie> cookies = qvariant_cast<QList<QNetworkCookie> >(hdr); QList<QNetworkCookie>::ConstIterator it = cookies.begin(), end = cookies.end(); for ( ; it != end; ++it) { qDebug() << it->name(); }