Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Dynamic Forms from XSD



  • Are there any widgets or other tools that allow me to create input forms dynamically (during run-time) based on xsd files? I need this because some plugins define the input they require through xsd files. Plugins can be added at any time, hence I need to be able to generate input forms based on the xsd file during run-time.


  • Lifetime Qt Champion

    Hi
    Do you mean a XML Schema file ?
    There is nothing that will do that for you but its easy
    to insert edit fields at runtime etc so should not be that bad to build your self.
    I assume input form would be a dialog with some edit fields etc.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    You could take some inspiration from the QUiLoader class


Log in to reply