HomePhabricator
Diffusion MITK a578ff5ff700

Do not include uic generated file in header

Description

Do not include uic generated file in header

QmitkLevelWindowWidget.h included ui_QmitkLevelWindowWidget.h. This is a file generated by QT's uic. And it is not right to include it in the header. An application that includes QmitkLevelWindowWidget.h fails to compile. A corect way is to do forward declaration in the header and include the generated header in corresponding cpp file. Please see the commit for more details, it is standard way to use uic generated headers, and is already used in many mitk headers already.

Signed-off-by: Sukhraj Singh <sukhraj.singh01@stryker.com>

Details

Provenance
SSinghAuthored on Aug 2 2023, 1:10 PM
kislinskPushed on Oct 4 2023, 10:44 AM
Parents
rMITKa754b053db12: v2023.04
Branches
Unknown
Tags
Unknown