在树莓派中安装 QtVirtualkeyboard?

Install QtVirtualkeyboard in raspberry-pi?

我尝试在 Raspberry-pi 中实现 Qt-Virtualkeyboard,使用 但我没有找到它的前缀路径,bin,插件等文件夹,实际上整个 Qt 文件夹不存在.

中我使用了官方提供的Qt二进制文件,但不兼容RPI架构,所以你必须编译它:

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