>However, qbs.architectures is not yet evaluated at the time the probe is
executed.

> Is there a way to get the required information at this early stage?

Hi. Most likelly, you need to store your qbs.architecture to a temporary
property:

YourProbe {
    // Inputs
    property string myArchitecture: qbs.architecture
    configure: {
        // HERE YOU CAN GET ACCESS TO THE LOCAL 'myArchitecture' property.
    }
}

If I'm understanding correctly.

BR,
Denis

чт, 30 янв. 2020 г. в 13:01, Leon Buckel <leon.buc...@clausmark.com>:

> Hi all,
>
>
>
> I’m running conan from a probe to get all required dependencies for the
> build and to be able to directly include the generated qbs file into the
> project.
>
> For the windows build I need to know whether to request the package for 64
> or 32 bit. However, qbs.architectures is not yet evaluated at the time the
> probe is executed.
>
> Is there a way to get the required information at this early stage?
>
>
>
> Kind Regards,
>
> Leon
> _______________________________________________
> Qbs mailing list
> Qbs@qt-project.org
> https://lists.qt-project.org/listinfo/qbs
>
_______________________________________________
Qbs mailing list
Qbs@qt-project.org
https://lists.qt-project.org/listinfo/qbs

Reply via email to