[Qt-interest] QtNetwork
Dan White
ygor at comcast.net
Mon Nov 23 17:36:09 CET 2009
Did you let qmake create your XCode project file ?
That's how I work with Qt and XCode with decent results.
“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
----- Gian Marco Gallo <gianmarco.gallo at gmail.com> wrote:
> 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
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list