[oe-users] bb file to use the new qtopia-core libs...

James W. Mills jmills at avionpartners.com
Thu Jan 11 19:13:15 UTC 2007


Michael 'Mickey' Lauer wrote:
> You should add a classes/qt4e.bbclass that deals with setting the
> environment variables. Have a look at qt3e.bbclass and qt4x11.bbclass
> for inspirations.
>   
I will do that.

> Then, look at qmake-base which sets up the most common variables and
> qmake.bbclass which automatically calls qmake for you, if you set S to
> the proper source directory where the .pro file is found.
>   
I notice that qmake-base depends on qmake-native.  Right now, that pulls 
qt3 down and build qmake from there.  It also installs qmake and 
oe-specific  mkspec files.

Do you think I should create qmake4-base and qmake4 classes, and add a 
qmake4-native?  I do not want to "dirty the water" with qt4 variants, 
but I also do not want to completely hose the existing qte/qmake 
environment.

I will go ahead and create the qmake4 chain and begin testing it.  As 
this is my second day to use openembeded, I'm in no rush to check things 
in. :).  I'll figure out where I should post this stuff for 
review/acceptance/whatever...

Thanks again!
~james

> Then your bb file could be as simple as:
>
> DESCRIPTION = "PCU ..."
> SECTION = "?"
> LICENSE = "?"
>
> SRC_URI = "file://pcu-1.0.0.tar.bz2"
> S = "${WORKDIR}/pcu"
>
> inherit qmake qt4e
>
> do_install() {
>         install -d ${D}${bindir}
>         install -m 0755 pcu ${D}${bindir}/pcu
> }
>
> Regards,
>
> :M:
>   





More information about the Openembedded-users mailing list