Qt undefined reference to QNetworkAccessManager … Error!


To resolve the error, make sure:

  1. To include “network” in your .pro file: QT       += core gui network
  2. Include appropriate headers:

#include <QtNetwork/QNetworkAccessManager>
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkReply>

Advertisements

3 thoughts on “Qt undefined reference to QNetworkAccessManager … Error!

Comments are closed.