[Qbs] Failed build the project with QBS 1.22.1
Björn Schäpers
qt-maillist at hazardy.de
Mon May 2 22:02:31 CEST 2022
Yes.
Am 02.05.2022 um 18:27 schrieb Карелин Павел:
> I am using the construct:
>
> Product {
> name: "SharedLib"
>
> property var exportIncludePaths: [
> "./",
> "./shared",
> ]
>
> Export {
> Depends { name: "cpp" }
> cpp.includePaths: product.exportIncludePaths
> }
> }
>
> I got this recipe here in the mailing list.. Perhaps this is your advice
> Christian (I don’t remember exactly now).
> What construct should I use now? Like this?
>
> cpp.includePaths [
> "./",
> "./shared",
> ];
>
> Export {
> Depends { name: "cpp" }
> cpp.includePaths: [exportingProduct.cpp.includePaths]
> }
>
> --
> Pavel
>
>
> 02.05.2022 10:59, Christian Kandeler пишет:
>> On 4/29/22 17:27, Карелин Павел wrote:
>>> [ ... ]
>>> Now the compiler does not see the header file "shared/list.h" from the
>>> SharedLib dependency.
>>> How to fix the problem?
>>>
>> You are likely using "product" in SharedLib's Export item where
>> "exportingProduct" should be used.
>>
>>
>> Christian
>>
>> _______________________________________________
>> Qbs mailing list
>> Qbs at qt-project.org
>> https://lists.qt-project.org/listinfo/qbs
>
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> https://lists.qt-project.org/listinfo/qbs
More information about the Qbs
mailing list