[oe] [meta-qt5] What is needed to build a recipe with CMake?

Nick D'Ademo nickdademo at gmail.com
Mon Oct 13 23:45:05 UTC 2014


Thanks Anders! "inherit cmake_qt5" was the missing piece of the puzzle!


On Tue, Oct 14, 2014 at 8:43 AM, Anders Darander <anders at chargestorm.se>
wrote:

> * Nick D'Ademo <nickdademo at gmail.com> [141013 23:10]:
> >    Are you using Qmake or Cmake to build? (I suspect Qmake).
> >    My source code actually has no .PRO file.
>
> Hm, when you state it like that ;)
> I might very well have changed it to not use cmake... KDSoap is shipping
> multiple build systems etc, and as long as I can get it to build...
>
> However, Martin gave you a hint to look at meta-webos-port for more
> recipes using cmake.
>
> Have you inherited cmake_qt5? That class ought to set everything up for
> you.
>
> Cheers,
> Anders
>
> >    On Mon, Oct 13, 2014 at 6:10 PM, Anders Darander
> >    <[1]anders at chargestorm.se> wrote:
>
> >      Hi,
> >      * Nick D'Ademo <[2]nickdademo at gmail.com> [141013 01:50]:
> >      > Has anyone had any success at all building a Qt5-based recipe with
> >      CMake?
> >      Yes, I've at least got a local recipe here building KDSoap, which
> >      uses
> >      cmake.
> >      > On Wed, Oct 8, 2014 at 1:41 PM, Nick D'Ademo
> >      <[3]nickdademo at gmail.com> wrote:
> >      > > Looks like the *qmake* binary cannot be found.
> >      > > The relevant parts of the recipe are as follows:
> >      > > *DEPENDS = "qtbase"*
> >      Just as you, I've got hte DEPENDS lińe above in my recipe. However,
> >      I've
> >      also the following line (situated after the DEPENDS +=...)
> >      inherit qmake5
> >      That line should set up all the necessary path's in order to find
> >      qmake.
> >      Let us know if this helps you.
> >      Cheers,
> >      Anders
> >      --
> >      Abstainer, n.:
> >              A weak person who yields to the temptation of denying
> >      himself a
> >              pleasure.
> >                      -- Ambrose Bierce, "The Devil's Dictionary"
> >      --
> >      _______________________________________________
> >      Openembedded-devel mailing list
> >      [4]Openembedded-devel at lists.openembedded.org
> >      [5]
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
> > References
>
> >    1. mailto:anders at chargestorm.se
> >    2. mailto:nickdademo at gmail.com
> >    3. mailto:nickdademo at gmail.com
> >    4. mailto:Openembedded-devel at lists.openembedded.org
> >    5. http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
> --
> Anders Darander
> ChargeStorm AB          Tel: +46 702 44 84 36
> Hospitalsgatan 8        Email: anders at chargestorm.se
> 602 27 Norrköping       Web: www.chargestorm.se
>



More information about the Openembedded-devel mailing list