Static build of Qt5

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Static build of Qt5

1,544 Views
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 Kudos
Reply
1 Reply

1,355 Views
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 Kudos
Reply