how to build qt only in yocto

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

how to build qt only in yocto

1,885 次查看
jianwang
Contributor I

I have done the bitbake fsl-image-qt5 already;

But now I have to modify some files in QT5.5.1,  and then  I want to rebuild the QT;

So I run the command "bitbake fsl-image-qt5 -c compile",  but nothing was built; It seems that yocto thinks that there is no need to rerun the compile;

If I run "bitbake fsl-image-qt5 -c compile -f", I got the same result as above;

So,could anyone tell me how to deal with this problem?

Is there another way to build qt, or command I could use?

I am new to yocto, any advice  appreciated;

标签 (3)
0 项奖励
回复
1 回复

1,486 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Jian Wang,

Yocto is focused on distribution of customized linux images rather than on development. That’s why it does not track changes on the sources. If you do make any changes you would need to make a clean prior to baking again so you make sure that all files are compiled again; otherwise, if binaries exists for a specific file these won’t be rerun.

You can so a clean with the command:

$ bitbake -c cleanall <IMAGE_OR_RECIPE>

Regards,

0 项奖励
回复