[Qt-interest] QtNetwork
Gian Marco Gallo
gianmarco.gallo at gmail.com
Mon Nov 23 16:11:08 CET 2009
Good afternoon
I'm here again with a noob problem :D
I'm developing a game in Qt using XCode 3.2.1 and I'm not able to understand how the QtNetwork module works. I mean: I want my software checks at the start if there are updates available so I use QHttp and QUrl to download the version file. To do this I've added the code:
#include <QtNetwork>
in the file where I use QHttp and QUrl and the code:
QT += network
in the .pro file. Then I try to build and run with XCode button but the compiler returns the error: "QtNetwork: no such file or directory". It returns also all the errors connected to the classes in the QtNetwork module (i.e. QHttp with no type and so on).
I've also tried to add the QtNetwork framework to the external frameworks but no success.
Why doesn't the compiler find the module?
Thanks and a nice afternoon
Gian Marco Gallo
More information about the Qt-interest-old
mailing list