[Qbs] Use debug information files in rules

Christian Kandeler christian.kandeler at qt.io
Wed Dec 21 17:46:28 CET 2016

On 12/21/2016 04:56 PM, Jicquel Dorian wrote:
> I tried a rule with "debuginfo" for input but there is a conflict
> between rules :
> :-1: erreur : Conflicting rules for producing
> D:/path/build-toolsplugin-Release/qtc_Qt_5_7_0_b48a8df6-release/project.qtc-Qt-5-7-0-b48a8df6.88d1d133/project.pdb
> [debuginfo]
>   while trying to apply:
> C:/QtEnterprise/Tools/QtCreator/share/qtcreator/qbs/share/qbs/modules/cpp/windows-msvc.qbs:198:18
> [obj] -> [debuginfo]
>   was already defined in:
> C:/QtEnterprise/Tools/QtCreator/share/qtcreator/qbs/share/qbs/modules/cpp/windows-msvc.qbs:234:18
> [obj] -> [debuginfo]
> My product has a "dynamiclibrary" type and imho it shouldn't end in the
> applicationLinker Rule in windows-msvc.qbs .

It would be helpful to see the project file. In particular, what the
inputs and outputs of your rule are.

> I also tried to create a file group with the path to the pdb files but i
> have a warning before generation as the file doesn't exists and after
> generatin an assert is triggered telling me that files in group can't be
> used in executor .

The first message is expected and the second one you should probably
quote verbatim, as I don't know what it could refer to,


More information about the Qbs mailing list