Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Add Contact tu ContactBook



  • Hi all,

    i have and application where i have to add contact in the contact Book.

    I have try to found an example and reed the documetnation but i not have understand what it said.

    I have Understand that there are more Type of contact dettail but when try to set dettail :

    @QContactName name;
    name.setFirstName("Name");
    QContactEmailAddress email;
    email.setEmailAddress("Mail");
    QContactPhoneNumber phone;
    phone.setNumber("Number");@

    return an arror : linkandposlink failed

    other this i not have understand wath i have to do whit this contactDettail. I think that have to set the general QContactDettail and then set the QContact. And at the and save all...

    It's right?

    regards


Log in to reply