[yocto] Building a Qt4-x11 app.

Eric Bénard eric at eukrea.com
Sun Apr 29 12:14:09 PDT 2012


Le Sun, 29 Apr 2012 16:41:17 +0200,
Wolfgang Denk <wd at denx.de> a écrit :

> Dear Daniel,
> 
> In message <CADVYk4SBWkAnU4RL6k2_+1aedbFnfptohKffjGdaK6C2bs-6RQ at mail.gmail.com> you wrote:
> > I wish to run an application developed with QT in a Yocto filesystem.
> > The app should be linked against Qt4-X11 libs. What is the exact work
> > flow to get my app cross compiled on my x86_64 host ?
> > So far I have :
> > -> Build a complete core-image-sato with IPKG as a packaging system.
> > -> Build qt4-x11-free
> > -> Build qt4-tools-nativesdk
> > 
> > Now, I got something called qmake2 in the build directory
> > (sysroot-x86_64) , but it complains about not finding the right qmake
> > specs.
> > I got the feeling I am doing something fundamentally wrong with my
> > setup, can anyone enlighten me ?
> 
> Try building "meta-toolchain-qte" for the cross development tools,
> and "core-image-qte-sdk" for a reasonably complete root file system
> that can also be used for native development when needed.
> 
this won't work for qt4-x11, only for qt4-embedded.

Eric



More information about the yocto mailing list