I am working on a Qt application which has different features bluetooth stack, storage (data model), views, controllers, .. The project architecture is based on an MVC pattern. Nothing fancy or complicated.
The current project has a lot of libraries "subdivision". For instance, there is a library called views which contains QML files. In terms of dependency, there is no reason to have those files in a separate library. We could have them inside the application (.exe) project.
Same for the bluetooth stack, there are different libraries for protocol, stack, commands, clientsprotocol and clientscommands. The 3 first libraries have been used for other projects and almost never change (but they are copy/pasted in each project, there is no common shared library with versionning and so on). Wouldn't it be better to have a single library with subfolders?
EDITED QUESTION: What are the good practices, rules of thumbs or strategies when it comes to splitting a project into libraries?
(Before change: What would you say is a good practice when it comes to split the code into libraries? Should we avoid "splitting" if not necessary ? Or should we divide the project with a "maximum" of libraries?)