How to downlad a webpage's source code to a .txt file with Qtcreator?
I would like to downlad a webpage's source code to a .txt file with Qtcreator? How can i do that ?
Do you need an Qt application written in QtCreator to do that? Or do you need to view a webpage source code in QtCreator??
For the first, check out the QtWebKit classes. It's all there how to read webpages.
I don't need to view the webpage , i just need a sorce in the .txt file.
Can you give me a link to a QtWebKit classes?
Take a look on QNetworkAccesManager, QNetworkRequest and QNetworkResponse in the documentation. I think it'll help.