[Qt-interest] Qt noob, need some QHttp/QBuffer/Signals/Slots/Q* help!
Lane Christiansen
lanec42 at gmail.com
Mon Sep 14 09:14:52 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
To: qt-interest
At: Mon Sep 14 02:13:58 CDT 2009
I understand that most of the guys reading this list are pretty busy.
I've been looking at one of the networking examples
( http://doc.trolltech.com/4.0/network-http.html ), and I'm adding some of its
ideas to my code. I thought that I should use a QBuffer because I don't want
to write the response to disk, I'd like to parse it with QXmlSimpleReader - is
there a better way to do this? Also, what should I use instead of QHttp?
Gmail hasn't corrupted anything I've sent so far, but I'll be careful.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkqt7TYACgkQv5kzl5yG7jdjRgCgxU9fsoXdHY6K6PHeukDfnyuu
E1IAoKsAklbWEc6ttEeWTsX+S1ZtCPr4
=FwnK
-----END PGP SIGNATURE-----
On Mon, Sep 14, 2009 at 1:48 AM, Thiago Macieira
<thiago.macieira at trolltech.com> wrote:
> Em Segunda-feira 14. Setembro 2009, às 06.16.42, você escreveu:
>> I've just started learning Qt, and I'm working on a (book) library
>> management application. I've started with a class that's designed to
>> retrieve book info from isbndb.com. I'm planning on adding code to parse
>> the XML response, but nothing I've built so far is working. What I've got
>> should connect to isbndb.com and stick the response in a QBuffer. I've
>> finally got it to compile, and the program just hangs. I'm developing this
>> on Linux (Kubuntu) with gcc version 4.3.3 and Qt4. Attached is a tar.gz
>> containing my code.
>>
>> I hope that I'm asking this question in the right place, and that someone
>> has time to look at my schtuff.
>
> Hi Lane
>
> In general, no one has time to look at a tarball.
>
> I recommend you isolate your problem to smaller, compilable examples that show
> the problem (You're using GMail, which is known for corrupting source code
> that is pasted -- I recommend using a better mail client).
>
> Also, please post in the body of your email what the solution you've tried is.
> If you just say "it hangs, please look at the tarball", no one will look at
> it.
>
> Anyway, I recommend that you look at existing Qt networking examples, to see
> how they download information. Hint: it has nothing to do with QBuffer.
>
> Finally, please don't use QHttp in new applications.
>
> --
> Thiago Macieira - thiago.macieira (AT) nokia.com
> Senior Product Manager - Nokia, Qt Development Frameworks
> Sandakerveien 116, NO-0402 Oslo, Norway
>
> Qt Developer Days 2009 | Registration Now Open!
> Munich, Germany: Oct 12 - 14 San Francisco, California: Nov 2 - 4
> http://qt.nokia.com/qtdevdays2009
>
> _______________________________________________
> 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