Results 1 to 6 of 6

Thread: QT not updating my code when compiling

  1. #1
    Join Date
    Nov 2014
    Posts
    23
    Thanks
    4

    Lightbulb QT not updating my code when compiling

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

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QT not updating my code when compiling

    Make sure you are editing the right file and not some copy.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QT not updating my code when compiling

    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.

  4. #4
    Join Date
    Nov 2014
    Posts
    23
    Thanks
    4

    Default Re: QT not updating my code when compiling

    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...........
    Last edited by vinothrajendran; 5th May 2015 at 10:29.

  5. #5
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: QT not updating my code when compiling

    Where's that double face palm clip when you need it?

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QT not updating my code when compiling

    Here you go

    double-facepalm.jpg
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. The following user says thank you to wysota for this useful post:

    d_stranz (7th May 2015)

Similar Threads

  1. Replies: 2
    Last Post: 9th January 2016, 10:38
  2. Compiling 64-bit Code
    By Atomic_Sheep in forum Qt Programming
    Replies: 1
    Last Post: 22nd April 2013, 10:32
  3. Compiling 4.7 code on 4.2
    By stefan in forum Qt Programming
    Replies: 6
    Last Post: 15th July 2011, 10:46
  4. Problem compiling Qt 4.7.0 code with d3d10.h
    By pogo11 in forum Qt Programming
    Replies: 2
    Last Post: 12th October 2010, 22:20
  5. Compiling QT4 Code using cmake 2.6
    By Serenity in forum Qt Programming
    Replies: 1
    Last Post: 9th November 2008, 19:04

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.