Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Is it possible to customize the UI compiler used in Qt widgets?

    General and Desktop
    2
    2
    64
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Ankit.Jain last edited by

      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).

      jsulm 1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion @Ankit.Jain last edited by

        @Ankit-Jain Since Qt is open source you can simply take a look at the source code.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 1
        • First post
          Last post