[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#899382: qt5-qmake: cross wrapper should supply PKG_CONFIG_EXECUTABLE



On Thu, May 24, 2018 at 06:03:54AM +0200, Helmut Grohne wrote:
> > Our triplet-prefixed qmake is a wrapper that calls the native qmake with
> > some arguments. If we configure qmake with prefixed pkg-config path, then
> > the native qmake will call pkg-config corresponding to *its* (native)
> > architecture, not the architecture we are building for.
>
> If I understood the idea correctly, the value gets interpolated into
> some .prf file. Those are installed into architecture-dependent
> locations, so they can vary per architecture despite being text files.
> During cross building, we use the build architecture qmake executable
> and the host architecture .prf files, so this may actually work unless I
> missing something.
>
> Are the .prf files indeed interpolated at build time the way I am
> picturing here? If not, we may need to ask Thiago for a clarification.

Thanks, it looks like you are right.

The pkg-config executable is specified in qmodule.pri, which is generated
on build time and shipped in qt5-qmake.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


Reply to: