LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Closed Thread
  Search this Thread
Old 06-22-2010, 12:58 PM   #1
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Qt Download


How to download a web page using QtNetwork?

I then plan on extracting data from it with QRegExp.
 
Old 06-22-2010, 01:10 PM   #2
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by MTK358 View Post
How to download a web page using QtNetwork?

I then plan on extracting data from it with QRegExp.
How about entering

QtNetwork example
QtNetwork example http


into your favorite WEB search engine ? Or you reject WEB search as a class ?

Last edited by Sergei Steshenko; 06-22-2010 at 01:13 PM.
 
1 members found this post helpful.
Old 06-22-2010, 01:32 PM   #3
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by Sergei Steshenko View Post
into your favorite WEB search engine ? Or you reject WEB search as a class ?
I already tried searching just about every possible combination of "qt", "network", "download", "tutorial", "http", "file", and a few others.

BTW, why do you spell "web" in ALL CAPS?
 
Old 06-22-2010, 01:37 PM   #4
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by MTK358 View Post
I already tried searching just about every possible combination of "qt", "network", "download", "tutorial", "http", "file", and a few others.

BTW, why do you spell "web" in ALL CAPS?
No, you didn't try.

Entering

QtNetwork example http

into Yahoo yields as the first match:

http://doc.trolltech.com/4.0/qtnetwork.html
.

Now, visit that page and use your browser "Find" function to find the word "example" - after some searching you'll see links to HTTP and FTP examples.

And I just like to capitalize the WEB.
 
1 members found this post helpful.
Old 06-22-2010, 01:42 PM   #5
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
And you may use the second match from Yahoo (the indented one, just below the first) for a more modern Qt example - the same algorithm: you visit the page and use your browser "Find" function in order to find the 'example' string - one of the occurrences points you to HTTP and FTP examples.
 
1 members found this post helpful.
Old 06-22-2010, 01:51 PM   #6
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
And the 9-th match from Yahoo (using the same algorithm involving "Find" and 'example') gives you an example with for Qt 4.6.
 
1 members found this post helpful.
Old 06-22-2010, 01:54 PM   #7
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
And if you just enter

QtNetwork example

, the 6-th match from Yahoo gives you an example with/for Qt 4.6.

You do not read the WEB pages, as well as you do not read man pages.
 
1 members found this post helpful.
Old 06-22-2010, 01:56 PM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
I did read that documentation page, but I didn't notice the links.
 
Old 06-22-2010, 05:21 PM   #9
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by MTK358 View Post
I did read that documentation page, but I didn't notice the links.
I.e. you have no idea about the browser "Find" feature ? And you don't understand that there might be a need to use the feature more than once per WEB page ?

Just reread your own http://www.linuxquestions.org/questi...ml#post3919072 . And do it every time you are going not to perform an elementary WEB search or not to read a manpage.
 
1 members found this post helpful.
Old 06-22-2010, 07:19 PM   #10
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
I did see it, I just thought it was text, not a link.
 
Old 06-22-2010, 07:20 PM   #11
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by Sergei Steshenko View Post
http://www.linuxquestions.org/questi...ml#post3919072 . And do it every time you are going not to perform an elementary WEB search or not to read a manpage.
I reported you to the mods already — twice.

Seems to me that your purpose here is to torture newbies, not provide help. Just read the other sections of this forum and see.

I would really like someone else to comment on this, and my other threads in the Programming section.

And how do I stop you from posting in my threads for good!

Last edited by MTK358; 06-22-2010 at 07:24 PM.
 
0 members found this post helpful.
Old 06-22-2010, 10:41 PM   #12
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
MTK* and Sergei;

This stops NOW---you both have the ability to stop this cycle. If you do not understand STOP, then contact me or any moderator

Quote:
Originally Posted by MTK
And how do I stop you from posting in my threads for good!
You don't--please stop saying this. You don't like someone's post, ignore them.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux/UNIX: Double your download speed with download accelerator LXer Syndicated Linux News 1 09-28-2006 07:44 AM
Fast Download Site for Linux, enables >4GB Download of single file TigerLinux Linux - Distributions 9 10-29-2005 12:45 PM
Restricting Download based on total download using Squid,SARG& Webmin jomy Linux - Networking 0 04-27-2005 06:04 AM
hdd-related download problem(upload 4-5MB/s, download ~1MB/s) tine Linux - Hardware 4 09-15-2004 03:06 PM
Konqueror wont download download TAR,ZIP file but preview Velocide Linux - Newbie 0 03-22-2004 06:07 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration