Important: Please read the Qt Code of Conduct -

Ghost of deleted class wont allow compilation!

  • Hi,

    Apologize if this is a newb question but I got this QT C++ program I added a class to including .cpp + .h files. Afterwords I manually deleted each file from the project and when I compile I get a missing dependency error despite running 'Clean'. So I copied a backup back into the folder and the error persisted. This only went away after renaming the folder the project was in. What am I missing?


  • @Davidm71
    Run qmake on the project from a menu if you change filenames.

Log in to reply