Static build of Qt5

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

Static build of Qt5

2,118 次查看
rans
Senior Contributor I

Hello,

We need to build a standalone Qt application, so that the qt5 libraries are linked static.


Is it possible to create static link with Yocto ?

If not - should I use the method described here, and then replace the libraries in yocto's rootfs with the following libraries:

Linking to Static Builds of Qt | Qt 5.8 for Device Creation 

Should this method work ?

Thank you!

ran

0 项奖励
回复
1 回复

1,929 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Ran,

You could use the method on the link as it’s part of Qt’s official documentation, so it should work.

That being said, you can force Yocto to take a specific recipe version or specific dependencies with the VERSION and DEPENDS variables. You could look at the Yocto documentation for this.

I hope this helps!

Regards,

0 项奖励
回复