新酷音專案協作
安裝中文
Ubuntu 15.10
安裝新酷音
sudo apt-get install ibus-chewing
安裝完成後將輸入法切換為ibus,並且登出再登入
安裝新酷音編輯器
Prerequisites
安裝相依套件
sudo apt-get install libchewing3-dev
sudo apt-get install libqt5webkit5-dev
sudo apt-get install cmake
sudo apt-get install git
sudo apt-get install qt4-dev-tools
Build
git clone https://github.com/chewing/chewing-editor.git
cd chewing-editor
cmake .
make
Unit Test
./run-test
Issues
cmake 3.0.0 or higher is required
gocreating@ubuntu:~/chewing-editor$ cmake .
CMake Error at CMakeLists.txt:22 (cmake_minimum_required):
CMake 3.0.0 or higher is required. You are running version 2.8.12.2
-- Configuring incomplete, errors occurred!
Solution1
sudo add-apt-repository ppa:george-edison55/cmake-3.x
sudo apt-get update
sudo apt-get upgrade
sudo apt-get remove cmake
sudo apt-get install cmake
Reference
1. xx ↩