diff --git a/Code/Wrappers/QtWidget/CMakeLists.txt b/Code/Wrappers/QtWidget/CMakeLists.txt
index 59ee9df970d7807529f2829059637549e9790003..ed87df5cabebe61b663e228487003e1024b85e0c 100644
--- a/Code/Wrappers/QtWidget/CMakeLists.txt
+++ b/Code/Wrappers/QtWidget/CMakeLists.txt
@@ -23,6 +23,7 @@ set( WrappersQtWidget_MOC_HDR
        itkQtProgressBar.h
        otbWrapperQtWidgetFilenameParameter.h
        otbQtLogOutput.h
+       otbWrapperQtWidgetDirectoryParameter.h
        otbWrapperQtWidgetSimpleProgressReport.h
       )