Unsolved Problem with include <QNetworkAccessManager>
-
Hi
I want to add #include <QNetworkAccessManager>
But i get error:C:\Users\armin\Documents\DownloadManager\mainwindow.h:5: error: QNetworkAccessManager: No such file or directory
Why ?
-
Hi,
maybe you forgot to add:QT += network
to your .pro file.
-Michael. -
Thanks Michael
How can i add that?
I don't see in tutorial c++ -
Hi,
I am not sure what you want me to explain. I would load my .pro file in a text editor, add the line, save it , run qmake and compile again and hope for the best.
-Michael. -
Hi
If you are using Creator, simply click the .PRO file and it opens as any source file will.