Skip to content

Implement Custom IPC Solution #14

@josephcrowell

Description

@josephcrowell

Describe the task

Replace D-Bus with a custom IPC solution combining QLocalSocket / QLocalServer with QDataStream.

It should be done because

Because we want to free ourselves from dependency on systemd/dbus components. They should be an option, not a requirement.

Additional context

Pairing QLocalSocket with QDataStream provides a type-safe, asynchronous mechanism that handles Qt types natively.

It fits our requirements:

  • Lightweight: It is a direct peer-to-peer connection. There is no middleman daemon, zero XML parsing, and no message routing overhead.
  • Asynchronous: Built entirely on top of Qt’s event loop using non-blocking signals and slots (readyRead(), disconnected()).
  • Secure: UNIX domain sockets are restricted by standard file system permissions.

Extra fields

  • I have checked the existing issues
  • I'd like to work on this issue

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions