Re: [ft] Freetype2-dev package not found when crosscompiling

2016-12-11 Thread Nikolaus Neusser
I have finally found the solution, so i just wanted to share it with you. I had to recompile qmake, since i haven't enabled pkg-config support. After enabling it and recompiling qmake, qmake found freetype2 without any problems. Thanks a lot for your help. Nik Am 06.11.2016 um 12:53 schrieb

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-11-20 Thread suzuki toshiya
Dear Nik, Because I don't have same environment with you, I don't know how qmake will work with such options, so I have no strong recommendations to try. If I lost in the way with qmake, rather than trying some googled result one after another, I will try to find some options to make qmake work

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-11-19 Thread Nikolaus Neusser
Hello, I've been away for a few days but I am still stuck with this problem The following lines in the qt project config file tell that qmake does use pkg-config to look up freetype2. CONFIG += link_pkgconfig PKGCONFIG += freetype2 Any ideas what else I could try or check? Nik -- Diese

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-11-06 Thread suzuki toshiya
Oh, considering that pkg-config returns the module number (the instead of abort), pkg-config works correctly. So qmake might not use pkg-config to detect freetype2. Regards, mpsuzuki Nikolaus Neusser wrote: > Dear mpsuzuki, > > - i updated my host through apg-get update and apt-get upgrade >

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-11-06 Thread Nikolaus Neusser
Dear mpsuzuki, - i updated my host through apg-get update and apt-get upgrade - running: pkg-config --version yields: 0.28 - But running "pkg-config --modversion freetype" still outputs: Unknown keyword 'Libs.private' in

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-11-06 Thread Nikolaus Neusser
According to the man page , 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

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-11-06 Thread suzuki toshiya
Dear Nik, > line>Libs.private: -lz -lpng12 -lz -lm > Unknown keyword 'Libs.private' in > '/home/niki/opt_qt_for_rpi/qt5.6.1-1/sysroot/usr/lib/arm-linux-gnueabihf/pkgconfig/freetype2.pc' > line>Cflags: -I${includedir} > Path position of 'freetype2' is 2 > Adding 'freetype2' to list of known

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-11-06 Thread suzuki toshiya
Dear Lawrence, Thank you for good pointing out. Now I'm afraid that there is a possibility that setting both of PKG_CONFIG_SYSROOT_DIR & PKG_CONFIG_LIBDIR made pkg-config search wrong directory. Something like this. PKG_CONFIG_SYSROOT_DIR=/sysroot/cross-blahblahblah -> pkg-config will search

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-11-06 Thread Nikolaus Neusser
ok, i did the following: - export all variables like before including setting PKG_CONFIG_DEBUG_SPEW - i ran on the host: pkg-config --modversion freetype2 -> Output, see below: Note: An interesting thing i just noticed is: When i run qmake (having set PKG_CONFIG_DEBUG_SPEW) i don't get any

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-11-06 Thread 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 , you have to set the PKG_CONFIG_SYSROOT_DIR environment variable

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-11-06 Thread Nikolaus Neusser
Have you confirmed that it came from freetype2-dev for the target, not from that for the host? If you've confirmed, how did you do that? Good point, no i didn't. Though, i wouldn't know how to confirm that. Have you confirmed that it was caused by a failure from pkg-config query? There is no