diff --git a/Code/Wrappers/QtWidget/otbWrapperQtWidgetIntParameterFactory.cxx b/Code/Wrappers/QtWidget/otbWrapperQtWidgetIntParameterFactory.cxx
index d455ae79d2880f8d7ccbf3d2196e22a5f5fdaa83..3840d6f60e3d0d554b6f247c2ed06053817fd463 100644
--- a/Code/Wrappers/QtWidget/otbWrapperQtWidgetIntParameterFactory.cxx
+++ b/Code/Wrappers/QtWidget/otbWrapperQtWidgetIntParameterFactory.cxx
@@ -32,13 +32,13 @@ QtWidgetIntParameterFactory::QtWidgetIntParameterFactory()
 QtWidgetIntParameterFactory::~QtWidgetIntParameterFactory()
 {}
 
-static QWidget * QtWidgetIntParameterFactory::CreateQtWidget(Parameter * param)
+QWidget * QtWidgetIntParameterFactory::CreateQtWidget(Parameter * param)
 {
   // Try to cast to int parameter
   IntParameter * intParam = dynamic_cast<IntParameter *>(param);
 
   // Check if dynamic cast succeeds
-  if(param.IsNull())
+  if(!param)
     {
     return 0;
     }
@@ -50,9 +50,9 @@ static QWidget * QtWidgetIntParameterFactory::CreateQtWidget(Parameter * param)
   
   QSpinBox* input = new QSpinBox;
   input->setRange(intParam->GetMinimumValue(), intParam->GetMaximumValue());
-  input->setToolTip(intParam->GetDescription().c_str());
+  input->setToolTip(intParam->GetDescription());
   
-  QString optionID(intParam->GetName().c_str());
+  QString optionID(intParam->GetName());
 
   hLayout->addWidget(input);
   hLayout->addStretch();
@@ -61,3 +61,5 @@ static QWidget * QtWidgetIntParameterFactory::CreateQtWidget(Parameter * param)
   paramHGroup->setLayout(hLayout);
   return paramHGroup;
 }
+}
+}
diff --git a/Code/Wrappers/QtWidget/otbWrapperQtWidgetParameterFactory.cxx b/Code/Wrappers/QtWidget/otbWrapperQtWidgetParameterFactory.cxx
index 4a200434ec82c94243ddb833e43b93a8b51a8618..5914eb16e7cb67702cf4f041ccde3d303129a5cb 100644
--- a/Code/Wrappers/QtWidget/otbWrapperQtWidgetParameterFactory.cxx
+++ b/Code/Wrappers/QtWidget/otbWrapperQtWidgetParameterFactory.cxx
@@ -20,6 +20,7 @@
 
 //#include "otbWrapperQtWidgetNumericalParameterFactory.h"
 #include "otbWrapperQtWidgetEmptyParameterFactory.h"
+#include "otbWrapperQtWidgetIntParameterFactory.h"
 //#include "otbWrapperQtWidgetStringParameterFactory.h"
 //#include "otbWrapperQtWidgetChoiceParameterFactory.h"