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. Unknown module(s) in QT: dbus

Unknown module(s) in QT: dbus

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 2 Posters 2.4k Views
  • 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.
  • FerniF Offline
    FerniF Offline
    Ferni
    wrote on last edited by
    #1

    Hi everyone,

    I'm working in a previous project that I made in Qt creator for linux. Now I'd like to port it to Android but I'm not sure if I could use all the code already made.

    First, I configured Qt for Android and made some hello world, that went almost without problems. Then, I opened my project and add the Android's kit and when I'm trying to buildI receive one error: ERROR: Unknown module(s) in QT: dbus

    I can't understand where and why I have this error. Could you help me. I've already searched in internet but without success.

    Thanks in advanced,
    Fernando

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      AFAIK, it's because D-Bus is not officially available on Android so the module is not built for that platform.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • FerniF Offline
        FerniF Offline
        Ferni
        wrote on last edited by
        #3

        Hi! It's me again. I came back to my porting project and still having the same issue. I found this (https://codereview.qt-project.org/#/c/106966/), where it says that Qt D-Bus is disabled by default for Android. I'd like to enable it and see what happend. Do you know how to do it?

        I've also found that Android uses Binder instead of D-Bus. Does Qt have a module for it?

        Many thanks!!
        Fernando

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Rebuild Qt base with DBus enabled like suggested in the submission you linked.

          AFAIK there's currently no module dedicated to binder but that something you should double check on the Android development mailing list You'll find there Qt's Android port developers/maintainers. This forum is more user oriented.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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