shofstetter
shofstetter

Reputation: 254

How do I deploy a Python PyQt5 Application to an embedded Linux?

I've written a Python3 application which uses PyQt5 for the GUI, it runs fine on every desktop system. Now I would like to run this on an embedded linux (specifically: Yocto BSP) which is delivered by the hardware manufacturer. Since there's no PyQt5 but a qt5 and python3 package running on the BSP, I would like to (somehow) make a standalone executable of the application. Plus I'm not experienced with writing bitbake recipes and creating a custom BSP and have not found any existing PyQt5 recipes.

What I've tried so far (and did not succeed):

Now what's the best approach to let a python/pyqt5 application run on an embedded linux system with very limited packages?

Upvotes: 6

Views: 2646

Answers (2)

yoctotutor.com
yoctotutor.com

Reputation: 5521

The meta-qt5 layer provides a recipe for python-pyqt5.

Upvotes: 1

BBear
BBear

Reputation: 11

First you should get the meta of qt5: https://github.com/meta-qt5/meta-qt5 Then modify the local.con and you-image.bb to make the qt5 can be compiled into the image.

Upvotes: 0

Related Questions