Install QtVirtualkeyboard in raspberry-pi?

4.2k views Asked by At

I am try to implement Qt-Virtualkeyboard in Raspberry- pi, using PyQt5 - Show virtual keyboard but I did'nt find the prefix path for it, bin, plugin etc folder, actually whole Qt folder doesn't exist.

1

There are 1 answers

3
eyllanesc On BEST ANSWER

In my previous solution I used the Qt binaries officially provided but not compatible with the RPI architecture so you have to compile it:

sudo apt-get update
sudo apt install git build-essential
sudo apt-get install python3-pyqt5 qt5-default qtdeclarative5-dev libqt5svg5-dev qtbase5-private-dev qml-module-qtquick-controls2 qml-module-qtquick-controls qml-module-qt-labs-folderlistmodel
sudo apt-get install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev
git clone -b 5.11 https://github.com/qt/qtvirtualkeyboard.git
cd qtvirtualkeyboard
qmake 
sudo make
sudo make install