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

How to transform (compile) a JSON to create a Qt Widgets ui form



  • Is there a a way to transform a JSON schema file to a Qt ui form? (using QFormBuilder or QUiLoader perhaps?) In turn, the form should allow -- through manual form input -- the creation of JSON file "instances" as specified by the original JSON schema.

    Searching the web, I found a tool -- json-editor -- that accomplishes our intended purpose but in the form of JSON -> JavaScript -> HTML Form -> JSON which is obviously not native to Qt and we want something Qt native.

    Please help.


  • Lifetime Qt Champion

    You have to write it on your own. There is no json descrption for the ui file available - only the ui format (=xml)


Log in to reply