[Chinese-commits] [fqterm] 36/76: Add how to build in Windows

Boyuan Yang hosiet-guest at moszumanska.debian.org
Thu Oct 27 03:16:59 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 7bac665695fb0d2a0435d820016829ce2e80e209
Author: Iru Dog <mytbk920423 at gmail.com>
Date:   Tue Jun 10 16:13:21 2014 +0800

    Add how to build in Windows
---
 README.md | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index ad243cf..fba7df7 100644
--- a/README.md
+++ b/README.md
@@ -59,5 +59,13 @@ sudo make install
 Windows版本
 ==============
 - 在Linux下用MXE交叉编译,运行时错误,可能原因是MXE的Qt缺少语言Codec
-- MinGW: 正常编译及运行
+- MinGW: 正常编译及运行,编译方法如下  
+```
+REM 假设源码在C:\fqterm, OpenSSL在C:\openssl, Qt在C:\Qt\4.8.6.static
+mkdir build
+cd build
+cmake -G "MinGW Makefiles" -DOPENSSL_ROOT_DIR=C:\openssl -DCMAKE_CXX_FLAGS=-mwindows -DCMAKE_BUILD_TYPE=Release -DQT_QMAKE_EXECUTABLE=C:\Qt\4.8.6.static\bin\qmake.exe C:\fqterm
+mingw32-make
+REM 生成的fqterm.exe即为程序文件
+```
 - MSVC: 未测试

-- 
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