How to clean the qt recipe in Yocto

cancel
Showing results for 
Search instead for 
Did you mean: 

How to clean the qt recipe in Yocto

Jump to solution
671 Views
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.

1 Solution
278 Views
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/

View solution in original post

0 Kudos
3 Replies
279 Views
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/

View solution in original post

0 Kudos
278 Views
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, 

278 Views
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 Kudos