diff --git a/include/Utils/textures.h b/include/Utils/textures.h index 422a81f13115304df0f390ce3cefac9df0002cac..7aa2c7910b54eb91da885b2f88e022cf72833a2b 100644 --- a/include/Utils/textures.h +++ b/include/Utils/textures.h @@ -28,10 +28,11 @@ #include "Utils/gl_def.h" #include "Geometry/vector_gen.h" #include -#include -#ifndef WITH_QT -#error "Texture class need Qt for loading images, please recompile CGoGN with Qt support" +#ifdef WITH_QT +#include +//#else +//#error "Texture class need Qt for loading images, please recompile CGoGN with Qt support if necessary" #endif // TODO externaliser le chargement d'image pour enlever la dependance Qt ??