Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
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 ?
Jeroentjehome last edited by
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?
zibicoder last edited by
Take a look on QNetworkAccesManager, QNetworkRequest and QNetworkResponse in the documentation. I think it'll help.