Quantcast
Viewing all articles
Browse latest Browse all 13965

Getting Invalid RPC error when using QNetworkAccessManager How to fix it?

Here is my code: It’s getting an error at line 7 of: As a popup window error shows: Exception Triggered The inferior stopped because it triggered an exception. Stopped in thread 0 by: Exception at 0×7fefcdc9e5d, code: 0×6a6: Invalid RPC server, flags=0×1 (execution cannot be continued) (first chance). In issues window error shows: Exception at 0×7fefcdc9e5d, code: 0×6a6: Invalid RPC server, flags=0×1 (execution cannot be continued) (first chance) How to I fix this? (Hopefully someone has encountered this before) 1   if (request->httpMethod() == KQOAuthRequest::POST) 2   { 3     networkRequest.setHeader(QNetworkRequest::ContentTypeHeader, request->contentType()); 4 5      if (request->contentType() == "application/x-www-form-urlencoded") 6      { 7        reply = d->networkManager->post(networkRequest, request->requestBody()); 8      } 9   }

Viewing all articles
Browse latest Browse all 13965

Trending Articles