Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED}mainwindow.ui not refreshing
QtWS25 Last Chance

[SOLVED}mainwindow.ui not refreshing

Scheduled Pinned Locked Moved General and Desktop
7 Posts 4 Posters 5.7k Views
  • 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 Offline
    A Offline
    alok9871
    wrote on last edited by
    #1

    Hi

    I am in a fix. I have been working on Qt for some time and it has never been a problem updating the widgets in the mainwindow.ui . But since today, I am not able to see the changes in my Main Window when i make the changes in the mainwindow.ui. I see the corresponding changes in my ui_mainwindow.h. but not in the GUI. Please help.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Sam
      wrote on last edited by
      #2

      Try to clean, run-qmake and build your project.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        alok9871
        wrote on last edited by
        #3

        Hi Sam..Already tired that many times. Not Helping

        1 Reply Last reply
        0
        • A Offline
          A Offline
          alok9871
          wrote on last edited by
          #4

          Alright..Solved..My ui_Mainwindow.h in the project folder was not getting updated but the one in the debug folder did. So a little copy paste and replace worked.

          1 Reply Last reply
          0
          • Q Offline
            Q Offline
            qxoz
            wrote on last edited by
            #5

            Then try delete manually all ( ui_*.h ), ( .o ) and ( moc_ ) files.
            edit:
            i am late with answer, never mind :)

            1 Reply Last reply
            0
            • A Offline
              A Offline
              alok9871
              wrote on last edited by
              #6

              After like almost 2 weeks now..i found out the real problem. In the project menu, I had checked shadow build. Once I unchecked it, It was all fine.

              1 Reply Last reply
              1
              • T Offline
                T Offline
                tiger0998
                wrote on last edited by
                #7
                This post is deleted!
                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