How to clean the qt recipe in Yocto

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to clean the qt recipe in Yocto

跳至解决方案
3,172 次查看
sujay1
Contributor V

I have recently modified a qt application to incorporate screen rotation of 90 degrees, However the requirement is now changed to 270 degrees and hence I need to clean my qt recipe before compiling the qt base, 

I have tried 

bitbake -c clean qt5 

but I get an error saying 

ERROR: Nothing PROVIDES 'qt5'

this is the path to the bb file I had to modify to compile qtbase

~/yocto_4_9_88_qt/imx-yocto-bsp/sources/meta-qt5/recipes-qt/qt5

the modified file was qtbase_git.bb

this is the link where I got the patch 

[meta-qt5] qtbase: Fix the qt5 linuxfb ratation problem - Patchwork 

Is there any way I can clean only qtbase?

I don't want to disturb any other recipe.

标记 (3)
1 解答
2,779 次查看
sujay1
Contributor V

This issue was solved by creating a patch of the changes made and adding it in the path:

~/yocto_4_9_88_q/imx-yocto-bsp/sources/meta-qt5/recipes-qt/qt5/qtbase/

在原帖中查看解决方案

0 项奖励
3 回复数
2,780 次查看
sujay1
Contributor V

This issue was solved by creating a patch of the changes made and adding it in the path:

~/yocto_4_9_88_q/imx-yocto-bsp/sources/meta-qt5/recipes-qt/qt5/qtbase/

0 项奖励
2,779 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Sujay S,

The error is related to “qt5” not being a valid recipe.

From the patch you shared the changes recipe was “qtbase” so you would need to clean and re-run this recipe instead.

I hope this helps!

Regards, 

2,779 次查看
sujay1
Contributor V

Hi Gusarambula,

Thank you for the reply,

Should I run bitbake -c clean qtbase and then

build the rootfs using bitbake fsl-image-qt5-validation-imx

or

should I clean entire rootfs using bitbake -c clean fsl-image-qt5-validation-imx

and then build rootfs?

0 项奖励