Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QContactFetchRequest not working on symbian as meego?
mismail last edited by
I am trying to get all the contacts on the device using QContactFetchRequest but it is working on N950 but not working on Symbian.
am i doing something wrong?
ContactManager::ContactManager(QObject *parent) :
connect(&m_contactFetchRequest, SIGNAL(resultsAvailable()), this, SLOT(onResultsAvailable()));
qDebug()<<"error code = "<< m_contactFetchRequest.error();
m_contacts = m_contactFetchRequest.contacts();
I always get the error code = QContactManager::InvalidDetailError
can anybody help?
chriadam last edited by
Sounds like a bug. Does the outcome differ if you manually set a filter in the fetch request? Is m_contacts.count() always zero? Does it differ if you use a contact id fetch request, and then create a filter based on the returned ids, and use a contact fetch request to get contacts after that?
Either way, this is a bug, afaict. Please file a bug on bugreports.qt.nokia.com so that the issue can be tracked and fixed.