I understand that PyQt5 can be installed from apt-get, but I believe this version of PyQt5 use a pre-compiled Qt which is built around the X Server/Window. I need to build PyQt5 with a Frame Buffer/EGLFS-based Qt, so believe I will need to build Qt manually, and then build PyQt5 manually based on that Qt installation?
Is my logic here correct? If so, is the process for doing so as follows:
- 1. Cross-compile Qt with EGLFS option (using x64 Ubuntu in my case), burning the modified Raspbian (Lite in my case) image to SD card.
- 2. With the modified Raspbian (Lite) image running on the RPi2/3, build PyQt5 from source. The PyQt5 build should recognise and use the manually built and cross-compiled Qt?
- 3. Now when I run a PyQt5-based .py file on the RPi2/3, the graphics will display directly on the Frame Buffer without the need for an X Server/Window?