tags:

views:

35

answers:

3

I'm making changes to a form in Creator but when I build the changes are not being "refreshed". I've gone so far as to remove every element from the form and get rid of every stylesheet but when I build the project I get the same result; as if I had never made a change at all. What gives? Am I missing something obvious? (obvious to everyone but me.. obviously)

+1  A: 

Most likely cause if that your make procedure is not noticing the changes in the .ui file, and so it is not calling the uic tool. Try to do a make clean to see if it helps, and check your build log to see if uic is being called.

Gianni
A: 

A few suggestions:

  • Perform a make distclean.
  • Use a shadow build directory. Building “inside” the source code is not advised.
  • Check your computer’s clock and the date and time of your files.
andref
A: 

I guess you're using QtCreator 2.0? I found the same strange issue. You have two options:

  • Remove the ui_{the_name_of_design}.h from the project's build dir
  • Make clean or Rebuil All

But the second option even doesn't help with me. By the way that's why is good to use a different build dir than that where the sources are. If some changes don't appear to be applied, just delete the content of build dir, and everything goes fine as well

Cheers

Vladimiroff