Problem in rebuild/build/clean in Qt Creator
-
So I'm having linking error with new files I added to our big project. I think it must be something that is not cleaned in the project, but my files are not rebuilded it all, I have to manually delete all of them.
I found the following difference between the Makefile.debug of one of my colleagues and mine.
Mine:
distclean: clean -$(DEL_FILE) .qmake.stash debug/lib.a -$(DEL_FILE) $(DESTDIR_TARGET) -$(DEL_FILE) Makefile.Debug
Colleague(The one that works):
distclean: clean -$(DEL_FILE) debug/lib.a -$(DEL_FILE) $(DESTDIR_TARGET) -$(DEL_FILE) Makefile.Debug
So I supose I have to have the same MakeFile result after the qmake. How can I adjust it?
-
@leonardo-M-B The Makefile is created when you run
qmake
against your PRO file. -
@leonardo-M-B I guess your Qt Creator version could be newer than the one of your colleagues because .qmake.stash is available . Your distclean might be even better since it deletes .qmake.stash as well. No worries about the difference.
make distclean simply deletes everything in the build dir.
yours is even cleaner.