[Qt-interest] Qt noob, need some QHttp/QBuffer/Signals/Slots/Q* help!
Thiago Macieira
thiago.macieira at trolltech.com
Mon Sep 14 08:48:37 CEST 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090914/eea84430/attachment.bin
More information about the Qt-interest-old
mailing list