[Development] qtwayland on i.mx6

Nichols Andy Andy.Nichols at digia.com
Tue Jan 8 16:17:39 CET 2013


On Jan 8, 2013, at 3:53 PM, Keller Alexander-B42067 <B42067 at freescale.com<mailto:B42067 at freescale.com>>
 wrote:

I have tried to your solution, but it did not work. I have created a pkgconfig file for wayland-egl. (I attached the pkgconfig file in the email) However, when configured qtwayland it did not look for the pkgconfig. Is qtwayland supposed to automatically search for the pkgconfig or do I export some kind of variable?


You are cross compiling here, and from the looks of your config log, your sysroot is located at: /home/alexander/qtfilesystem

If that's not the case, then you need to be using "-sysroot <path-to-your-ltib-install>/rootfs -no-gcc-sysroot" as described by the iMX6 mkspec

In addition to that, you need to be setting the pkg-config environment variables when cross compiling with pkg-config as well.

export PKG_CONFIG_SYSROOT_DIR=<sysroot dir>
export PKG_CONFIG_PATH=<sysroot dir>/usr/lib/pkgconfig

That way when pkg-config is used, its not using your system configs, and also appending the correct prefixes to use files within your sysroot

With that being said, I'm surprised you were able to compile as much of Qt 5 as you have without having set the above things up, so it's possible that other things either didn't built but could have.

Hope that helps,
--
Andy Nichols
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130108/3782768b/attachment.html>


More information about the Development mailing list