<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[QContactFetchRequest not working on symbian as meego?]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">I am trying to get all the contacts on the device using QContactFetchRequest but it is working on N950 but not working on Symbian.<br />
am i doing something wrong?<br />
@<br />
ContactManager::ContactManager(QObject *parent) :<br />
QContactManager(parent)<br />
{<br />
connect(&amp;m_contactFetchRequest, SIGNAL(resultsAvailable()), this, SLOT(onResultsAvailable()));<br />
}<br />
void ContactManager::fetchContacts()<br />
{<br />
m_contactFetchRequest.setManager(this);<br />
m_contactFetchRequest.start();<br />
}<br />
void ContactManager::onResultsAvailable()<br />
{<br />
#ifdef <strong>LOG_FEATURE</strong><br />
qDebug()&lt;&lt;"void ContactManager::onResultsAvailable()";<br />
qDebug()&lt;&lt;"error code = "&lt;&lt; m_contactFetchRequest.error();<br />
#endif<br />
if(m_contactFetchRequest.error()== QContactManager::NoError){<br />
m_contacts = m_contactFetchRequest.contacts();<br />
emit contactsUpdated(m_contacts.count());<br />
}<br />
}<br />
@</p>
<p dir="auto">I always get the error code = QContactManager::InvalidDetailError</p>
<p dir="auto">can anybody help?</p>
]]></description><link>https://forum.qt.io/topic/10702/qcontactfetchrequest-not-working-on-symbian-as-meego</link><generator>RSS for Node</generator><lastBuildDate>Wed, 28 Oct 2026 18:24:46 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/10702.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 24 Oct 2011 22:47:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QContactFetchRequest not working on symbian as meego? on Mon, 24 Oct 2011 23:30:23 GMT]]></title><description><![CDATA[<p dir="auto">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?</p>
<p dir="auto">Either way, this is a bug, afaict.  Please file a bug on <a href="http://bugreports.qt.nokia.com" target="_blank" rel="noopener noreferrer nofollow ugc">bugreports.qt.nokia.com</a> so that the issue can be tracked and fixed.</p>
<p dir="auto">Cheers,<br />
Chris.</p>
]]></description><link>https://forum.qt.io/post/114286</link><guid isPermaLink="true">https://forum.qt.io/post/114286</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Mon, 24 Oct 2011 23:30:23 GMT</pubDate></item></channel></rss>