Is it possible to generate a C++ class from a xsd using Qt (without the XSD tool)? Is it possible to generate a C++ class from a xsd using Qt (without the XSD tool)? xml xml

Is it possible to generate a C++ class from a xsd using Qt (without the XSD tool)?


Nice question! You should not worry if Qt has such a feature. You can use CodeSynthesisXSD which is open source. The you can combine the generated classes to your Qt project.


You may want to check CodeSynthesis XSDsee this


You can also use xsd.exe to generate C++ code. It goes with Visual Studio and xsd /language will show which languages do xsd.exe support which includes CPP also.