Skip to content

WIP Turn Repository into a value type and a singleton

This will allow sharing the repository instance between C++ and QML, and it will allow turning Repository into a Q_GADGET and exporting it to QML directly.

This retains backward compatibility with existing code in API, ABI and behavior, with one little exception: the handling of custom search paths. Due to this now being a singleton they impact all instances and cannot be reset anymore by just recreating the Repository.

Would that be acceptable?

Documentation, tests, etc still missing, this is mainly about feedback for the general approach so far.

Merge request reports