[Interest] Qt cross compile issue on pkg-config

Konstantin Tokarev annulen at yandex.ru
Wed Sep 20 17:50:58 CEST 2017



20.09.2017, 18:48, "Thiago Macieira" <thiago.macieira at intel.com>:
> On quarta-feira, 20 de setembro de 2017 01:59:27 PDT nus1998 wrote:
>>  I wonder is there a way to use 3rd libraries by pkg-config but not change
>>  the compile path?
>
> Set PKG_CONFIG_PATH, not the sysroot.

If pkg-config files contain paths relative to sysroot, sysroot needs to be set;
if they are relative to host file system, PKG_CONFIG_PATH should be used.

>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-- 
Regards,
Konstantin



More information about the Interest mailing list