安装 LiteIDE

    先要安装Go语言,详细情况请参看http://golang.org/doc/install.html.
    在安装LiteIDE之前一定要先安装Go语言。

    Windows

    下载压缩包并解压至c:\盘

    下载压缩包并解压到/usr/local或者是$HOME

    Windows

    Qt4

    Qt5.6

    1. > git clone https://github.com/visualfc/liteide.git
    2. > set QTDIR=C:\Qt\Qt5.6.2\5.6\mingw49_32
    3. > cd liteide/build
    4. > update_pkg.cmd
    5. > build_windows_mingw.cmd
    6. > deploy_windows_qt5.6.cmd

    Mac OS X / macOS

    Qt 4

    1. $ git clone https://github.com/visualfc/liteide.git
    2. $ export QTDIR=$HOME/QtSDK/Desktop/Qt/484/gcc #如果Qt是通过brew安装,输入: export QTDIR=/usr/local/Cellar/qt/4.8.6
    3. $ cd liteide/build
    4. $ ./build_maoos_qt4.sh
    5. $ ./deploy_macos_qt4.sh
    6. $ open liteide/LiteIDE.app

    Qt 5 sdk install

    Qt 5 brew install

    使用 brew 安装 Qt. (比如使用 brew install qt. 其他版本如 qt@5.6 ).

    1. $ git clone https://github.com/visualfc/liteide.git
    2. $ export QTDIR=/usr/local/Cellar/qt/5.8.0_2 # or modify accordingly for qt@5.5 and qt@5.7
    3. $ ./update_pkg.sh
    4. $ ./build_macos_qt5.sh
    5. $ open liteide/LiteIDE.app

    警告! 使用 brew 安装的 Qt rpath 不正确,不要使用 deploy 脚本进行打包。

    Raspbian Jessie

    1. $ sudo apt-get update
    2. $ git clone https://github.com/visualfc/liteide.git
    3. $ cd liteide/build
    4. $ ./update_pkg.sh
    5. $ QTDIR=/usr ./build_linux.sh
    6. The build process from a µSD card takes approx. 105 minutes on a RPi 2.
    7. ## Run it: ##
    8. $ cd ~/liteide/build/liteide/bin

    补充: 根据自己的环境设置好 QTDIR (在Windows上还需要设置)