<span style="font-family:arial,sans-serif;font-size:13px">Hi, </span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">(This message was previously posted to openembedded-devel, but I got feedback that it might belong here)</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">When I build qtbase using <a href="https://github.com/meta-qt5/meta-qt5" target="_blank">https://github.com/meta-qt5/meta-qt5</a> I get cross compiler badness warnings, it uses some includes from my host machine instead of from sysroot. I have seen this before when cross compiling qt5 manually, and then the fix was to upgrade my host pkgconfig from 0.22 to 0.26 (I didn&#39;t really try the versions in between, just built a more recent version). </div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I did a quick hack by building pkgconfig 0.26 in yocto by simply removing the patches and using upstream vanilla 0.26 and then qtbase builds properly without using host includes. </div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">But it feels kind of strange that a bug like this hasn&#39;t affected any other packages? Has anyone else seen something like this and can shed more light on what&#39;s happening?</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Best Regards,</div><div style="font-family:arial,sans-serif;font-size:13px">Erik</div>