I am working on a nokia qt appliation development which uses zxing library.
zxing provides support for decoding both qrcode and data matrix codes.
There are specific directories for qrcode and data matrix libraries but the problem is that both have the files with the same names.
eg: zxing/datamatrix/Version.cpp \
When I include both of the above folders path in .pro SOURCE += variable, i get multiple definition errors because the .o files generated for qrcode are having the same names as that of data matrix files.
And thus i get multiple definition errors.
I have tried using .pri file for and also tried playing around with OBJECTS_DIR qt variable but to no success.
Can anyone please provide any help on this. How to separate these 2, and still be able to use both libraries?