Here are some of my tips, feel free to ignore them :
- The problems you have need to be addressed by just using the correct includes, and refactoring the whole code.
- Doxygen has an option to generate the includes for each file. You will see that almost-everything-includes-almost-everything on your project.
- You can also generate UML diagrams to understand the project "from above". This will help you the refactoring.
- The components of the application should be stand alone. This will will help the debugging, as each component cannot be debugged on it's own, on small test cases (other small applcations)
- The directory structure is very hard to comprehend.
- I still an unsure how to rebuild the whole application as release, or debug, as there are a lot of sub-projects. Should I change them all to "release"? (how about including a $SOURCE_ROOT/config.pri on each sub project?)
- You have classes with mixed targets: that handle configuration and also GUI. Again, this is bad practice, as you cannot unit-test those classes, not take them outside of the projects.
Bookmarks