Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

QCoreApplication in foreground service

Open
#3,263 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
mobile

Research direction

Start by reproducing the Android foreground-service case with PySide6 and QCoreApplication, then inspect the logcat crash dump described in the issue. Determine whether the service can support QCoreApplication and document the required integration or limitation; the issue names no repository files or tests.

Written by the indexing model from the issue text.

Description

I created a graphical app using PySide6 and QML and deploys it to Android which works fine, I also created foreground services in python-only code and they also work fine, but when I create a foreground service which uses QCoreApplication for some QtCore stuffs like signal and slot and event-loop management, the moment I create the QCoreApplication, the service crashes with a crash dump in log-cat

Can anyone guide me why this is happening and how can i use the Pyside6 and QCoreApplication inside a foreground service?

Thanks

Dominant language
Python
Stars
8.9k
Forks
2k
Avg merge
12h 20m
Merged PRs (30d)
9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from kivy/python-for-android

All issues in kivy/python-for-android

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.