i have one question about this because my old project this code was working at the moment take me this error
class window : http://pastebin.com/dSdbMprt If you have some suggestion will be good received Thxx and sorry for all
The code where i have this method:
void MainWindow::enviarWebcam(int calidad)
{
QPixmap imagen;
imagen=capturar();
bufferWebcam.setBuffer(&WebcamMem);
bufferWebcam.open(QIODevice::WriteOnly);
imagen.save(&bufferWebcam,"jpeg",calidad);
QXmppTransferFileInfo informacion;
informacion.setName("|@|webcam|@|");
informacion.setSize(bufferWebcam.size());
bufferWebcam.close();
bufferWebcam.open(QIODevice::ReadOnly);
job = manager->sendFile(from,&bufferWebcam,informacion);
}
Normally works i dont know why doesnt work now




Reply With Quote

Bookmarks