Hi!
I want to download files from the http using QNetworkAccesmanager, my ide is making a update functon for my program.
But how can i code the downloader???
Halvor.
Hi!
I want to download files from the http using QNetworkAccesmanager, my ide is making a update functon for my program.
But how can i code the downloader???
Halvor.
It's all in the docs. Isn't it? See detailed description of QNetworkAccessManager.
Yes, but i can understand it. Exemples please![]()
Then the Newbie section is more suitable for you and there is an example in the docs:More is hardly possible, only the mention of QNetworkReply -> QIODevice::readAll().Qt Code:
QNetworkRequest request; request.setRawHeader("User-Agent", "MyOwnBrowser 1.0"); // not needed QNetworkReply *reply = manager->get(request); connect(reply, SIGNAL(readyRead()), this, SLOT(slotReadyRead())); connect(reply, SIGNAL(error(QNetworkReply::NetworkError)), this, SLOT(slotError(QNetworkReply::NetworkError))); connect(reply, SIGNAL(sslErrors(QList<QSslError>)), this, SLOT(slotSslErrors(QList<QSslError>)));To copy to clipboard, switch view to plain text mode
i want use qhttp download part of an entry ,
can you help me and edit my source http://www.mediafire.com/?dzjaztigrnm
please read more:
http://www.qtcentre.org/threads/3006...t-of-an-entity
nhs_0702, please don't do that. It's extremely rude and bad etiquette. You have you own thread and people will reply there.
nice one!!!!
Bookmarks