sudo apt-get install libssl-dev
sudo apt-get install libglib2.0-dev
sudo apt-get install librsvg2-dev
sudo apt-get install libdbus-1-dev
sudo apt-get install sudo apt-get install libqt5svg5-dev
sudo apt-get install sudo apt-get install libgsettings-qt-dev
sudo apt-get install sudo qttools5-dev
sudo apt-get install fcitx fcitx-libs-dev libxtst-dev devscripts debhelper
sudo apt-get install libgsettings-qt-dev
sudo apt-get install qtdeclarative5-dev qml-module-qtquick-controls
Failed to find “GL/gl.h”
sudo apt-get install mesa-common-dev libglu1-mesa-dev
替换
#include “fcitx-qt/fcitxqtformattedpreedit.h”
为
#include “FcitxQtDBusAddons/fcitxqtformattedpreedit.h”
Inlucde目录添加
/usr/include/FcitxQt5/
打包相关的错误:
debuild找不到:
sudo apt-get install devscripts build-essential lintian
rpm找不到
sudo apt-get install rpm
eu-strip: command not found
apt-get install elfutils
编辑:/etc/ld.so.conf 修改后需要 ldconfig
cmake -DCMAKE_TOOLCHAIN_FILE=$cross_chain_tool_file -DCMAKE_PREFIX_PATH=/lib/x86_64-linux-gnu/cmake/Qt5 -DLD_LIBRARY_PATH=/lib/x86_64-linux-gnu -DUSE_VOICE=ON -DUSEQT5=ON ../../