Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QtContacts Module Error on Android
Qt 6.11 is out! See what's new in the release blog

QtContacts Module Error on Android

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 908 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    elendilm
    wrote on last edited by
    #1

    Qt Version 5.3.1
    I have downloaded from git and compiled QtContacts (qt-pim) successfully for both desktop and android.

    libdeclarative_contacts.so exists in both
    <QtSdk>/5.3/android_armv7/qml/QtContacts/ and
    <QtSdk>/5.3/gcc/qml/QtContacts/

    Changed 'App.pro' to include
    QT += qml quick contacts

    Changed 'main.qml' to include
    import QtContacts 5.0 // Shows 'library at ......' and 'Read typeinfo files successfully'

    Problem:

    1. I can run the desktop app. But Contacts in Desktop doesnt make sense to me so I can't check it.
    2. When compiling for android, the following console message is displayed at app startup -
      module "QtContacts" plugin "declarative_contacts" not found
    3. And why is it not distributed as part of the main QtSdk as QtContacts is a pretty basic necessity?

    Any ideas?..... I have been trying to get rid of the declarative_contacts error for the whole of last night.
    Google doesn't have much on this.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved