PDA

View Full Version : QT not updating my code when compiling



vinothrajendran
4th May 2015, 11:16
Hi,
I am using Qt 4.7.4... It seems from today morning whatever new code i write in my .cpp file, they not being updated when compiling...But no error is shown.. I restarted my CPU, still no effect.....I even put return statement in the very first line of my function,still it proceeds to next line after that....

ANy help is appreciated....

wysota
4th May 2015, 13:30
Make sure you are editing the right file and not some copy.

ChrisW67
4th May 2015, 21:18
Make sure your system clock is correct and do a clean, full rebuild. If your make utility thinks the source is older than the compiled object then it will not rebuild it.

vinothrajendran
5th May 2015, 10:11
Thanks for ur reply.......Actually problem went when i deleted previous built .exe file and rebuilt the project.....and yes for the previous built, i changed the system time 2 days ahead for some testing purpose and that might be source of problem...........

d_stranz
6th May 2015, 17:11
Where's that double face palm clip when you need it?

wysota
6th May 2015, 17:24
Here you go :)

11165