Re: [Qbs] Library- and Include-Probe for msys GCC on the example of the protobuf module

2021-08-05 Thread Иван Комиссаров
Sorry for the long response. The idea is that Qbs will use custom parser of .pc files - this allows us to work with dependencies between .pc files and convert them to deps between qbs modules which is not possible via pkg-config tool API. So you don’t really need pkg-config binary to be present

Re: [Qbs] Library- and Include-Probe for msys GCC on the example of the protobuf module

2021-07-21 Thread Björn Schäpers
Thanks for the response. This is fine for me. And yes msys provides .pc files, but that leaves me with another problem, at least when used from the QtCreator. I only have pkg-config from my 64 bit system in the path, an thus when compiling for 32 bit the wrong libraries are picked up. Regard

Re: [Qbs] Library- and Include-Probe for msys GCC on the example of the protobuf module

2021-07-20 Thread Иван Комиссаров
You will get more feedback once I’ll be back from vacation ^^ Your assumption that it should work out if the box is correct. However, it should not use probes, but pkg-config instead (I assume, msys provides correct .pc files). I am currently working on the feature to implement this . https://

[Qbs] Library- and Include-Probe for msys GCC on the example of the protobuf module

2021-07-20 Thread Björn Schäpers
Hi there, my setup is msys2 gcc in 64 and 32 bit, a from msys installed protobuf, and a self compiled qbs. The protobuf module does not find the header or the libraries, it seems the search path is just empty, and for the libraries it looks for the wrong files. It searches protobuf.lib, but th