Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How can I make the Qt Creator auto-update the ui header file ?
Forum Updated to NodeBB v4.3 + New Features

How can I make the Qt Creator auto-update the ui header file ?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 3 Posters 753 Views 1 Watching
  • 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.
  • MihanM Offline
    MihanM Offline
    Mihan
    wrote on last edited by
    #1

    Hi.
    I want to make the Qt Creator auto-update the ui header file when I change something in the designer.
    I remember that it can do it but it isn't in linux.

    jsulmJ J.HilkJ 2 Replies Last reply
    0
    • MihanM Mihan

      Hi.
      I want to make the Qt Creator auto-update the ui header file when I change something in the designer.
      I remember that it can do it but it isn't in linux.

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Mihan UI header file is generated when you build, so just build after changing the UI

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

      1 Reply Last reply
      0
      • MihanM Mihan

        Hi.
        I want to make the Qt Creator auto-update the ui header file when I change something in the designer.
        I remember that it can do it but it isn't in linux.

        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #3

        @Mihan IIRC, rerunning qmake (if you use that build system) should be enough. As the UIC needs to run before qmake can do its job.


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        1 Reply Last reply
        0
        • MihanM Offline
          MihanM Offline
          Mihan
          wrote on last edited by
          #4

          @J-Hilk @jsulm Thanks
          But It seems that I must reload(or reopen) the cpp file so that it uses the new ui header file

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved