The pathes that qmake returns are defined at compile time of qt4-native. As all
recipes have their own sysroot now it cannot know the correct path anymore.
But cmake queries qmake for the binary path, which will return the wrong path.
For me it worked to set QT_BINARY_DIR in the recipe using qt4 explicitly.
Cmake will then search this directory for moc, rcc, etc. instead of the path
returned by qmake.
EXTRA_OECMAKE_append = " -DQT_BINARY_DIR=${RECIPE_SYSROOT_NATIVE}/usr/bin"
Regards
Raphael Freudiger
> On 02/28/2018 06:33 PM, Måns Zigher wrote:
>
> This is some legacy the plane is to remove it shortly. Regarding patches, I am
> still not sure what the problem is since this occured when moving to rocko.
> If any
> ideas that can point me in the right direction I can supply patches.
>
> Br
> Mans Zigher
>
> On Feb 28, 2018 17:23, "Alexander Kanavin" <
> [email protected]> wrote:
>
> > On 02/22/2018 01:04 PM, Måns Zigher wrote:
> >
> >> This solved my problem I still couldn't figure out if the qt4-native
> >> is actually broken or if this is the way it should work now that each
> >> recipe have it's own sysroot.
> >>
> >
> > Do you have a Qt5 transition plan? meta-qt4 is not maintained or
> > tested regularly anymore, as there is no upstream support. If it
> > breaks, patches welcome.
> >
> > Alex
> >
> --
> _______________________________________________
> Openembedded-devel mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel