Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Run Qt Console Application In background (as service) On Android X86
narayanan.krish last edited by
I've created a Qt console application using Qt 5.12.7 for Android X86. I'm using Android android-ndk-r20b. As per (https://www.kdab.com/qt-android-create-android-service-using-qt/), I'm trying to convert this application to run as a service on Android automatically on startup. I've added a broadcastreceiver and made necessary changes to androidmanifest.xml. I've added a qDebug() in main.cpp and a Log in broadcastreceiver. When I reboot the system, I'm able to view only the Log added in broadcastreceiver but not able to view the qDebug added in main.cpp. Can someone please let me know where i'm going wrong. Any help is highly appreciated.
Attached sample codes for your reference :