安装 LiteIDE
先要安装Go语言,详细情况请参看http://golang.org/doc/install.html.
在安装LiteIDE之前一定要先安装Go语言。
Windows
下载压缩包并解压至c:\盘
下载压缩包并解压到/usr/local或者是$HOME
Windows
Qt4
Qt5.6
> git clone https://github.com/visualfc/liteide.git
> set QTDIR=C:\Qt\Qt5.6.2\5.6\mingw49_32
> cd liteide/build
> update_pkg.cmd
> build_windows_mingw.cmd
> deploy_windows_qt5.6.cmd
Mac OS X / macOS
Qt 4
$ git clone https://github.com/visualfc/liteide.git
$ export QTDIR=$HOME/QtSDK/Desktop/Qt/484/gcc #如果Qt是通过brew安装,输入: export QTDIR=/usr/local/Cellar/qt/4.8.6
$ cd liteide/build
$ ./build_maoos_qt4.sh
$ ./deploy_macos_qt4.sh
$ open liteide/LiteIDE.app
Qt 5 sdk install
Qt 5 brew install
使用 brew 安装 Qt. (比如使用 brew install qt. 其他版本如 qt@5.6 ).
$ git clone https://github.com/visualfc/liteide.git
$ export QTDIR=/usr/local/Cellar/qt/5.8.0_2 # or modify accordingly for qt@5.5 and qt@5.7
$ ./update_pkg.sh
$ ./build_macos_qt5.sh
$ open liteide/LiteIDE.app
警告! 使用 brew 安装的 Qt rpath 不正确,不要使用 deploy 脚本进行打包。
Raspbian Jessie
$ sudo apt-get update
$ git clone https://github.com/visualfc/liteide.git
$ cd liteide/build
$ ./update_pkg.sh
$ QTDIR=/usr ./build_linux.sh
The build process from a µSD card takes approx. 105 minutes on a RPi 2.
## Run it: ##
$ cd ~/liteide/build/liteide/bin
补充: 根据自己的环境设置好 QTDIR
(在Windows上还需要设置)