Skip to content

[FEATURE] Migration to Python/C++ Package #134

@Alexhuszagh

Description

@Alexhuszagh

To apply OS-specific packages, as well as simplify distribution, it might be useful to migrate this to a Python package. This conflicts slightly with the existing design of this project, which currently compiles stylesheets into QT resource files using templates (and efficiently compressing them), while a Python package would require a configuration file format. that can be passed to compile it at runtime.

These could then be installed as C++ packages (such as using vcpkg and conan) or Python packages (pip) and have OS-level patches applied. Currently, there is no good way to configure the actual way the project is rendered on different OSes, since the stylesheet is created prior to being applied.

Fortunately, these two are not very different. A few steps that could make this easier would be:

  1. Add in support for a YAML configuration.
  2. Allow defaults based on existing settings.

We can use Python features as well to add support for the extensions, like the Advanced Docking System or overrides for system icons.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    c++The C++ API for Qt.packagingIssues related to packaging the project.pythonThe Python API for Qt.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions