PDA

View Full Version : Please help me. I'm newbie =)



Alex Snet
6th December 2008, 21:30
Please, give me an example how to write console application on QT.
I need network support (have QT an HTTP protocol wrapper?) and threads.
Can I do it with QT in console? How?

I need make a robot to parse some sites. Only QT is allowed.
Please help.

It's all for me. I need some practise...

wysota
7th December 2008, 02:19
Please, give me an example how to write console application on QT.

Add QT-=gui to the project file and use QCoreApplication instead of QApplication.


I need network support (have QT an HTTP protocol wrapper?)
Yes, have a look at QHttp and QNetworkAccessManager classes.


Can I do it with QT in console?
Yes, of course.


I need make a robot to parse some sites. Only QT is allowed.
Please help.
You might want to take a look at QXmlQuery then.