Is it possible to customize the UI compiler used in Qt widgets?
-
Hi,
Recently my firm started wanting to create UIs and define all the actions, triggers etc via a configuration file. The more I think about it, the more I feel myself re-inventing the wheel. Qt already presents us with the ability to create UI and store them as XML files which the UI compiler converts into a ui_somename file. Now I can't change the requirements, so the configuration format would be different and would be much more rich in details about code flow.
Hence, I was wondering if I could just maybe do something along the lines of inheriting the existing UI compiler classes and using those to maybe reduce my workload and re-use existing code which brings me to my question, is it possible to customize the UI compiler and if so, any links for how it can be done (I found nothing).
-
Hi,
Recently my firm started wanting to create UIs and define all the actions, triggers etc via a configuration file. The more I think about it, the more I feel myself re-inventing the wheel. Qt already presents us with the ability to create UI and store them as XML files which the UI compiler converts into a ui_somename file. Now I can't change the requirements, so the configuration format would be different and would be much more rich in details about code flow.
Hence, I was wondering if I could just maybe do something along the lines of inheriting the existing UI compiler classes and using those to maybe reduce my workload and re-use existing code which brings me to my question, is it possible to customize the UI compiler and if so, any links for how it can be done (I found nothing).
@Ankit-Jain Since Qt is open source you can simply take a look at the source code.