added QT += network

without "QT += network" QNetworkAccessManager throws error