From 848342ebcd32b7b3fed9ab93df69c4311d594c93 Mon Sep 17 00:00:00 2001
From: tbaudier <thomas.baudier@creatis.insa-lyon.fr>
Date: Mon, 22 Aug 2016 13:21:56 +0200
Subject: [PATCH] Debug nrrd and hdr IO with static compilation

Conflicts:
	vv/vv.pro
It Exists in static-Qt5 branhc but not in master branch
---
 common/clitkIO.cxx | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/common/clitkIO.cxx b/common/clitkIO.cxx
index 9481d3a..284afa9 100644
--- a/common/clitkIO.cxx
+++ b/common/clitkIO.cxx
@@ -52,7 +52,9 @@
 #include <itkStimulateImageIOFactory.h>
 #include <itkTIFFImageIOFactory.h>
 #include <itkVTKImageIOFactory.h>
-#include <itkNiftiImageIO.h>
+#include <itkNiftiImageIOFactory.h>
+#include <itkNrrdImageIOFactory.h>
+#include <itkImageIOFactory.h>
 
 //--------------------------------------------------------------------
 // Register factories
@@ -98,5 +100,7 @@ void clitk::RegisterClitkFactories()
   itk::StimulateImageIOFactory::RegisterOneFactory();
   itk::TIFFImageIOFactory::RegisterOneFactory();
   itk::VTKImageIOFactory::RegisterOneFactory();
+  itk::NiftiImageIOFactory::RegisterOneFactory();
+  itk::NrrdImageIOFactory::RegisterOneFactory();
 } ////
 
-- 
2.47.1