How to clean the qt recipe in Yocto

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to clean the qt recipe in Yocto

ソリューションへジャンプ
3,182件の閲覧回数
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,789件の閲覧回数
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,790件の閲覧回数
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,789件の閲覧回数
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,789件の閲覧回数
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 件の賞賛