Details
-
Bug
-
Status: Closed
-
P2: Important
-
Resolution: Done
-
1.12.1
-
None
-
-
7b5349d182bcb4c9d7a3d1501768b91c9fa93fe9 (qbs/qbs/1.12)
Description
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:
Group {
files: [Qt["core"].libFilePath]
filesAreTargets: true
fileTags: ["dynamiclibrary"]
}
You can see the contents of my distribute.qbs on GitHub: