In my project I have a file called distribute.qbs that installs the Qt libraries alongside my application, for distribution purposes. Since a while, I'm seeing the following warning reported by Qt Creator, since the Qt profile also references the Qt (core) library:
warning: Duplicate source file '/home/bjorn/Qt/5.9.7/gcc_64/lib/libQt5Core.so.5.9.7'.
/home/bjorn/projects/tiled/dist/distribute.qbs:53: warning: First occurrence is here.
/home/bjorn/.config/QtProject/qtcreator/qbs/1.12.1/profiles/qtc_Desktop__46bfd1da/modules/Qt/core/core.qbs:464: warning: Next occurrence is here.
In core.qbs there is the following snippet involved in the warning:
You can see the contents of my distribute.qbs on GitHub: