Hi,

Yes, your right, I used the supplied vCard under
demos/qmlcontacts/contents/example.vcf in the Qt Mobility source tree.
But not only, I also try to use an empty file.vcf and nothing appear on it.

Thanks

Thomas

-----------------------------------------------------
Thomas PABST
[email protected]


2011/3/4 Kevin Wu Won <[email protected]>

> Hi Thomas,
>
> You may have run into a bug, so I've filed one here:
> http://bugreports.qt.nokia.com/browse/QTMOBILITY-1376
>
> I could reproduce it when I tried with the supplied vCard under
> demos/qmlcontacts/contents/example.vcf in the Qt Mobility source tree.
>
> Can you confirm that this was the .vcf file on which you experienced the
> problem?  If so, the following commit should fix it, and will appear in Qt
> Mobility 1.2.
>
>
> http://scm.dev.nokia.troll.no/projects/qtmobility/repos/qtm-contacts/commits/26c5d9f012e514509499e02db4b48de8ba2715f3
>
>
> Thanks,
>
> Kevin.
>
>
>  -----Original Message-----
>>> From: qt-mobility-feedback-
>>> [email protected] [mailto:qt-mobility-
>>> [email protected]] On Behalf Of
>>> ext Thomas PABST
>>> Sent: Thursday, 3 March 2011 10:48 PM
>>> To: [email protected]
>>> Subject: [Qt-mobility-feedback] ModelContact export module
>>>
>>> Hi,
>>>
>>> I'm trying to export contacts into a vcard file, but it seems doesn't
>>> work yet.
>>>
>>> First I'm loading a list of contacts with these lines.
>>>
>>>
>>>
>>>
>>>        property string urlVCard: "../contents/example.vcf"
>>>
>>>
>>>        ContactModel {
>>>                id: contactModel
>>>
>>>                Component.onCompleted: {
>>>                    if (manager == "memory")
>>>
>>> contactModel.importContacts(Qt.resolvedUrl(urlVCard));
>>>                }
>>>
>>>            } // End of ContactModel  id: contacts
>>>
>>>
>>>
>>> After added or removed some contacts, I want to save my modelContact
>>> into the example.vcf file.
>>> All works excepted this line.
>>>
>>>
>>>
>>>        contactModel.exportContacts(Qt.resolvedUrl(urlVCard));
>>>
>>>
>>>
>>> My example.vcf is broken after that.
>>>
>>> Am I using the exportContact() correctly ? Maybe it's a bug, but I
>>> didn't fine a problem close to mine on http://bugreports.qt.nokia.com.
>>>
>>> Thanks
>>>
>>>
>>>
>>> -----------------------------------------------------
>>> Thomas PABST
>>> [email protected]
>>>
>>
_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback

Reply via email to