[Chinese-commits] [fqterm] 20/34: Add macOS build steps
Boyuan Yang
hosiet-guest at moszumanska.debian.org
Tue Nov 1 06:06:07 UTC 2016
This is an automated email from the git hooks/post-receive script.
hosiet-guest pushed a commit to branch master
in repository fqterm.
commit 0c3eec02ef4aaee7962c82dc61dcede41d09a4a1
Author: Song Li <boltomli at users.noreply.github.com>
Date: Thu Oct 13 15:56:05 2016 +0800
Add macOS build steps
---
README.md | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/README.md b/README.md
index d0d4c63..80cd388 100644
--- a/README.md
+++ b/README.md
@@ -47,6 +47,18 @@ make
sudo make install
```
+在 macOS (Sierra) 中编译建议使用 Qt5 分支,利用 HomeBrew 安装依赖。目前支持并不完善。
+```shell
+brew install openssl qt5
+mkdir build
+cd build
+CMAKE_PREFIX_PATH=/usr/local/opt/qt5/lib/cmake \
+OPENSSL_ROOT_DIR=/usr/local/opt/openssl \
+cmake ../fqterm
+make
+make install
+```
+
## Windows版本
- 在Linux下用MXE交叉编译,运行时错误,可能原因是MXE的Qt缺少语言Codec
- MinGW: 在[SourceForge](http://sourceforge.net/projects/fqterm/files/windows/)上的Windows预编译包是在MinGW下编译的(静态连接的OpenSSL,Qt4,TDM GCC,构建方式请见项目wiki),编译方法如下
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/chinese/fqterm.git
More information about the Chinese-commits
mailing list