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