<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.raf.cc/index.php?action=history&amp;feed=atom&amp;title=%E5%9F%BA%E4%BA%8EVS2015%E9%9D%99%E6%80%81%E7%BC%96%E8%AF%91Qt_with_openssl</id>
	<title>基于VS2015静态编译Qt with openssl - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.raf.cc/index.php?action=history&amp;feed=atom&amp;title=%E5%9F%BA%E4%BA%8EVS2015%E9%9D%99%E6%80%81%E7%BC%96%E8%AF%91Qt_with_openssl"/>
	<link rel="alternate" type="text/html" href="https://wiki.raf.cc/index.php?title=%E5%9F%BA%E4%BA%8EVS2015%E9%9D%99%E6%80%81%E7%BC%96%E8%AF%91Qt_with_openssl&amp;action=history"/>
	<updated>2026-04-15T18:10:25Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://wiki.raf.cc/index.php?title=%E5%9F%BA%E4%BA%8EVS2015%E9%9D%99%E6%80%81%E7%BC%96%E8%AF%91Qt_with_openssl&amp;diff=376&amp;oldid=prev</id>
		<title>2023年6月29日 (四) 09:07 Admin</title>
		<link rel="alternate" type="text/html" href="https://wiki.raf.cc/index.php?title=%E5%9F%BA%E4%BA%8EVS2015%E9%9D%99%E6%80%81%E7%BC%96%E8%AF%91Qt_with_openssl&amp;diff=376&amp;oldid=prev"/>
		<updated>2023-06-29T09:07:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2023年6月29日 (四) 09:07的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l48&quot;&gt;第48行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第48行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;nmake&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;nmake&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[分类:Qt]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.raf.cc/index.php?title=%E5%9F%BA%E4%BA%8EVS2015%E9%9D%99%E6%80%81%E7%BC%96%E8%AF%91Qt_with_openssl&amp;diff=228&amp;oldid=prev</id>
		<title>2023年3月22日 (三) 07:07 Admin</title>
		<link rel="alternate" type="text/html" href="https://wiki.raf.cc/index.php?title=%E5%9F%BA%E4%BA%8EVS2015%E9%9D%99%E6%80%81%E7%BC%96%E8%AF%91Qt_with_openssl&amp;diff=228&amp;oldid=prev"/>
		<updated>2023-03-22T07:07:32Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==准备工作==&lt;br /&gt;
&lt;br /&gt;
1. openssl 源码，[https://github.com/openssl/openssl 下载地址]&lt;br /&gt;
&lt;br /&gt;
2. qt源码，[http://download.qt.io/official_releases/qt 下载地址]&lt;br /&gt;
&lt;br /&gt;
5.6.3  [https://download.qt.io/new_archive/qt/5.6/5.6.3/single/qt-everywhere-opensource-src-5.6.3.zip 下载地址]&lt;br /&gt;
&lt;br /&gt;
3. ActivePerl 5.26 [https://www.activestate.com/products/perl/downloads/ 下载地址]&lt;br /&gt;
&lt;br /&gt;
4. python2.7, [https://www.python.org/downloads/windows/ 下载地址]&lt;br /&gt;
&lt;br /&gt;
5. ninja [https://github.com/ninja-build/ninja/releases 下载地址]&lt;br /&gt;
&lt;br /&gt;
==编译步骤==&lt;br /&gt;
&lt;br /&gt;
1. 安装python、perl&lt;br /&gt;
&lt;br /&gt;
2. 编译openssl静态库&lt;br /&gt;
&lt;br /&gt;
参考: https://github.com/openssl/openssl/blob/master/NOTES-WINDOWS.md#native-builds-using-visual-c++&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
perl Configure VC-WIN32 no-asm no-shared --prefix=&amp;quot;E:/Qt/OpenSSL&amp;quot;&lt;br /&gt;
nmake&lt;br /&gt;
nmake install &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. 编译qt&lt;br /&gt;
&lt;br /&gt;
3.1 修改qt源码目录下，qtbase\mkspecs\common路径中的&lt;br /&gt;
&lt;br /&gt;
msvc-desktop.conf文件（可以先备份源文件，然后再修改）。&lt;br /&gt;
&lt;br /&gt;
修改前：&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
QMAKE_CFLAGS_RELEASE    = $$QMAKE_CFLAGS_OPTIMIZE -MD&lt;br /&gt;
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_OPTIMIZE -Zi -MD&lt;br /&gt;
QMAKE_CFLAGS_DEBUG      = -Zi -MDd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
修改后（将 MD 修改为 MT，MDd 改为 MTd）：&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
QMAKE_CFLAGS_RELEASE    = $$QMAKE_CFLAGS_OPTIMIZE -MT&lt;br /&gt;
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_OPTIMIZE -Zi -MT&lt;br /&gt;
QMAKE_CFLAGS_DEBUG      = -Zi -MTd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
configure -confirm-license -opensource -debug-and-release -static -static-runtime -accessibility -mp -platform win32-msvc2015 -static -ssl OPENSSL_LIBS=&amp;quot;-llibssl -llibcrypto -lUser32 -lAdvapi32 -lGdi32&amp;quot; -openssl-linked -I C:\Qt\openssl3.1.0\include -L C:\Qt\openssl3.1.0\lib -no-icu -no-sql-sqlite -nomake examples -nomake tests -prefix &amp;quot;C:\Qt\qt5.6.3_static&amp;quot;&lt;br /&gt;
nmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>