I have a problem when downloading a video. It can't be played on Symbian 3 devices. it's downloaded with the same size, but when i go to the video to play it , i got the following error :
"Unable to play. File corrupted or format not supported."
I am using the below code.
Anyone can help me in this issue ????
nam = new QNetworkAccessManager(this);
connect(nam, SIGNAL(finished(QNetworkReply*)), this, SLOT(downloadvideo(QNetworkReply*)));
void MainWindow::downloadvideo(QNetworkReply *httpmsg)
if (httpmsg->error() == QNetworkReply::NoError)
QByteArray byteshttpx = httpmsg->readAll();
QByteArray sic2; // i can remove those 2 lines, but
sic2+=byteshttpx; // some websites said that some image problem can be solved by this