Qt Contacts

A contact is the digital representation of a person, group, or entity that is stored in a platform-specific manner. A single contact may consist of details that are stored in several different datastores, and that are only relevant in different contexts.

Developers can write platform-independent implementations of a contact manager engine, which may unify one or more platform-specific contact backends. This enables client applications to request contact data from local or remote backends in a platform-independent and datastore-agnostic manner.

Client applications can retrieve, modify, or delete contacts, as well as sort or filter contacts and access them as a list. In addition, they can import and export contacts in vCard format.

Getting Started

To include the definitions of the module's classes, use the following directive:


  #include <QtContacts>

To use the C++ library in your application, add the following configuration option to your .pro file:


  QT += contacts

To use the QML types in your application, add the following import statement to your .qml file:


  import QtContacts 5.0

Guides

References

Examples

  • Qt Quick Contacts List view

    Import contact information from vCard files, select a backend for volatile memory or persistent storage, as well as list, add, edit, and remove contacts.