Intermittent UIC related compile failures with CMake 3.18 on Windows
With the following setup, in many compile runs, some ui_*.h
files are not found, i.e. UIC is not run:
- Windows 10
- MSVC 2019
- Qt 5.15
- CMake 3.18
Sometimes, regenerating the project, switching between release/debug types and full solution rebuilds actually yield a success, but I haven't been able to figure out any pattern.
Not all ui_*.h
files are missing (the build results in an incomplete OF that works, but is without the DataControl plugin), however I also couldn't make out what makes the failing ones special. The following ones 'tend' to fail:
ui_QtMaterialDialogUi.h
ui_lightWidget.h
With CMake 3.14 (everything else unchanged), the issues do not seem to appear.
This behavior occurs both on my machine and on the machine of one of our students.