[Development] Issues with QFormBuilder - All properties modified & Invalid UI

Friedemann Kleint Friedemann.Kleint at qt.io
Mon Oct 21 12:41:10 CEST 2019


 > I am trying to use the QFormBuilder to load and later save a ".ui" file.
 > The issue is that the generated file shows all properties as modified 
but the code just open the file and save it with a new name.

QFormBuilder writes out all properties since plain Qt properties do not 
store whether they were modified. The book-keeping required for this 
only exists in Qt Designer.

Some unsupported properties/flags may then be encountered.

 > Is there a better approach to save QWidgets as ".ui" from code?

No, unfortunately.

Regards, Friedemann

Friedemann Kleint
The Qt Company GmbH

More information about the Development mailing list