Hi, guys.

I’m trying to build my project, but getting this error.

Qt Code:
  1. "Makefile", line 353: warning: duplicate script for target ".obj/Language.o" ignored
  2. "Makefile", line 356: warning: duplicate script for target ".obj/Procedure.o" ignored
To copy to clipboard, switch view to plain text mode 

The truth is, I have several files Language.{cpp,h} and Procedure.{cpp,h} under different directories. And these files are different. And as I understand this conflict causes the above error.

My question is: Is there any way to make qmake handle this issue? Or I will have to rename some of these files in order to avoid name duplication? Is there any way to make qmake create a custom directory structure under OBJECTS_DIR?

Thanks, in advance!