⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

Android Service in same .so file. Qt 5.10+

  • Hello,
    according to this tutorial, I've created a android service in a separate .so file. With the updated version, everything works like a charm with Qt 5.10.1.

    But the service does not get started if I try to use the same .so file approach. Does anybody have hints on that?
    My main.cpp of course inherits QCoreApplication because its the main application. Is it necessary that the class inherits from QtService for properly using android services? If so, how can I implement this?

    I try to use the Android PowerManager to keep the cpu on for a long time, to prevent the app standby.


Log in to reply