Important: Please read the Qt Code of Conduct -

How to create an Android foreground service for a Qt application?

  • Basically my app has no main GUI and it runs on the desktop as a background thead. I send simple messages to the user via popups using the system tray icon. While I can compile and run my app on Android, it shows an empty activity and the background thread gets killed once I leave the activity.

    Is there a way to run my background thread as a foreground activity on android?
    Is there a way to avoid the empty activity since I am not using qml or qwidgets? I managed to put a native android activity but the one created by Qt interferes with mine by hiding the action bar and blocking the back button.

  • hola,tengo el mismo problema y no he encontrado como resolver este problema, pido una ayudita.
    un saludo

  • The information and the code that was attached to this "bug report" can be useful:

Log in to reply