According to the man page <https://linux.die.net/man/1/pkg-config>, you
have to set the PKG_CONFIG_SYSROOT_DIR environment variable to point to
where the includes and libs for the target system are kept, in order to
do cross-compilation.

Yes, i did that, or at least i tried.
I set other variables as well.
But obviously i am doing something wrong.

i export the following variables before running qmake
        sysroot=~/opt_qt_for_rpi/qt5.6.1-1/sysroot
        export PKG_CONFIG_SYSROOT_DIR=${sysroot}
        export PKG_CONFIG_DIR=
        export PKG_CONFIG_DEBUG_SPEW=1
        export 
PKG_CONFIG_LIBDIR=${sysroot}/usr/lib/pkgconfig:${sysroot}/usr/share/pkgconfig
        export PKG_CONFIG_PATH=${sysroot}
export COMPILER_PATH=~/opt_qt_for_rpi/qt5.6.1-1/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin


Nik

Am 06.11.2016 um 08:21 schrieb Lawrence D'Oliveiro:
On Sun, 6 Nov 2016 07:22:35 +0100, Nikolaus Neusser wrote:

All i know is, that the developer of the plugin told
me, that freetype2 is found through pkg-config.
According to the man page <https://linux.die.net/man/1/pkg-config>, you
have to set the PKG_CONFIG_SYSROOT_DIR environment variable to point to
where the includes and libs for the target system are kept, in order to
do cross-compilation.

_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype



_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to