Add mechanism to check Ui generated classes don't have the same name #6759
Labels
Framework
Issues and pull requests related to components in the Framework
High Priority
An issue or pull request that if not addressed is severe enough to postponse a release.
Maintenance
Unassigned issues to be addressed in the next maintenance period.
Milestone
It was recently discovered, [5911], that when generating classes with the Qt designer it is possible to have name clashes that are not picked up by the compiler. This can cause runtime failures when the incorrect classes are used within a custom dialog.
It should be possible to use CMake to generate an articifial cpp file that simply includes all of the ui_* headers to check whether it compiles. If not, there is a name clash and and something needs to be changed.
This would be better than discovering this at runtime.
Keywords: Maintenance
The text was updated successfully, but these errors were encountered: