Raspbian Buster + PySide2 + LxQt
In questa pagina trovate l’immagine di Raspbian Buster, con le librerie PySide2 preinstallate, che utilizziamo nell’articolo sul termostato touchscreen. L’ambiente desktop è LXQt, invece del vecchio LXDE. L’immagine è stata prodotta su un Raspberry Pi 3B+, ma dovrebbe funzionare correttamente anche sui RaspberryPi 3 e sui RaspberryPi 2.
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.001
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.002
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.003
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.004
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.005
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.006
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.007
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.008
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.009
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.010
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.011
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.012
Se non volete scaricarvi tutta l’immagine, e preferite installare solo le librerie, potete trovare qui le Qt5:
http://www.zorbaproject.org/raspberry/buster-lxqt/qt5.zip
e qui le PySide2:
http://www.zorbaproject.org/raspberry/buster-lxqt/pyside2.zip
Scompattati i file zip, potete installarli con il comando
Affinché l’installazione dei pacchetti abbia successo, bisogna avere già un sistema Raspbian Buster, che si può ottenere usando questo semplice script (grazie a nickfox-taterli):
Semplicemente, si modificano i repository da stretch a buster e si aggiorna il sistema.
Se si vuole usare uno schermo PiTFT di Adafruit, bisogna usare una versione modificata dello script ufficiale, reperibile con i comandi
Questo a causa dell’attuale mancanza del pacchetto tslib nei repository di Buster.
English
Here’s a working image of Raspbian Buster, with PySide2 libraries preinstalled. LXQt is used as Desktop Environment instead of the old LXDE. This image has been built on a RaspberryPi 3B+, but it should work fine also on RaspberryPi3 and RaspberryPi2.
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.001
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.002
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.003
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.004
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.005
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.006
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.007
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.008
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.009
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.010
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.011
http://www.zorbaproject.org/raspberry/buster-lxqt/rpi3b+buster.zip.012
If you don’t want to download the entire image, and prefer to just install the libraries, you can find Qt5 here:
http://www.zorbaproject.org/raspberry/buster-lxqt/qt5.zip
and PySide2 here:
http://www.zorbaproject.org/raspberry/buster-lxqt/pyside2.zip
After unzipping these files, you can install all the packages running this command:
Please take note that it’s only possible to install these packages if you’re already running a Raspbian Buster. You can get Buster using this simple script (thanks to nickfox-taterli):
Basically, you just switch repositories from stretch to buster, and then upgrade the entire system.
If you want to use an Adafruit PiTFT touchscreen, you’ll need to use a version of the install script different from the official one. You can get it running these commands:
This is needed because actually there are no packages for tslib in Buster repository.