AnsweredAssumed Answered

Yocto: Qt links to wrong sysroots

Question asked by Pradeep Kumar Yadav on Nov 30, 2017

Hi 

I have working with yocto to generate the recipe for bluebox mini. I have the application that uses qt4 and for that I have written a recipe. Everything goes fine e.g. cmake, make etc but when it links to qt4 it links to wrong sysroots: This is what it shows:

 

/Yocto_EAR2.0/QorIQ-SDK-V2.0-20160527-yocto/build_ls2084abbmini/tmp/sysroots/x86_64-linux/usr/lib/libQtGui.so: error adding symbols: File in wrong format 

 

it should rather links to

/Yocto_EAR2.0/QorIQ-SDK-V2.0-20160527-yocto/build_ls2084abbmini/tmp/sysroots/ls2084abbmini/usr/lib/libQtGui.so:

 

Any fix for that?

 

Pradeep

Outcomes