-
qmake question
Hello
I have a bunch of third party libraries in my project. Some of these have multiple source files with the same name, only in different directories. When I add all sources to a single qmake project, it tries to overwrite the object files (that originate from different directories but have the same name). This happens because $OBJECTS_DIR is equal for all sources.
What am I missing?
Thanks for any help.
-
Re: qmake question
this is known problem of qmake, there are two options:
1. rename file.
2. use another build system, for example CMake.
-
Re: qmake question
Alternatively you could use subdirs. each 3rdparty would be compiled as a static lib and then they would all be linked to the main target(s).