Hey,

thanks, that solved my problem! Should probably added to the qt5 layer?

Best


On Tue, Apr 25, 2017 at 9:51 PM, Martin Kelly <mke...@xevo.com> wrote:

> On 04/25/2017 07:41 AM, Malte Thiel wrote:
>
>> Hello,
>>
>> I am trying to compile a Qt 5.8 application using the master branch
>> of meta-qt5/recipes-qt/qt5/ (For 5.8 support).
>>
>> Within my recipe I have:
>>
>> RDEPENDS_${PN} = "libgcc glibc qtbase [...] qtdeclarative"
>>
>> My recipe (and therefore the application) compiles fine. However, in
>> do_rootfs I get the following error:
>>
>> ------------------------------------------------------------
>> ERROR: my-image-1.0-r0 do_rootfs: Error executing a python function in
>> exec_python_func() autogenerated:
>>
>> [...]
>>
>> Exception: FileNotFoundError: [Errno 2] No such file or directory:
>> '/home/sec/sdk/build/0101301/tmp/sysroots/sm2-imx6/pkgdata/r
>> untime-reverse/qtdeclarative-plugins'
>>
>> ERROR: my-image-1.0-r0 do_rootfs: Function failed: license_create_manifest
>> ------------------------------------------------------------
>>
>> It's true, there is no file 'qtdeclarative-plugins'.
>> However, qtdeclarative RPROVIDES qtdeclarative-plugins, so I expect that
>> this file should be generated somehow?
>>
>> Any help is appreciated
>>
>>
>>
>>
> Hi,
>
> I actually hit this issue as well. I discovered that qtdeclarative-plugins
> wasn't being generated because it was empty, and by default, bitbake won't
> generate an empty package. You can fix it by adding:
>
> ALLOW_EMPTY_${PN}-plugins = "1"
>
> to the qtdeclarative_git.bb file. That said, I'm not sure if this is the
> right fix, or if there is some other reason why qtdeclarative-plugins is
> not being generated.
>
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to