Sending an HTTP request using QNetworkAccessManager
问题 I've got a problem trying to send a request using QNetworkAccessManager from a QObject derived class. Firstly in my constructor I do the following: QObject::connect( &mAccessManager, SIGNAL( finished( QNetworkReply* ) ), this, SLOT( requestFinished( QNetworkReply* ) ) ); Then when I wish to send the request I do the following: QNetworkRequest checkLogin( QUrl( address ) ); checkLogin.setHeader( QNetworkRequest::ContentTypeHeader, "application/x-www-form-urlencoded" ); mByteArray = QByteArray(