Skip to content

QCoreApplication in foreground service #3263

Description

@AshkanV

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions