[Qt-interest] ui file format
Frank Hemer
frank at hemer.org
Wed Aug 26 12:16:30 CEST 2009
On Wednesday 26 August 2009 10:42:45 Jan wrote:
> Hi,
>
> I am creating an app where it is necessary to load a very large ui file.
> It is a questionnaire that is designed with Qt Designer (so users do not
> need to code anything). I was wondering if it might be a good idea to
> introduce something like a binary ui format (similar to ts files vs qm
> files in Linguist) in order to load the ui file faster through QUiLoader.
> Before I post a feature request I would like to ask here if this would
> make any sense to anyone here?
Yes it would - at least for me - as my App loads many parts of its gui via
QUiLoader and the perfomance bottleneck with this approach clearly is the
widget creation part by QUiLoader.
Note that for your suggested approach it is neccessary to create the binary
*.ui files during runtime meaning the 'compiler' should preferably be
callable via an API.
Frank
More information about the Qt-interest-old
mailing list