Qt: connect a signal after a request is sent in QNetworkAccessManager [duplicate]
问题 This question already has an answer here : Qt signal slot connection - QNetworkAccessManager (1 answer) Closed 4 years ago . I was checking some simple examples of using QNetworkAccessManager and I found this (Assuming that manager is a QNetworkAccessManager: QNetworkRequest request; request.setUrl(QUrl("http://www.someserver.com")); QNetworkReply *reply = manager->get(request); connect(reply, SIGNAL(readyRead()), this, SLOT(slotReadyRead())); connect(reply, SIGNAL(error(QNetworkReply: