PDA

View Full Version : Qt4.1.2 - QHttp



incapacitant
20th April 2006, 08:31
Wonder why ?

#include <QHttp> compiler reports no such file
#include <C:\Qt\4.1.2\include\QtNetwork\QHttp.h" finds it
All other Qt includes work perfectly, so the the environment is correct.

Strange thing is I have another application with the first instance that compiles 100% !!
Is there another include to do on top of <QHttp> ?

wysota
20th April 2006, 09:26
You probably forgot to add "QT+=network" to your .pro file (remember to run qmake afterwards).