@Alkaris said in Qt Creator keeping old files after deleting a project:
it's already clear what I said in my post. Can't make it any more clearer than what I've already stated in my original post.
You can definitely make it much clearer:
Provide the "unrelated" error messages, verbatim.
Provide the paths of the directories that you deleted.
Provide the path of the Makefile that "shouldn't even be there".
You can obfuscate your project name if you want, but show the directory structure. Why? For one thing, the information in your post was inaccurate: We know that if moc produces a file called moc_X.cpp, it will not produce a file called moc_X.h.
Also, you could have:
Told us how you installed Qt Creator
Provide a screenshot on how you "right-click[ed] on Makefile and selected Open Directory Location"
These are useful because the official version of Qt Creator doesn't show you the project Makefile, and doesn't have a menu item called "Open Directory Location".
Your original post contained ambiguities that you didn't realize. The only people who would have understood your post 100% are people who can read your mind.