What does this warning mean, “overriding recipe for target”
-
You have
qrt_rc.cpp
duplicated in your .pro file and the build system tries not to compile it twice. -
You have
qrt_rc.cpp
duplicated in your .pro file and the build system tries not to compile it twice.@sierdzio .
I checked. There is no qrt_rc.cpp in my .pro file. And there is no qrt_rc.cpp file in my projects.
It is produced automatically by qt creator when I start to compile the projects. It is in the Build directory.
creator also produces Makefile.Debug file in the Build directory。 In this file,qrt_rc.cpp is invoked twice。
The compiler I use is migw810_32. -
Do you define
RC_FILE
orRES_FILES
anywhere in your .pro? -
@sierdzio thank you. You help me solve the problem.
I don't define RC_FILE or RES_FILES in .pro file.
But I defined the RESOURCES by mistake:
RESOURSES +=
rc.qrc
rc.qrc
How stupid I am. Thank you again.@cq_qt said in What does this warning mean, “overriding recipe for target”:
How stupid I am. Thank you again.
Hey, don't worry. Thanks for sharing your solution, maybe it will help somebody else, too!