OTB without Qgis

Hi,

I would like to build OTB without Qgis’ descriptors. Is there a flag in cmake to do so ?

The flag “Module_OTBQgis” does not seem to be good one.

Thank you for any help or suggestions.

Yes I’ve notived in the past that this is missing. I’ve opened an issue about that: https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/issues/1911

Have you tried with Module_OTBQgis and OTB_BUILD_DEFAULT_MODULES off ? It works for me.

Cédric

@poughov thanks you for your fast answer,
Is a workaround could be to remove the Modules/Wrappers/QGIS directory before configure ? or it’s too brutal ?

@cedric.traizet Actually, I need python’s wrappers and OTB_BUILD_DEFAULT_MODULES seem to remove them…

OTB_BUILD_DEFAULT_MODULES to off removes almost everything, and you need to re enable the modules you want… For the Python wrapper it is Module_OTBSWIGWrapper.