mismael85
5th July 2011, 07:42
Hi,
I am trying to use QGalleryQueryRequest to get the photos on the phone but this class works on on the simulator but it did not work for the device and return no errors.
iRequest = new QGalleryQueryRequest(gallery);
connect(iRequest, SIGNAL(resultSetChanged(QGalleryResultSet*)), this, SLOT(resultSetChanged(QGalleryResultSet*)));
iRequest->setRootType(QDocumentGallery::Image);
iRequest->execute();
#if defined (__LOG_FEATURE__)
qDebug()<<"iRequest error ="<< iRequest->error();
#endif
the returned result is not valid.
where is the problem?
I am trying to use QGalleryQueryRequest to get the photos on the phone but this class works on on the simulator but it did not work for the device and return no errors.
iRequest = new QGalleryQueryRequest(gallery);
connect(iRequest, SIGNAL(resultSetChanged(QGalleryResultSet*)), this, SLOT(resultSetChanged(QGalleryResultSet*)));
iRequest->setRootType(QDocumentGallery::Image);
iRequest->execute();
#if defined (__LOG_FEATURE__)
qDebug()<<"iRequest error ="<< iRequest->error();
#endif
the returned result is not valid.
where is the problem?