Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Error in receiving the unsigned char * (image)
janaki last edited by
i hve written the code like this
qint64 bytes = imagebuffer->write((const char) buf,sizeof(buf)); // buf is received unsigned char*
imagebuffer->seek(imagebuffer->pos() - bytes);
qDebug() << "Image file was received ";
when i execute this am getting error as
can any body suggest me what and where is the error
Please enclose your code in coding tags, that will make it readable.
As for your problem:
You don't initialize imagebuffer
kurt.pattyn last edited by
Please ask your question on the "General and Desktop forum":http://qt-project.org/forums/viewforum/10/.
This forum is for contributions to Qt.