PDA

View Full Version : SOLVED #include <QNetwork..> no such file or directory



JeanC
6th March 2011, 10:42
Edit, solved: Turns out I had to include QT += network in the .pro file
Sorry.

Hello, I did a fresh install of latest creator and copied my projects over.
One (console) program consists of main.cpp and a class http.cpp/http.h
I get 'no such file or directory' in that http.h on these #includes:


#include <QNetworkAccessManager>
#include <QNetworkRequest>
#include <QNetworkReply>

I'm not getting the error on other includes like <QObject>

Thanks for help.